- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
Discussions
Discussions
Forums
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
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