Operating System - HP-UX
1856408 Members
5014 Online
104112 Solutions
New Discussion

MIgration logical volume to distributed

 
Jimmy Aulestia_2
Frequent Advisor

MIgration logical volume to distributed

Is there a procedure for migrate on-line the data from a normal logical volume to distributed logical volume?

Thanks
Jimmy
2 REPLIES 2
Patrick Wallek
Honored Contributor

Re: MIgration logical volume to distributed

No, I don't think you can do an online migration. I believe you have to backup your data, remove and re-create the LV as distributed, and then restore your data.

You *MIGHT* be able to turn on the distributed option via the lvchange command (see the man page for info.) but that will not have any effect on data that is already there.
James R. Ferguson
Acclaimed Contributor

Re: MIgration logical volume to distributed

Hi Jimmy:

To do this properly, you have to backup; 'lvremove', 'lvcreate', 'newfs' and restore your filesystem into the logical volume you want to build a distributed logical volume.

You could force a "partially distributed" logical volume by issuing a 'lvchange -D f' action on the logical volume, although this really means that only new extents that are allocated are spread out in true distributed fashion. See the man pages for 'lvchange' and 'lvcreate' for more information.

Regards!

...JRF...