AIX: LVM lowlevel commands to move / migrate 1 single PP

To choose your destination PPnumber you can use the output of `lspv -M hdiskpower14`.

LVM lowlevel commands to move 1 single PP
In case of mirroring allocation problems or the need to free-up 1PP/disk to convert a VG to a BIG-VG you might need to move a single Physical Partition. There are 2 commands (AIX53) that can help you with this: migratelp and lmigratepp.

# lvmstat -l hd1

SYNTAX:
migratelp LVname/LPartnumber[ /Copynumber ] DestPV[/PPartNumber]

EXAMPLE:
$ migratelp moveme2/1 hdisk12

SYNTAX:
lmigratepp -g VGid
-p SourcePVid -n SourcePPnumber
-P DestinationPVid -N DestinationPPnumber

EXAMPLE:
$ lmigratepp -g 00582b6a00004c000000010e514b6f61
-p 00584d2a5e4d8e41 -n 0134
-P 00584d2a14dfdc7e -N 0001

Leave a Comment

Your email address will not be published. Required fields are marked *

CAPTCHA * Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top