1828252 Members
3659 Online
109975 Solutions
New Discussion

vgcreate issue (hlp plz)

 
SOLVED
Go to solution
meekrob
Super Advisor

vgcreate issue (hlp plz)

Hi All,

 

i am trying to create a new volume group "vgtest" via SAM on HP-UX 11iv1.

However, vgtest failed to create with the following message:

 

vgcreate: Minor number of /dev/vgtest/group is not unique.

/dev/vg01/group has the same minor number.  ((see attachment))

 

 

In addition, do also note the output of the below commands:

 

#kmtune | grep maxvgs    --->  it outputs "10"

 

#ls -l /dev/*/group

crw-r-----      1      root    sys    64    0x000000   ...........   /dev/vg00/group

 

#strings /etc/lvmtab

/dev/vg00

/dev/dsk/c2t2d0

 

VG00 is the only Volume Group present on that system.

 

Any suggestion would be much appreciated.

 

9 REPLIES 9
donna hofmeister
Trusted Contributor

Re: vgcreate issue (hlp plz)

looks like you missed a couple of preliminary steps:

 

•mkdir /dev/<vgname>
•mknod /dev/<vgname>/group c 64 minor#

meekrob
Super Advisor

Re: vgcreate issue (hlp plz)

Hello Donna,
but as i mentioned that i was tryin to vgcreate using SAM. Isn't supposed that SAM will do that automatically?
donna hofmeister
Trusted Contributor

Re: vgcreate issue (hlp plz)

one would think.  however when things "gang aft agley an' lea'e us nought but grief an' pain" it's time to do it by hand,

Torsten.
Acclaimed Contributor

Re: vgcreate issue (hlp plz)

vgcreate: Minor number of /dev/vgtest/group is not unique.

/dev/vg01/group has the same minor number.




You probably have a previous vg01 in the lvm config backup files - please check.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
meekrob
Super Advisor

Re: vgcreate issue (hlp plz)

Hello Torsten,
how could i check it?
vg00 is the only volume group available on that machine.
Even i tried to create (from SAM) other volume groups with different names (for testing) however, im gettin the same result.
Torsten.
Acclaimed Contributor

Re: vgcreate issue (hlp plz)

What is in /etc/lvmconf ?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
meekrob
Super Advisor

Re: vgcreate issue (hlp plz)

#more /etc/lvmconf outputs the following:

vg00.conf
vg00.conf.old
vg01.conf
vg01.conf.old

Torsten.
Acclaimed Contributor
Solution

Re: vgcreate issue (hlp plz)

Move away

vg01.conf
vg01.conf.old

and try again - it should work now.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
meekrob
Super Advisor

Re: vgcreate issue (hlp plz)

after removing both files, i am still getting same result and vgcreate is still failing

@ Donna, i could go with this option by creating the volume group via command line interface, however, i need to create that volume group on an already configured LUN accessible by FC60 and im not too familiar with FC60 thats why im creating it via SAM. How could i know which physical disks (and their relative paths) map to that LUN?

 

Any help is much appreciated.