Operating System - HP-UX
1833038 Members
2394 Online
110049 Solutions
New Discussion

mirror of vg00 consists of 2 physical disks

 
Clarence Lee
Regular Advisor

mirror of vg00 consists of 2 physical disks

Dear Sirs,currently the vg00 consists 10 logical volume spread across two disk
c0t5d0 and c0t6d0.
Most of them resided at c0t5d0, except lvol2 residing in c0t6d0 and
lvol8 partial in c0t5d0 and c0t6d0.

lvol1 vg00 HFS 48 1 /stand
lvol2 vg00 Swap/Dump 1600 0
lvol3 vg00 VxFS 400 1 /
lvol4 vg00 VxFS 100 1 /home
lvol5 vg00 VxFS 348 1 /opt
lvol6 vg00 VxFS 200 1 /tmp
lvol7 vg00 VxFS 500 1 /usr
lvol8 vg00 VxFS 448 1 /var
lvol9 vg00 Swap 400 0
lvol10 vg00 Swap 1600 0

My aims is perform a mirror for this vg00, but the size of this vg00 is a 4 gb
disc.
With the current lvols it consists more that 4gb, but if i delete lvol9 and
lvol10, it only have about 3644mb for vg00, which a 4gb could house it.

Now how should I going to realign vg00 to a single disk of a 4gb disk, by
using mirror/ux. Is there a possibility of doing that ?
Your advise please.
Regards,

3 REPLIES 3
Torsten.
Acclaimed Contributor

Re: mirror of vg00 consists of 2 physical disks

You should first "draw a picture" about your current layout by running

# vgdisplay -v vg00
# pvdisplay -v /dev/dsk/c0t5d0
# pvdisplay -v /dev/dsk/c0t6d0

Maybe you can move extends around with pvmove, but you may also consider to backup the system with ignite and restore it to a single disk first.

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!   
Pete Randall
Outstanding Contributor

Re: mirror of vg00 consists of 2 physical disks

Where did you find a 4GB disk nowadays? What I would do is replace the disk with something larger. You'll be hard pressed to find anything smaller than 8GB and they shouldn't be very expensive. Then do an Ignite make_tape_recovery backup of your system and use that to restore onto the larger disks. Then you can mirror to your heart's content.


Pete

Pete
Frank_W
Frequent Advisor

Re: mirror of vg00 consists of 2 physical disks

Hi,

another thing you have to look at is:
lvol1, lvol2 and lvol3 in vg00 have to be contiguous,
It could be difficult to find the space to pvmove them.

I would also prefer to use ignite.