Operating System - HP-UX
1827211 Members
2458 Online
109716 Solutions
New Discussion

move lv from one vg to another vg

 
Kate j. Green
Occasional Contributor

move lv from one vg to another vg

How do I move /opt and /var which is on vg00 to vg01 and vg02 respectively. I
can't seem to find the correct command to do this.

Thanks!
2 REPLIES 2
Zhang Zhao gui
Frequent Advisor

Re: move lv from one vg to another vg

I think you need to shutdown to single user mode and
create a lv on vg01 and vg02 respectively. Then you
use cpio or dd command to copy /opt and /var over from
vg00 to the newly created lv on vg01 and vg02 respectively. After that you
can lvremove /var and /opt from vg00. But be careful and make a full fbackup
of vg00 first before you start the above procedure.
Ben Boutalib
Occasional Advisor

Re: move lv from one vg to another vg

There is a very good document step by step in :
www.itrc.hp.com
you choose : knowledge base search
enter your user ID and password.

choose search by document ID instead of search by keyword.

enter this document id : A4733017