Operating System - HP-UX
1833780 Members
2058 Online
110063 Solutions
New Discussion

Volume group not activated after reboot

 
SOLVED
Go to solution
Mark Hoensheid
Advisor

Volume group not activated after reboot

Our D-230 system has 2 Volume Groups, vg00 & vg01. Each mirrored to another disk using Mirror UX. Our system went down and when it came back up the vg01 wasn't mounted, nor can it be mounted? Bad disk and if so, how do I activate the mirrored copy of vg01?

vgchange -a y vg01
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk
/c0t13d0":
The path of the physical volume refers to a device that does not
exist, or is not configured into the kernel.
vgchange: Warning: couldn't query physical volume "/dev/dsk/c0t13d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
vgchange: Couldn't activate volume group "vg01":
Quorum not present, or some physical volume(s) are missing??

Any help would be greatly appreciated...
8 REPLIES 8
John Poff
Honored Contributor

Re: Volume group not activated after reboot

Hi,

It sounds like you might have lost a hard disk or a controller when your system went down. What does 'ioscan -fnC disk' report for that disk?

JP
Mark Hoensheid
Advisor

Re: Volume group not activated after reboot

ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 0 8/0.5.0 sdisk CLAIMED DEVICE SEAGATE ST39173WC
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0
disk 1 8/0.8.0 sdisk CLAIMED DEVICE SEAGATE ST39175LC
/dev/dsk/c0t8d0 /dev/rdsk/c0t8d0
disk 4 8/0.15.0 sdisk CLAIMED DEVICE SEAGATE ST318436LC
/dev/dsk/c0t15d0 /dev/rdsk/c0t15d0
disk 2 8/16/5.2.0 sdisk CLAIMED DEVICE TOSHIBA CD-ROM XM-5701T
A
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0

8/0.15.0 is the mirrored disk to the one that is missing...
S.K. Chan
Honored Contributor
Solution

Re: Volume group not activated after reboot

Try to activate it by escaping the quorum check like so ..
# vgchange -a y -q n /dev/vg01
Jeff Schussele
Honored Contributor

Re: Volume group not activated after reboot

Hi Mark,

Sure does look like you've lost c0t13d0.
If you HAVE to get this up run

vgchange -q n -a y /dev/vg01

This will force it to ignore quorum. But get that PV replaced, because now you have no mirror & vg01 has a single point of failure.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Mark Hoensheid
Advisor

Re: Volume group not activated after reboot

It worked.... Thanks to all for your help.
Once I get a new disk, what's the best way to re-sync the disks and get the mirroring going again?
S.K. Chan
Honored Contributor

Re: Volume group not activated after reboot

It quite straight forward really especially for non-root VG. You would ..
first shutdown the system and install the new disk and when it boots up, interrupt it to got to ISL mode and boot it up in single user mode.
ISL> hpux -is (;0)/stand/vmunix
Then run these .. (cXtXd0 is your newly installed disk).
# pvcreate -f /dev/rdsk/cXtXd0
# vgcfgrestore -n /dev/vg01 /dev/rdsk/cXtXd0
# vgchange -a y /dev/vg01
# vgsync /dev/vg01
# shutdown -r 0
Oh .. I forgot .. make sure /etc/lvmconf/vg01.conf is good before you do anything at all.
Jon Finley
Honored Contributor

Re: Volume group not activated after reboot

The Stratus HP-UX systems that I supported were hot swappable. The D-230's don't provide that ability?

Jon
"Do or do not. There is no try!" - Yoda
Eugeny Brychkov
Honored Contributor

Re: Volume group not activated after reboot

D2xx servers can have only 2 disks in its hot-swap disk bay, which we see in ioscan under Ids 5 and 8. There's one more disk present with Id 15 and that dead disk which should have Id 13, and I believe these two disks (13 and 15) are located in the Jamaica box connected to D-server core I/O SCSI connector. Disks in Jamaica are hot-swappable
Eugeny