vgcreate problem

 
SOLVED
Go to solution
Mauro Gatti
Valued Contributor

vgcreate problem

Hi all, i'm trying to create a new vg but i get this error:

root@devux/>vgcreate -s 8 vg_asterix /dev/dsk/c7t0d2
vgcreate: Cannot open the control file "/dev/vg_asterix/group":
No such device

but
root@devux/>ls -la /dev/vg_asterix
total 10
drwxr-xr-x 2 root sys 1024 Jul 13 10:44 .
dr-xr-xr-x 30 root sys 4096 Jul 13 10:43 ..
crw-r----- 1 root sys 64 0x200000 Jul 13 10:44 group

What is happening?


Thank You

Mauro
Ubi maior, minor cessat!
2 REPLIES 2
Michael Tully
Honored Contributor
Solution

Re: vgcreate problem

The minor number for the device file is incorrect.

It should be

0x020000

and it should not be used by another group.

rm /dev/vg_asterix/group
mknod /dev/vg_asterix/group c 64 0x020000
Anyone for a Mutiny ?
Mauro Gatti
Valued Contributor

Re: vgcreate problem

I'm sorry... I'm a stupid!!!!

Thank you
Ubi maior, minor cessat!