Operating System - HP-UX
1834285 Members
2251 Online
110066 Solutions
New Discussion

Vgcreate with error information B??

 
Carme Torca
Super Advisor

Vgcreate with error information B??

Hi,

I have a L3000-6x with 11.11, and I have create one vg:
# mkdir /dev/vg01
# mknod group c 64 0x010000
# vgcreate -e 8192 /dev/vg01 /dev/dsk/c4t1d0 /dev/dsk/c6t1d0

The 2 disks are 9Gb. each. aprox.
# diskinfo /dev/rdsk/c4t1d0
size: 8838720
# diskinfo /dev/rdsk/c6t1d0
size: 8838720

But, when I do:
# vgdisplay -v /dev/v01, its returns:

Max PE per PV: 8631
PE Size: 4 Megas
Total PE: 8630

What is wrong?, I would have 8Gb+8GB, but vgdisplays returns that I have 32Gb. ??????

Thanks a lot of!
Carmen.
Users are not too bad ;-)
5 REPLIES 5
Jean-Louis Phelix
Honored Contributor

Re: Vgcreate with error information B??

Hi,

Could you post a full vgdisplay -v vg01 ?

Regards.
It works for me (© Bill McNAMARA ...)
Bernhard Mueller
Honored Contributor

Re: Vgcreate with error information B??

Carmen,

would it be possible you vgextended the vg01 later by another 2 9GB disks?

Pls do a
strings /etc/lvmtab
to see what disk devices are listed under /dev/vg01

and double-check with vgdisplay -v vg01 that the devices are not alternate links.

Regards,
Bernhard
Carme Torca
Super Advisor

Re: Vgcreate with error information B??

Thank you for all !!!
I haven't format the disks with pvcreate (;-) sorry ), now I have recreated totally the vg01, and now I have re-pvcreate the disks... now I can see it correct....

Thanks everyone!
Carmen.
Users are not too bad ;-)
Zeev Schultz
Honored Contributor

Re: Vgcreate with error information B??

1)try not using -e switch in vgcreate.-e specifies how much PEs / disk you can have.But
it's adjusted to match max disk size in this vg (man vgcreate)
2)use pvdisplay /dev/dsk/cXtYd0 to see information about the disk

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
Rajesh G. Ghone
Regular Advisor

Re: Vgcreate with error information B??

Hi,
Can you give vgcreate /dev/vg01 /dev/dsk/c4t1d0 /dev/dsk/c6t1d0 without -e option
& check vgdisplay -v /dev/vg01
i believe there must be some mistake while creating the VG.
Regards,
Rajesh G.
Rajesh Ghone