Operating System - HP-UX
1834346 Members
2205 Online
110066 Solutions
New Discussion

Re: move filesystems from one vg to another

 
Rommel T. Misa_2
Frequent Advisor

move filesystems from one vg to another

Hi All,

Can I move my filesystems from one vg to another? What tools could I use? Thanks.

ROMMEL
4 REPLIES 4
T G Manikandan
Honored Contributor

Re: move filesystems from one vg to another

likid0
Honored Contributor

Re: move filesystems from one vg to another

There is no way you can do this with your apps online. you have to stop them then, You can use any backup/restore tool you have, to copy the data from the lvol on the oldvg to the new lvol on the newvg, some system tools for example tar,cpio,rsync.

There is another way also, where there is no need to copy the data, but you have to deactivate the vgs.Moving one or more physical volumes/lvols into a new volume group:

http://www.hpuxtips.es/?q=node/178
Windows?, no thanks
Ganesan R
Honored Contributor

Re: move filesystems from one vg to another

Hi,

You can copy the entire filesystem instead of move from one vg to another vg and later you can remove the source filesystem.

There are many way you can do this.. few are

dd, cp, tar backup etc..

dd would be fast comparetively.

#dd if=/dev/vgold/lv of=/dev/vgnew/lv bs=1024
Best wishes,

Ganesh.
Rakesh Babu
Occasional Contributor

Re: move filesystems from one vg to another

yes, you can