Migrate_Logical_Volume_To_Another_Disk

Migrate_Logical_Volume_To_Another_Disk

Migrate_Logical_Volume_To_Another_Disk

In this example, we have one Logical Volume(lv0) which belongs from vg0 on physical drive/partition “/dev/sdb1”.

Here we are going to migrate “lv0” to another disk “/dev/sdb2”.

First, we check particular Logical Volume present on which drive. Here we can see it on “/dev/sdb1”.   

 

Now add new disk “/dev/sdb2” in same Volume Group(vg0) with “vgextend” command.

Create mirroring of current Logical Volume to the new disk.

Now remove old disk “/dev/sdb1” and check all configuration on right disk and working properly. No need to un-mount during all activity.  

Check mount pint and data.

Everything is ok.

 

 

Leave a Reply

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