- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgcreate error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2009 06:44 PM
03-19-2009 06:44 PM
vgcreate error
Command that I used to create VG:-
#ioscan –fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=========================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-B
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GST373453LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GST373453LC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
disk 3 0/1/1/1.2.0 sdisk CLAIMED DEVICE HP 300 GST3300655LC
#insf –e
#ioscan –fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=========================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-B
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GST373453LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GST373453LC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
disk 3 0/1/1/1.2.0 sdisk CLAIMED DEVICE HP 300 GST3300655LC
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
#pvcreate /dev/rdsk/c3t2d0
pvcreate: The physical volume already belongs to a volume group
#pvdisplay –v /dev/dsk/c3t2d0
pvdisplay: Couldn't find the volume group to which
physical volume "/dev/dsk/c3t2d0" belongs.
pvdisplay: Cannot display physical volume "/dev/dsk/c3t2d0".
# vgscan -v
vgscan: The physical volume "/dev/dsk/c2t0d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c2t1d0" is already recorded in the "/etc/lvmtab" file.
Couldn't stat physical volume "/dev/dsk/c0t0d0":
Invalid argument
/dev/vg00
/dev/dsk/c2t0d0
/dev/dsk/c2t1d0
#vgdisplay –v vg01
vgdisplay: Volume group "/dev/vg01" does not exist in the "/etc/lvmtab" file.
vgdisplay: Cannot display volume group "vg01".
ALL look ok
Then I used pvcreate with option f (force)
# pvcreate -f /dev/rdsk/c3t2d0
Physical volume "/dev/rdsk/c3t2d0" has been successfully created.
#mkdir /dev/vg01
#mknod /dev/vg01/group c 64 0x010000
# vgcreate /dev/vg01 /dev/dsk/c3t2d0
Warning: Max_PE_per_PV for the volume group (65535) too small for this PV (71525).
Using only 65535 PEs from this physical volume.
Increased the number of physical extents per physical volume to 65535.
vgcreate: Volume group "/dev/vg01" could not be created:
VGRA for the disk is too big for the specified parameters. Increase the
extent size or decrease max_PVs/max_LVs and try again.
# vgcreate -s 32 /dev/vg01 /dev/dsk/c3t2d0
Increased the number of physical extents per physical volume to 8940.
vgcreate: Volume group "/dev/vg01" could not be created:
The path does not specify a valid physical volume.
That the error, try remove the device file using command rmsf , delete the vg01 folder, rename lvmtab file to lvmtab.bak, vgscan –v and etc. the error still same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2009 07:01 PM
03-19-2009 07:01 PM
Re: vgcreate error
# dd if=/dev/rdsk/c3t2d0 of=/dev/null bs=1024k
8046+0 records in
8046+0 records out
# diskinfo /dev/rdsk/c3t2d0
SCSI describe of /dev/rdsk/c3t2d0:
vendor: HP 300 G
product id: ST3300655LC
type: direct access
size: 292968750 Kbytes
bytes per sector: 512
# cd /etc/lvmconf
# ls
lvm_lock vg00.conf
# strings vg00.conf
CONFIG01
/dev/vg00
/dev/rdsk/c2t0d0
/dev/rdsk/c2t1d0
LVMREC01<
HPLVMBDRI
LVMREC01<
HPLVMBDRI
~V4VGDA0001
VGSA0001I
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2009 10:21 PM
03-19-2009 10:21 PM
Re: vgcreate error
Please repeat pvcreate -f /dev/rdsk/c3t2d0 again
mkdir /dev/vg01
ll /dev/*/group
if you found group file for vg02 remove that
mknod /dev/vg01/group c 64 0x010000
vgcreate -s 32 /dev/vg01 /dev/dsk/c3t2d0
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2009 11:17 PM
03-19-2009 11:17 PM
Re: vgcreate error
Where is group file for vg01?
After creating the /dev/vg01 directory create group file before create the vg
#mknod /dev/vg01/group c 64 0x010000
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2009 12:40 AM
03-20-2009 12:40 AM
Re: vgcreate error
>>Warning: Max_PE_per_PV for the volume group (65535) too small for this PV (71525).
Using only 65535 PEs from this physical volume.
here is your problem. Because of your max pe parameter is set to low, it can't be expecting more than its setting value.
try to create another vg and create the file systems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2009 01:03 AM
03-20-2009 01:03 AM
Re: vgcreate error
# vgcreate -s 16 /dev/vg01 /dev/dsk/c3t2d0
Increased the number of physical extents per physical volume to 17881.
Volume group "/dev/vg01" has been successfully created.
VGRA appears corrupted
when i try to deactivate or reboot the VG01 can't start.
# pvcreate -f /dev/rdsk/c3t2d0
Physical volume "/dev/rdsk/c3t2d0" has been successfully created.
#vgcreate â s 16 /dev/vg01 /dev/dsk/c3t2d0
Volume group /dev/vg01 succerfully created
VGRA corrupted
# vgchange -a n vg01
Volume group "vg01" has been successfully changed.
# vgchange -a y vg01
vgchange: Couldn't activate volume group "vg01":
Quorum not present, or some physical volume(s) are missing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2009 01:12 AM
03-20-2009 01:12 AM
Re: vgcreate error
Activate your VG with no quoram
vgchange -a y -q n /dev/vgname....
than check vgdisplay -v vgname and look for the disks in this VG.
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2009 01:28 AM
03-20-2009 01:28 AM
Re: vgcreate error
Better remove the VG and recreate it to get out of the mess.
Just export the VG to remove the configuration entirely from the system
#vgexport -v vgname
Now create freshly.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2009 02:00 AM
03-20-2009 02:00 AM
Re: vgcreate error
# pvcreate -f /dev/rdsk/c3t2d0
Physical volume "/dev/rdsk/c3t2d0" has been successfully created.
#mkdir /dev/vg01
#mknod /dev/vg01 /dev/dsk/c3t2d0
#vgcreate â s 16 â p 126 â e 65535 /dev/vg01 /dev/dsk/c3t2d0
Volume group /dev/vg01 succerfully created
VGRA corrupted
# vgchange -a n vg01
Volume group "vg01" has been successfully changed.
# vgchange -a y vg01
vgchange: Couldn't activate volume group "vg01":
Quorum not present, or some physical volume(s) are missing.
# vgchange -a y -q n vg01
vgchange: Couldn't activate volume group "vg01":
Quorum not present, or some physical volume(s) are missing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2009 02:03 AM
03-20-2009 02:03 AM
Re: vgcreate error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2009 02:25 AM
03-20-2009 02:25 AM
Re: vgcreate error
a) patches - do you have all the latest LVM patches installed?
b) bad disk? do you have another disk you can try the operation on?
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2009 02:34 AM
03-20-2009 02:34 AM
Re: vgcreate error
Just looked at you previous reply
#vgcreate â  s 16 â  p 126 â  e 65535 /dev/vg01 /dev/dsk/c3t2d0
Volume group /dev/vg01 succerfully created
VGRA corrupted
Here it created VG but error is there
VGRA Corrupted
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2009 05:46 AM
03-20-2009 05:46 AM
Re: vgcreate error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2009 06:13 AM
03-20-2009 06:13 AM
Re: vgcreate error
same error if I create new LV, after reboot or vgchange system unable to activate the VG and mount the LV.
New patch:- PHKL_35970 - s700_800 11.11 LVM Cumulative Patch
http://www13.itrc.hp.com/service/patch/patchDetail.do?patchid=PHKL_35970&sel={hpux:11.11,}&BC=main|search|<>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2009 06:21 AM
03-20-2009 06:21 AM
Re: vgcreate error
U can give One try for below
vgexport vg01
delete group file
dd if=/dev/null of=/dev/dsk/c3t2d0
pvcreate -f /dev/rdsk/c3t2d0
mkdir /dev/vg01
mknod /dev/group/vg01 c 64 0x20000
vgcreate -s 32 /dev/vg01 /dev/dsk/c3t2d0
I have assigned points to 0 of 8 responses to my questions and please see rules of ITRC and assign points :-)
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2009 06:24 AM
03-20-2009 06:24 AM
Re: vgcreate error
Please post a full "ioscan -fn".
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2009 06:26 AM
03-20-2009 06:26 AM
Re: vgcreate error
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2009 06:28 AM
03-20-2009 06:28 AM
Re: vgcreate error
I Already do that step 3 times, at last same thing happen VGRA corrupted. Is they a way to fix VGRA?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2009 06:32 AM
03-20-2009 06:32 AM
Re: vgcreate error
On this server the built-in SCSI port and the upper internal disk slot is the same bus.
It is recommended to have devices only on 1 side - internal or external.
Otherwise you will have very unpredictable behavior, I have seen very similar symptoms on a server with an "open" scsi cable connected to the external port - no devices, no termination - just an open bus.
Please check this.
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2009 06:34 AM
03-20-2009 06:34 AM
Re: vgcreate error
I will find the scsi device and connect to built-in scsi port, after that i'll post the ioscan -fn output.
Hi Duncan
Yes, I download with all dependency and install with default option. Patch installed with no error.
Amir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2009 06:37 AM
03-20-2009 06:37 AM
Re: vgcreate error
I check the hardware several times, no external scsi device connected to the build-in scsi port. The only thing wire came from the server is utp cable and power cable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2009 05:35 PM
03-22-2009 05:35 PM
Re: vgcreate error
Class I H/W Path Driver S/W State H/W Type Description
=============================================================================
root 0 root CLAIMED BUS_NEXUS
ioa 0 0 sba CLAIMED BUS_NEXUS System Bus Adapter (880)
ba 0 0/0 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783)
usb 0 0/0/1/0 hcd CLAIMED INTERFACE NEC USB Interface
usbhub 0 0/0/1/0.1 hub CLAIMED DEVICE USB Root Hub
usb 1 0/0/1/1 hcd CLAIMED INTERFACE NEC USB Interface
usbhub 1 0/0/1/1.1 hub CLAIMED DEVICE USB Root Hub
/dev/hub
usb 2 0/0/1/2 ehci CLAIMED INTERFACE NEC USB Interface
sideba 0 0/0/2/0 side_ba CLAIMED INTERFACE CMD IDE controller
ext_bus 0 0/0/2/0.0 side CLAIMED INTERFACE IDE Primary Channel
target 0 0/0/2/0.0.0 tgt CLAIMED DEVICE
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-B
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
target 1 0/0/2/0.0.7 tgt CLAIMED DEVICE
ctl 0 0/0/2/0.0.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c0t7d0
ext_bus 1 0/0/2/0.1 side CLAIMED INTERFACE IDE Secondary Channel
target 2 0/0/2/0.1.7 tgt CLAIMED DEVICE
ctl 1 0/0/2/0.1.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c1t7d0
ba 1 0/1 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783)
ext_bus 2 0/1/1/0 c8xx CLAIMED INTERFACE SCSI C1010 Ultra160 Wide LVD
target 3 0/1/1/0.0 tgt CLAIMED DEVICE
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GST373453LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
target 4 0/1/1/0.1 tgt CLAIMED DEVICE
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GST373453LC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
target 5 0/1/1/0.7 tgt CLAIMED DEVICE
ctl 2 0/1/1/0.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c2t7d0
ext_bus 3 0/1/1/1 c8xx CLAIMED INTERFACE SCSI C1010 Ultra160 Wide LVD
target 6 0/1/1/1.2 tgt CLAIMED DEVICE
disk 3 0/1/1/1.2.0 sdisk CLAIMED DEVICE HP 300 GST3300655LC
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
target 7 0/1/1/1.7 tgt CLAIMED DEVICE
ctl 3 0/1/1/1.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c3t7d0
lan 0 0/1/2/0 igelan CLAIMED INTERFACE HP PCI 1000Base-T Core
ba 2 0/2 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783)
ba 3 0/3 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783)
ba 4 0/4 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783)
lan 1 0/4/1/0 igelan CLAIMED INTERFACE HP A6825-60101 PCI 1000Base-T Adapter
ba 5 0/6 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783)
ba 6 0/7 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783)
tty 0 0/7/1/0 asio0 CLAIMED INTERFACE PCI SimpleComm (103c1290)
/dev/diag/mux0 /dev/mux0 /dev/tty0p0
tty 1 0/7/1/1 asio0 CLAIMED INTERFACE PCI Serial (103c1048)
/dev/GSPdiag1 /dev/mux1 /dev/tty1p2
/dev/diag/mux1 /dev/tty1p0 /dev/tty1p4
unknown -1 0/7/2/0 UNCLAIMED UNKNOWN PCI Display (10025159)
memory 0 8 memory CLAIMED MEMORY Memory
ipmi 0 16 ipmi CLAIMED INTERFACE IPMI Controller
/dev/ipmi
processor 0 128 processor CLAIMED PROCESSOR Processor
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2009 10:07 PM
03-22-2009 10:07 PM
Re: vgcreate error
Please assign some points who give there valuable time for your problem.
go through the below link to see how to assign points
http://forums13.itrc.hp.com/service/forums/helptips.do?#33
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2009 06:56 PM
03-25-2009 06:56 PM
Re: vgcreate error
normally automatic terminate by server itself, but in this case
don't know why the automatic terminator didn't work properly.
solution just put hardware terminator and problem solve. suspect
maybe firmware to old.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2009 07:00 PM
03-25-2009 07:00 PM
Re: vgcreate error
normally automatic terminate by server itself, but in this case
don't know why the automatic terminator didn't work properly.
solution just put hardware terminator and problem solve. suspect
maybe firmware to old.