1829061 Members
2373 Online
109986 Solutions
New Discussion

vg00 problems

 
Brian Pyle
Frequent Advisor

vg00 problems

I have a new rx server with hpux 11i v2 installed. I mirrored the boot disk, but when I split the mirror I got an error relating to a bad super block. I removed the logical volume and was attempting to rebuild, but now I get an error everytime I try to use this disk. I've done an ioscan -nfC disk and the disk shows up. I even did a dd on it, and it read/writes. I moved my lvmtab and attempted to recreate with vgscan -v -a and now I've lost vg00?? Help

Verification of unique LVM disk id on each disk in the volume group
/dev/vg00 failed.

Thanx In Advance

Brian Pyle
Follow The Path With Heart
5 REPLIES 5
TwoProc
Honored Contributor

Re: vg00 problems

Brian, a disk that squirrelly could be just bad. Doesn't match with what you're saying about being able to dd in and out of it though. I think to rule out the disk, I'd try a different disk and see if it goes away. Be sure and look that your scsi lines are properly terminated. Without more information - I'm thinking you've got a bad disk that's marginal, which is the worst kind to troubleshoot.
We are the people our parents warned us about --Jimmy Buffett
Julio Yamawaki
Esteemed Contributor

Re: vg00 problems

Brian,

What about trying a pvcreate -f in this disk again?
This will re-create all LVM structures and probably re-construct your super block.

Good luck.
Brian Pyle
Frequent Advisor

Re: vg00 problems

I did replace it with a differant disk, but still ran into problems, so I put the old one back in. I did a pvcreate -f after replacing it, and this in fact worked, but I still get errors when trying to include this disk in the vg. A dd did read and write, and my ioscans always come up claimed?

TIA

Brian
Follow The Path With Heart
Brian Pyle
Frequent Advisor

Re: vg00 problems

I received some help from an HP Engineer. He inquired about whether this was a mirror boot disk. It in fact was... or was supposed to be. Here are the recomendations he gave me. I've awarded points for your attempts to solve this.

Thanx Brian Pyle

1) The three partitions namely EFI, HPUX, and HP service partition need to be
re-created.
# vi /tmp/partitions
3
EFI 500MB
HPUX 100%
HPSP 400MB
# idisk -wf /tmp/partitions /dev/rdsk/c#t#d#

2) Create device files
#insf -eC disk

3) Verify device files are there
#ioscan -efnCdisk ==> c#t#d# ==> 0/1/1/0.0.0 (example)

4) Make the EFI partition bootable by copying the subdirectories and files
from /usr/lib/efi to the directories /EFI and /EFI/HPUX on the EFI partition.
# mkboot -e -l /dev/rdsk/c#t#d#

5)If needed modify the AUTO file to autoboot without quorum.
#echo "boot vmunix -lq" /tmp/AUTO.lq
#efi_cp -d /dev/rdsk/c2t0d0s1 /tmp/AUTO.lq /EFI/HPUX/AUTO

6) Restore the LVM data structure to the second partition.
# vgcfgrestore -n vg00 /dev/rdsk/c2t0d0s2

7) Reactivate the volume group.
# vgchange -a y vg00
Now vgdisplay does not show any warnings and:
Cur PV = 2
Act PV = 2

8) Resync the mirrors.
#vgsync vg00
------------------------------------
Follow The Path With Heart
Brian Pyle
Frequent Advisor

Re: vg00 problems

Assuming this is a mirror copy of the primary boot disk

1) The three partitions namely EFI, HPUX, and HP service partition need to be
re-created.
# vi /tmp/partitions
3
EFI 500MB
HPUX 100%
HPSP 400MB
# idisk -wf /tmp/partitions /dev/rdsk/c#t#d#

2) Create device files
#insf -eC disk

3) Verify device files are there
#ioscan -efnCdisk ==> c#t#d# ==> 0/1/1/0.0.0 (example)

4) Make the EFI partition bootable by copying the subdirectories and files
from /usr/lib/efi to the directories /EFI and /EFI/HPUX on the EFI partition.
# mkboot -e -l /dev/rdsk/c#t#d#

5)If needed modify the AUTO file to autoboot without quorum.
#echo "boot vmunix -lq" /tmp/AUTO.lq
#efi_cp -d /dev/rdsk/c2t0d0s1 /tmp/AUTO.lq /EFI/HPUX/AUTO

6) Restore the LVM data structure to the second partition.
# vgcfgrestore -n vg00 /dev/rdsk/c2t0d0s2

7) Reactivate the volume group.
# vgchange -a y vg00
Now vgdisplay does not show any warnings and:
Cur PV = 2
Act PV = 2

8) Resync the mirrors.
#vgsync vg00
------------------------------------
Follow The Path With Heart