Operating System - HP-UX
1848539 Members
7134 Online
104033 Solutions
New Discussion

lvextend complains about the group minor number on vg00

 
Matthew Murdock
Valued Contributor

lvextend complains about the group minor number on vg00

After I updated a HPUX workstation to the March
2001 General release patch set, I get a error when I issue the lvextend command.

#lvextend -L 500 /dev/vg00/lvol6 (even in lvextend: Couldn't query volume group "/dev/vg00".
Possible error in the Volume Group minor number; Please check and make sure the
group minor number is unique.
# cd /dev/vg00; ll *
crw-r----- 1 root sys 64 0x000000 Nov 2 1999 group
brw-r----- 1 root sys 64 0x000001 Apr 25 07:18 lvol1
brw-r----- 1 root sys 64 0x00000a Aug 22 11:48 lvol10
brw-r----- 1 root sys 64 0x000002 Nov 2 1999 lvol2
brw-r----- 1 root sys 64 0x000003 Nov 2 1999 lvol3
brw-r----- 1 root sys 64 0x000004 Apr 25 07:35 lvol4
brw-r----- 1 root sys 64 0x000005 Apr 25 07:34 lvol5
brw-r----- 1 root sys 64 0x000006 Apr 25 07:34 lvol6
brw-r----- 1 root sys 64 0x000007 Apr 25 07:33 lvol7
brw-r----- 1 root sys 64 0x000008 Apr 25 07:32 lvol8
brw-r----- 1 root sys 64 0x000009 Apr 25 07:28 lvol9
crw-r----- 1 root sys 64 0x000001 Nov 2 1999 rlvol1
crw-r----- 1 root sys 64 0x00000a Aug 22 11:48 rlvol10
crw-r----- 1 root sys 64 0x000002 Nov 2 1999 rlvol2
crw-r----- 1 root sys 64 0x000003 Nov 2 1999 rlvol3
crw-r----- 1 root sys 64 0x000004 Nov 2 1999 rlvol4
crw-r----- 1 root sys 64 0x000005 Mar 5 07:31 rlvol5
crw-r----- 1 root sys 64 0x000006 Nov 2 1999 rlvol6
crw-r----- 1 root sys 64 0x000007 Nov 2 1999 rlvol7
crw-r----- 1 root sys 64 0x000008 Nov 2 1999 rlvol8
crw-r----- 1 root sys 64 0x000009 Mar 5 07:33 rlvol9
# uname -a
HP-UX lime B.11.00 A 9000/778 2004227084 two-user license

1)# ll -R | grep 000000 | grep 64
crw-r----- 1 root sys 64 0x000000 Nov 2 1999 group
2)# what /usr/sbin/lvextend
/usr/sbin/lvextend:
$Revision: 80.6 $ $Date: 97/04/28 18:00:45 $
$Revision: 82.26.1.9.1.91 $
PATCH_11_00: lvdisplay.o lvlnboot.o lvremove.o lvrmboot.o pvck.o
pvchange.o pvcreate.o pvdisplay.o pvmove.o pvremove.o sdstolvm.o vgchgid.o
vgcfgbackup.o vgcfgrestore.o vgchange.o vgcreate.o vgdisplay.o vgexport.o
vgextend.o vgimport.o vgreduce.o vgremove.o vgscan.o lvchange.o lvcreate.o
lvextend.o lvmerge.o lvmmain.o lvreduce.o lvsplit.o lvsync.o nomwcsyncd.o
vgsync.o hpux_rel.o 00/05/10
3)# cksum /usr/sbin/lvextend
285721856 548864 /usr/sbin/lvextend


the system works normally. I tried to use a different version of lvexrtend, with the same results. THe minor numbers match up in the vg00 directory as needed.
3 REPLIES 3
Sridhar Bhaskarla
Honored Contributor

Re: lvextend complains about the group minor number on vg00

Boot in logical volume maintenance mode, export the root volume group and import it back should be able to fix your problem. You can even try vgscan by moving the lvmtab. But I would take the map files of all the volume groups and note the device files corresponding to each volume group before doing it.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Alan Riggs
Honored Contributor

Re: lvextend complains about the group minor number on vg00

Please make sure you have no other VG's defined with minor number 0.

ll /dev/*/group
aaa_37
Occasional Contributor

Re: lvextend complains about the group minor number on vg00

Hi All,

Is there any solution does HP has provided for this problem. I need to prevent this problem happening. Please let me know.

I am facing the same problem while vgdisplay -v /dev/vg00
vgdisplay: Couldn't query volume group /dev/vg00
Possible error in the Volume group minor number.

I need to prevent this problem happening rather than workaround to solve this.

Thanks in advance