Then, the resulting logical volume looks like this:
# lslv -m lv00
lv00:N/A
LP PP1 PV1 PP2 PV2 PP3 PV3
0001 0001 hdisk10 0001 hdisk13
0002 0002 hdisk10 0002 hdisk13
0003 0003 hdisk10 0003 hdisk13
0004 0001 hdisk14 0009 hdisk15
0005 0002 hdisk14 0002 hdisk11
0006 0003 hdisk14 0003 hdisk11
0007 0004 hdisk10 0004 hdisk13
0008 0005 hdisk10 0005 hdisk13
0009 0006 hdisk10 0006 hdisk13
0010 0004 hdisk14 0004 hdisk11
#
The second copy of LP 0004 is now on hdisk15 (DC02).
The command migratelp works in the case of a mirrored LV (2 copies) when moving a physical partition in the mirror copy 2 in the following way:
- Adding mirror copy 3 on the destination physical volume.
- Synchronize the new mirror copy 3.
- Replace mirror copy 2 with mirror copy 3.
The case of a logical volume with 3 mirror copies is considered in a separate article.