Operating System - HP-UX
1827136 Members
2983 Online
109716 Solutions
New Discussion

vgdisplay command is giving error....................

 
Ketul Joshi
Occasional Advisor

vgdisplay command is giving error....................

Hi all,
On 19th March 2008 one of my hp ux server has automatically rebooted at 5:00 am.....

after that when i am going for vgdisplay on vg00, it giving me error:::

# vgdisplay -v vg00
vgdisplay: Couldn't query volume group "vg00".
Possible error in the Volume Group minor number; Please check and make sure the group minor number is unique.
vgdisplay: Cannot display volume group "vg00".

and

you can check that lvol1 has been recreated during that time..... as follows.....

# ll /dev/vg00
total 0
crw-r----- 1 root sys 64 0x000000 May 7 2002 group
brw-r----- 1 root sys 64 0x000001 Mar 19 05:02 lvol1
brw-r----- 1 root sys 64 0x000002 May 7 2002 lvol2
brw-r----- 1 root sys 64 0x000003 May 7 2002 lvol3
brw-r----- 1 root sys 64 0x000004 May 7 2002 lvol4
brw-r----- 1 root sys 64 0x000005 May 7 2002 lvol5
brw-r----- 1 root sys 64 0x000006 May 7 2002 lvol6
brw-r----- 1 root sys 64 0x000007 May 7 2002 lvol7
brw-r----- 1 root sys 64 0x000008 May 7 2002 lvol8
crw-r----- 1 root sys 64 0x000001 May 7 2002 rlvol1
crw-r----- 1 root sys 64 0x000002 May 7 2002 rlvol2
crw-r----- 1 root sys 64 0x000003 May 7 2002 rlvol3
crw-r----- 1 root sys 64 0x000004 May 7 2002 rlvol4
crw-r----- 1 root sys 64 0x000005 May 7 2002 rlvol5
crw-r----- 1 root sys 64 0x000006 May 7 2002 rlvol6
crw-r----- 1 root sys 64 0x000007 May 7 2002 rlvol7
crw-r----- 1 root sys 64 0x000008 May 7 2002 rlvol8


please do the needful............

4 REPLIES 4
SUDHAKAR_18
Trusted Contributor

Re: vgdisplay command is giving error....................

hi Ketul,
check /etc/lvmtab
/etc/fstab
check for EMS errors/events.
I hope running vgscan on vg00.


Regards,
SHR
Jeeshan
Honored Contributor

Re: vgdisplay command is giving error....................

running vgscan will regenerate your lvmtab file. Its dangerous for your existing vg configurations.

It seems that you have assigned the same minor number to another vg.

check with ll /dev/*/group
a warrior never quits
Robert-Jan Goossens_1
Honored Contributor
Ketul Joshi
Occasional Advisor

Re: vgdisplay command is giving error....................

Thanks all.........

the disk is bad..........