Operating System - HP-UX
1832646 Members
2740 Online
110043 Solutions
New Discussion

How to "move" bootable vg

 
Paul Wentland
Advisor

How to "move" bootable vg

One of hdd stoped working and I want to "move" the OS on the remaining active hdd to a new VG.

Is this possible, if so how?

I have created a new VG but no lv yet. Please have a look at the attached file.

Any help greatly appreciated.
Paul
4 REPLIES 4
Mark McDonald_2
Trusted Contributor

Re: How to "move" bootable vg

Paul

You can manually create some lv's and copy the data across. However I do not see what you are trying to achieve.

I assume the 2 root disks were mirrored?

Why not simply mirror the lv's on the remaining disk on to one of the others. no need to create vg02.

If you do actually want to move it, it still needs to be vg00, so you must mirror, then remove the original disk.
Torsten.
Acclaimed Contributor

Re: How to "move" bootable vg

One of your 9GB disk is NO_HW, so why not consider to replace it?

However, your other 2 disks are 18GB, so if you mirror the 9GB disk to 18 GB disk you probably use only 9GB of the 18GB drive due to VG configuration limits.

If you want to move vg00 to the 18GB disks, you should use ignite, create a backup and restore it to the "new" disks.

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!   
Avinash20
Honored Contributor

Re: How to "move" bootable vg

I beleive both the disk are mirrored

--- Physical volumes ---
PV Name /dev/dsk/c1t2d0
PV Status unavailable
Total PE 2169
Free PE 1

PV Name /dev/dsk/c2t2d0
PV Status available
Total PE 2169
Free PE 1

Please check the output of

# lvdisplay /dev/vg00/lvol3

If mirror copies is 1, then the disk are mirrored and we could just replace the fault disk.

But am not sure why does the output show

Cur PV 3 <<==
Act PV 2 <<==

Could you post the output of
# strings /etc/lvmtab
# lvdisplay -v /dev/vg00/l*
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Paul Wentland
Advisor

Re: How to "move" bootable vg

Thanks very much for your reply.
What I was going to do is to move the existing bootable 9GB disk to the new 18GB disk without going through backup/restore.

Can I make the new 18GB disk bootable and use dd command to copy the data?

The output of the commands are in an attached file.