1753479 Members
5021 Online
108794 Solutions
New Discussion юеВ

Re: vgcreate

 
SOLVED
Go to solution
xcvzxvzxdv
Advisor

vgcreate

i am getting the following error can anybosy tell what could be the cause

# vgcreate /dev/vgboot /dev/dsk/c3t2d0
vgcreate: Cannot open the control file "/dev/vgboot/group":
No such device
4 REPLIES 4
Torsten.
Acclaimed Contributor
Solution

Re: vgcreate

you need to create the "group" file first.

e.g.

mknod /dev/vgnew/group c 64 0x0z0000

where z is the number of your vg

Why you are creating a "vgboot"?

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!   
xcvzxvzxdv
Advisor

Re: vgcreate

thanks for ur support
Rajeev  Shukla
Honored Contributor

Re: vgcreate

Before you create a VG you have to create the group file with mknod with the directory as the vgname.
So in your case
mkdir /dev/vgboot
mknod /dev/vgboot/group c 64 0x??0000
where ?? is the free number from your available vg which you can find by doing ll /dev/vg*/group
the run the vgcreate command
Sheriff Andy
Trusted Contributor

Re: vgcreate

If you have more then one unix server, I would make sure to try and pick a group number that isn't used on on of your systems.

# ll /dev/vg* | grep group | sort -n