HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- system hanging while creating a vg
Operating System - HP-UX
1826567
Members
3711
Online
109695
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
01-13-2008 12:16 AM
01-13-2008 12:16 AM
Guys , I'm having some problem here with creating the vg . everytimes when i created a vg , its seems to be hung while i run the vgcreate .
# vgcreate /dev/vg01 /dev/dsk/c2t1d0
Increased the number of physical extents per physical volume to 35003.
What i did was , run pvcreate -f , then make directory /dev/vg01 , then mknod /dev/vg01/group c 64 0x030000 . And then after that I will run the vgcreate . Is there any steps missing ? Thanks .
# vgcreate /dev/vg01 /dev/dsk/c2t1d0
Increased the number of physical extents per physical volume to 35003.
What i did was , run pvcreate -f , then make directory /dev/vg01 , then mknod /dev/vg01/group c 64 0x030000 . And then after that I will run the vgcreate . Is there any steps missing ? Thanks .
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2008 01:21 AM
01-13-2008 01:21 AM
Solution
Hello,
Are you, by any chance, running HP-UX 11.23?
This was documented in the past.
Basically, the VGRA (volume group reserved
area, an area of data defining the layout of
the VG and replicated across all physical
volumes in the VG) must fit within a single
LVM logical (and physical) extent.
You have not specified an extent size, so
LVM will default to 4 MB. If the VGRA needed
to satisfy the size of disk you are dealing
with exceeds this size, you will experience
a hung vgcreate session with HP-UX 11.23.
Prior to 11.23, the vgcreate command would
simply have failed with an error suggesting
insufficient space.
I believe there are patches to fix this problem. So, you could either decide
to patch your server or use workaround:
increase the size of the extent space.
LVM already granted a "Max PE per PV" of
35003 at 4 MB. Try the following commands:
# pvcreate -f /dev/rdsk/c2t1d0
# mkdir /dev/vg01
# mknod /dev/vg01/group c 64 0x030000
# vgcreate -s 8 -e XXX /dev/vg01 /dev/dsk/c2t1d0
Use "-e XXX" to define number of available extents on the disk. For example,
140 GB disk would have around 17501 extents
of size 8 MB.
I often use even larger extents - 16 and 32 MB.
This will set up your VG with an extend size of 8 MB, which should be enough to cope with
the size of your disk. If not, try 16 MB with the max PEs reduced accordingly:
# vgcreate -s 16 -e 8750 /dev/vg01 /dev/dsk/c2t1d0
Cheers,
VK2COT
Are you, by any chance, running HP-UX 11.23?
This was documented in the past.
Basically, the VGRA (volume group reserved
area, an area of data defining the layout of
the VG and replicated across all physical
volumes in the VG) must fit within a single
LVM logical (and physical) extent.
You have not specified an extent size, so
LVM will default to 4 MB. If the VGRA needed
to satisfy the size of disk you are dealing
with exceeds this size, you will experience
a hung vgcreate session with HP-UX 11.23.
Prior to 11.23, the vgcreate command would
simply have failed with an error suggesting
insufficient space.
I believe there are patches to fix this problem. So, you could either decide
to patch your server or use workaround:
increase the size of the extent space.
LVM already granted a "Max PE per PV" of
35003 at 4 MB. Try the following commands:
# pvcreate -f /dev/rdsk/c2t1d0
# mkdir /dev/vg01
# mknod /dev/vg01/group c 64 0x030000
# vgcreate -s 8 -e XXX /dev/vg01 /dev/dsk/c2t1d0
Use "-e XXX" to define number of available extents on the disk. For example,
140 GB disk would have around 17501 extents
of size 8 MB.
I often use even larger extents - 16 and 32 MB.
This will set up your VG with an extend size of 8 MB, which should be enough to cope with
the size of your disk. If not, try 16 MB with the max PEs reduced accordingly:
# vgcreate -s 16 -e 8750 /dev/vg01 /dev/dsk/c2t1d0
Cheers,
VK2COT
VK2COT - Dusan Baljevic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2008 01:57 AM
01-13-2008 01:57 AM
Re: system hanging while creating a vg
dude .. seems that vgcreate is not hanging now .. Thanks a lot pals ..
# vgcreate -s 16 -e 8750 /dev/vg01 /dev/dsk/c2t1d0
Volume group "/dev/vg01" has been successfully created.
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf
[rx260-01]/
# vgcreate -s 16 -e 8750 /dev/vg01 /dev/dsk/c2t1d0
Volume group "/dev/vg01" has been successfully created.
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf
[rx260-01]/
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP