Wednesday, 4 January 2012

AIX - LVM - Migrate Logical Volume

Using migratepv command we can migrate lv from PV to PV
If we want to migrate single LV

#migratepv –l testlv hdisk1 hdisk2
After executing above command testlv LV is moved hdisk2.


Using migratepv command we can move full PV data or single LV from one PV to another PV. This is not copy just cut and past method
If we want to migrate data from PV to PV

#migratepv hdisk1 hdisk2
After executing above command hdisk1 data is moved to hdisk2.

No comments:

Post a Comment