Example 14 Removing a path to a storage device in RHEL 5.x

#echo offline > /sys/block/sdd/device/state

#echo 1 > /sys/block/sdd/device/delete

#echo offline > /sys/block/sdc/device/state

#echo 1 > /sys/block/sdc/device/delete

#multipath -ll

mpath13 (360060160bf902a00e03cb1bb3c3fe411) dm-4 3PARdata,VV [size=150G][features=0][hwhandler=0][rw]

\_ round-robin 0 [prio=1][active]

\_ 2:0:1:2 sdj 8:144 [active][ready] \_ 3:0:1:2 sdm 8:192 [active][ready]

mpath12 (360060160bf902a00cae2a2a33c3fe411) dm-3 3PARdata,VV [size=200G][features=0][hwhandler=0][rw]

\_ round-robin 0 [prio=1][active]

\_ 2:0:1:1 sdi 8:128 [active][ready] \_ 3:0:1:1 sdl 8:176 [active][ready]

mpath11 (360060160bf902a002ac0388f3c3fe411) dm-2 3PARdata,VV [size=200G][features=0][hwhandler=0][rw]

\_ round-robin 0 [prio=1][active]

\_ 2:0:1:0 sdh 8:112 [active][ready] \_ 3:0:1:0 sdk 8:160 [active][ready]

#

15.Start the migration by using the HP 3PAR Online Import Utility startmigration command. Example 15 Starting migration by using startmigration

>startmigration -migrationid 1411673030253 >SUCCESS: Data transfer started successfully.

Viewing Migration Status

Viewing all Migrations

To view all migrations, use the showmigration command from the HP 3PAR Online Import Utility.

Viewing Migrations for a Selected Source Storage System

To view all migrations for a selected source EMC Storage system, use the showmigration command with the source option from the HP 3PAR Online Import Utility. All migrations for the storage system are displayed.

Viewing a Selected Migration

To view a selected migration, use the showmigration command with the migrationid option from the HP 3PAR Online Import Utility.

Viewing Selected Migration Progress by Volume

To view details for a selected migration by source storage system volume, use the showmigrationdetails command with the migrationid option from the HP 3PAR Online Import Utility.

Online Data Migration with Native device-mapper Multipath

To perform online data migration using RHEL 5.x or RHEL 6.x, follow these steps.

1.Zone the source array to the destination array.

2.Using the HP 3PAR Online Import Utility addsource command, add the source storage system

Online Data Migration with Native device-mapper Multipath 45