1833032 Members
2408 Online
110049 Solutions
New Discussion

Re: pvmove

 
SOLVED
Go to solution
sodapop
Occasional Contributor

pvmove

Hi,

I want to move my lvol on vg00 to vg01. vg00 is residing on the local disk and vg01 on SAN. My question is if I do a pvmove will my lvol automatically be a part of vg01? Thanks in advance.

best regards,
carlo
6 REPLIES 6
Torsten.
Acclaimed Contributor
Solution

Re: pvmove

from the man page

" pvmove - move allocated physical extents from one LVM physical volume to other physical volumes"

physical volumes must be in the same volume group!

Backup your data and restore them to the new lvol.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: pvmove

Note:

Don't move OS core directories like /etc /opt /var ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Siju Vadakkan
Trusted Contributor

Re: pvmove

pvmove is possible only with in the VG only
psreedhar
Frequent Advisor

Re: pvmove

what exactly is your purpose? why you want to move a LV from root volume group?
Anshumali
Esteemed Contributor

Re: pvmove

I hope not..
pvmove uses same code as mirror-ux and only possiblility is to move the extents on the disk in the same VG online.
As your target is different VG, its best to make a backup and restore it there.
Also, excercise caution whenever you decide to use pvmove as incomplete pvmove will result in stale extents.
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
sodapop
Occasional Contributor

Re: pvmove

Hi,

The main purpose is transfer all the data files that are located on an lv on vg00 to a space on SAN but will be on a different vg (e.g. vg01).

best regards,