Operating System - HP-UX
1753368 Members
5158 Online
108792 Solutions
New Discussion юеВ

Re: vgcreate: Cannot open the control file

 
SOLVED
Go to solution
Muthukumar_5
Honored Contributor

Re: vgcreate: Cannot open the control file

You've create lots of device files with mknod? remove the unneeded devices by using rm -rf /dev/vg. Create again with mknod command.

You can use 0x010000 for minor number as,

# mknod /dev/vg72/group c 64 0x010000

hth.
Easy to suggest when don't know about the problem!
Vipin Singhal
Super Advisor

Re: vgcreate: Cannot open the control file

thanks
i created the VG by your help

i need 75 GB for my file system.

these are the details:
# vgdisplay -v /dev/vg72
--- Volume groups ---
VG Name /dev/vg72
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 0
Open LV 0
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 9215
VGDA 2
PE Size (Mbytes) 4
Total PE 9214
Alloc PE 0
Free PE 9214
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0


--- Physical volumes ---
PV Name /dev/dsk/c26t6d0
PV Name /dev/dsk/c29t6d0 Alternate Link
PV Status available
Total PE 9214
Free PE 9214
Autoswitch On

# diskinfo /dev/rdsk/c26t6d0
SCSI describe of /dev/rdsk/c26t6d0:
vendor: DGC
product id: CX700WDR10
type: direct access
size: 37748736 Kbytes
bytes per sector: 512
# diskinfo /dev/rdsk/c29t6d0
SCSI describe of /dev/rdsk/c29t6d0:
vendor: DGC
product id: CX700WDR10
type: direct access
size: 37748736 Kbytes
bytes per sector: 512

I think , i got 36.8Gb space using these two devices.
should i add more devices in this VG

saju_2
Respected Contributor

Re: vgcreate: Cannot open the control file

Hi

Yes u have 36 GB in this VG. If u want more space in this vg, add more disks intothis VG.

Allocate a disk to this server
ioscan -fnC disk
insf
pvcreate /dev/rdsk/cxtxdx
vgextend /dev/vg72 /dev/dsk/cxtxdx


Then create the LV's in the VG, with the required size

lvcreate (additional options) -L (size in MB) -n (name) /dev/vg72

newfs -F vxfs -o largefiles /dev/vg72/r

mount /dev/vg72/lvolx

This will give a a filesystem mounted at
Regards
CS
Vipin Singhal
Super Advisor

Re: vgcreate: Cannot open the control file

hi,
I am adding one more device- c23t6d0 in vg72.

#pvcreate -f /dev/rdsk/c23t6d0
#vgextend /dev/vg72 /dev/dsk/c23t6d0
Current path "/dev/dsk/c29t6d0" is an alternate link, skip.
vgextend: Couldn't install the physical volume "/dev/dsk/c23t6d0".
The physical volume has no driver configured.

what should i do?
should i give this command-
#vgextend /dev/vg72 /dev/dsk/c29t6d0 /dev/dsk/c23t6d0
Vipin Singhal
Super Advisor

Re: vgcreate: Cannot open the control file

Please suggest me
Muthukumar_5
Honored Contributor

Re: vgcreate: Cannot open the control file

Yes.

Try like,

#vgextend /dev/vg72 /dev/dsk/c29t6d0 /dev/dsk/c23t6d0

Refer vgextend man page for examples.

hth.
Easy to suggest when don't know about the problem!
melvyn burnard
Honored Contributor

Re: vgcreate: Cannot open the control file

I would suggest now might be a good time to read the man pages and maybe also the manuals?

man vgcreate
man vgextend

My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Muthukumar_5
Honored Contributor

Re: vgcreate: Cannot open the control file

Vipin Singhal
Super Advisor

Re: vgcreate: Cannot open the control file

I typed wrong minor no., it should be in hexadecimal