Operating System - HP-UX
1838108 Members
3396 Online
110124 Solutions
New Discussion

Re: LV Migrate and PV migrate.

 
Vaibhav_6
Advisor

LV Migrate and PV migrate.

what is the process for LV Migrate and PV migrate.
4 REPLIES 4
RAC_1
Honored Contributor

Re: LV Migrate and PV migrate.

Elaborate.
What exactly you want?? Move data between lvs?? between pvs??
There is no substitute to HARDWORK
Devender Khatana
Honored Contributor

Re: LV Migrate and PV migrate.

Hi,

pvmove is used for moving data from one PV to another but within same VG. vgreduce when done will allocate the PE's from that PV to others.

You should have given a bit more detailed information.

HTH,
Devender
Impossible itself mentions "I m possible"
Cem Tugrul
Esteemed Contributor

Re: LV Migrate and PV migrate.

Vaibhav,
i think you need such a kind of doc.

Good Luck,
Our greatest duty in this life is to help others. And please, if you can't
Raj D.
Honored Contributor

Re: LV Migrate and PV migrate.

Hi Vaibhav,

To move data within vg you can use pvmove :
To move all PE.s of lvol5 that are located on PV c0t2d0 to PV c0t3d0 , we can use as follows.

# pvmove -n /dev/vg01/lvol5 /dev/dsk/c0t2d0 /dev/dsk/c0t3d0

Also Check Chapter-16 , page 18,19 of Recovery Hand book , or the above attached file , you will get a clear concept.

Cheers ,
Raj.

" If u think u can , If u think u cannot , - You are always Right . "