1833187 Members
2958 Online
110051 Solutions
New Discussion

Mirror test not working

 
SOLVED
Go to solution
John Peace
Frequent Advisor

Mirror test not working

HP L3000
HPUX11.11i
HP Surestore 2100

I have 4 internal drives. I use Mirror/UX to mirror all 4 to an external 4 drive Surestore 2100. I created the following volume groups.

vg00: 2 Physical volumes
/dev/dsk/c1t2d0
/dev/dsk/c4t0d0 (mirror of c1t2d0)

vg01: 2 Physical volume groups
pvg01a /dev/dsk/c1t0d0
pvg01b /dev/dsk/c4t2d0 (mirror of pvg01a)

vg02: 2 physical volume groups
pvg02a /dev/dsk/c2t0d0
pvg02b /dev/dsk/c4t4d0 (mirror of pvg02a)

vg03: 2 physical volume groups
pvg03a /dev/dsk/c2t2d0
pvg03b /dev/dsk/c4t6d0 (mirror of pvg03a)

I powered down the server and pulled the primary boot disk out. I started system back up,stopped boot and booted from mirror root and the system booted up completely. I could see everything on all my disks. I then shutdown the system and pulled out all of my primary disks. I powered back on, booted from mirror root and the system booted up. However, I could not see anything from vg01,vg02 or vg03. When I do vgdisplay -v vg## all logical volumes (except one on vg01) come back as available/syncd. I created the PV groups and mirror for vg01, vg02, and vg03 in SAM.

What am i missing here?


6 REPLIES 6
BFA6
Respected Contributor

Re: Mirror test not working

Are there any error messages in syslog ?

Are the volume groups activated ?

Regards,

Hilary
Tim D Fulford
Honored Contributor
Solution

Re: Mirror test not working

You have lost quorum

vhchange -a y -q n

Tim
-

Re: Mirror test not working

In order to activate a volume group must be able to acheive quorum (that is > 50% ofthe disks in the volume group must be available)

As your VGs are all two disk VGs, then loss of one disk will prevent quorum, and therefore prevent VG activation.

Its important that this is the case, as otherwise LVM info on disks could become corrupted.

If you *really* want to activate your VG with no quorum, you can do so using 'vgchange -a y -q n vgXX'

And you *could* even set up some custom VG activation in /etc/lvmrc to ensure this happened at boot time as well - but I wouldn't advise it...

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Sanjay_6
Honored Contributor

Re: Mirror test not working

Hi John,

You may need to activate the data vg's manually without quorum.

vgchange -a y -q n /dev/vg_name

And then mount the filesystems,

mount -a

Did your vg's get activated while the system was booted.

Hope this helps.

Regds
John Peace
Frequent Advisor

Re: Mirror test not working

I will test the "quorum" responses later today. I will assign points after my test.

Again, I am just testing to see what I would have to do keep the system going if I was to lose one or more of my primary drives. Thanks for the answers.
John Peace
Frequent Advisor

Re: Mirror test not working

Worked fine. Thanks for all the help..