Operating System - HP-UX
1753335 Members
5449 Online
108792 Solutions
New Discussion

How to mirror 2 root disks to another 2 disks

 
EU-Admins-UNIX
Regular Advisor

How to mirror 2 root disks to another 2 disks

Hello

 

I have an 11.23 system with 4 internal disks.

 

VG00 has disks disk100 & disk103

VG01 has disks c2t6d0 & c15t6d0

 

All the LVs on both VGs are mirrorred.

 

As you can see in the attachment, the primary root volume spans disk100 & c2t6d0, and the mirror spans disk103 & c15t6d0.

 

My query is this.  Can I be confident the mirror is bootable, or should I re-mirror (is there a process to mirror 2 on 2)?

 

Below is an lvlnboot -v (looks strange and there is an entry for vg09 (SAN disk)).

 

Boot Definitions for Volume Group /dev/vg00:

Physical Volumes belonging in Root Volume Group:

         /dev/disk/disk100 -- Boot Disk

         /dev/disk/disk103 -- Boot Disk

Boot: lvol1     on:      /dev/disk/disk100

                                 /dev/disk/disk103

Root: lvol3     on:      /dev/disk/disk100

                                 /dev/disk/disk103

Swap: lvol2     on:     /dev/disk/disk100

                                 /dev/disk/disk103

Dump: lvol2     on:    /dev/disk/disk100, 0

 

lvlnboot: LIF information corrupt or not present on  "/dev/disk/disk87".

Use the "mkboot" command to initialize the LIF area.

Boot Definitions for Volume Group /dev/vg09:

Physical Volumes belonging in Root Volume Group:

         /dev/disk/disk81

         /dev/disk/disk87 -- Boot Disk

No Boot Logical Volume configured

No Root Logical Volume configured

No Swap Logical Volume configured

No Dump Logical Volume configured

 

Regards

 

Tariq

2 REPLIES 2
Torsten.
Acclaimed Contributor

Re: How to mirror 2 root disks to another 2 disks

>> As you can see in the attachment, the primary root volume spans disk100 & c2t6d0, and the mirror spans disk103 & c15t6d0.

 

 

No, this is wrong.

 

 

disk100 and disk103 are part of vg00

 

c2t6d0 and c15t6d0 are part of vg01.

 

(better use agile device files here!!!)

 

 

disk87 was created with an boot area, but this doesn't realy matter.

 

This is also the reason why it has 1 PE less then the mirror partner.

 

 

 

I wonder why you need so much swap areas???


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: How to mirror 2 root disks to another 2 disks

Regarding the other question (mirror 2 disks to 2 disks):

 

Even if a vg00 (not mirrored yet) has 2 disks, the second is just an expansion to the first. This means only the first is bootable and contains at least lvol1,2 and 3. All other lvols may be on another disk.

 

When mirroring, you make only 1 mirror disk bootable and mirror lvol1,2 and 3.

 

The you lvextend and specify both destination disks, so if the first is full, the second will be used.

 

e.g.

 

lvextend -m 1 /dev/vg00/lvol4 /dev/disk/disk10 /dev/disk/disk11


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!