1751924 Members
4850 Online
108783 Solutions
New Discussion юеВ

Re: vgdisplay error

 
fahad_8
Advisor

vgdisplay error

vgdisplay not working !!!

Dear Gentlemen

i tried to display the volume group , through vgdisplay command , unfortunatly not working , it give us this error

# vgdisplay -v vgbssb

vgdisplay: "/dev/vgbssb/group": not a character device.

vgdisplay: Cannot display volume group "vgbssb".

Kindly help us on this issue

7 REPLIES 7
Fred Ruffet
Honored Contributor

Re: vgdisplay error

could you please report the result of the following commands :
ls -ld /dev/vgbssb
ls -l /dev/vgbssb

It will help us to see problems concerning files/dirs rights and definitions.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Luk Vandenbussche
Honored Contributor

Re: vgdisplay error

Can you post the output off

ls -l /dev/vgbssb/group

fahad_8
Advisor

Re: vgdisplay error

Dear

Here are the output
====================================
# ls -ld /dev/vgbssb
drwxrwxrwx 2 root sys 96 Mar 17 15:48 /dev/vgbssb
=======================================
#ls -l /dev/vgbssb/group
/dev/vgbssb/group not found =================================== # ls -l /dev/vgbssb
total 0

Best regards
gstonian
Trusted Contributor

Re: vgdisplay error

Have you done a vgcreate already ?

When creating a VG always follow the following steps

mkdir /dev/vgbssd
mknod /dev/vgbssb/group C 64
vgcreate

Check here for more info

http://www.docs.hp.com/en/B9106-90008/mknod.1M.html
fahad_8
Advisor

Re: vgdisplay error

i didnt create the VG's

i just take this system responsibilities

also there are file system moumnted on this volume group



regards
Prashanth.D.S
Honored Contributor

Re: vgdisplay error

Hi Fahad,

It seems that someone has deleted the group file that holds information about ur volume group and lv... nothing to worry about pls follow the below instruction and recreate a group file and everything should work fine.

#mknod /dev/vgbssb/group c 64 0x050000
#vgchange -a y vgbssb
#vgdisplay -v vgbssb

Best Regards,
Prashanth
Prashanth.D.S
Honored Contributor

Re: vgdisplay error

Hi Fahad,

To determine what was the minor number 0x0x0000 of your group you may run the below command..

#ll /dev/vgbssb

Example:

# ll /dev/vg02
total 0

brw-r----- 1 root sys 64 0x050001 Jun 26 23:37 lvol1
crw-r----- 1 root sys 64 0x050001 Jun 26 23:37 rlvol1

Here Minor number of lvol is 0x050001 so you use minor number for group as 0x050000

Best Regds,
Prashanth