1833606 Members
3244 Online
110061 Solutions
New Discussion

vgcreate problem

 
SOLVED
Go to solution
Troyan Krastev
Regular Advisor

vgcreate problem

Hi all,

I am trying to create a new VG, but I am getting the next message:
#vgcreate /dev/xxx /dev/dsk/c1t3d0
vgcreate: "/dev/xxx/group": not a character device.

The disk is ok and it is available to the box:
#lssf /dev/dsk/c1t3d0
disc3 card instance 1 SCSI target 3 SCSI LUN 0 section 0 at address 24.3.0 /dev/dsk/c1t3d0
#diskinfo /dev/rdsk/c1t3d0
SCSI describe of /dev/rdsk/c1t3d0:
vendor: HP
product id: C2490WD
type: direct access
size: 2082636 Kbytes
bytes per sector: 512
#dd if=/dev/rdsk/c1t3d0 of=/dev/null bs=512 count=2000
2000+0 records in
2000+0 records out

I don't have /dev/xxx directory. The disk is on a shared SCSI bus ( I already have one VG on that bus) in a cluster. HP-UX version is 11i, the box model is 9000/867/G40/H40.

Thanks,
Troy.

2 REPLIES 2
S.K. Chan
Honored Contributor
Solution

Re: vgcreate problem

Did you create the device file before you create your new VG ? For example if you want to create vg04.
# pvcreate /dev/rdsk/c1t3d0
# mkdir /dev/vg04
# mknod /dev/vg04/group c 64 0x040000
==> Major number for LVM = 64 (lsdev|grep 64)
==> Makes sure the minor number is unique (0x040000). To check for all existing minor number .. (ll /dev/vg*/group)
# vgcreate /dev/vg04 /dev/dsk/c1t3d0

Assumption==> c1t3d0 is not used in any VG yet.
Troyan Krastev
Regular Advisor

Re: vgcreate problem

Thanks S.K. Chan,

Next time I will be more carefull and try not to miss "mknod" :-).

Thanks again,
Troy.