- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- LVM and VxVM
- >
- vgcreate 11.23 vs 11.31
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
01-14-2012 08:55 PM
01-14-2012 08:55 PM
vgcreate 11.23 vs 11.31
Hi,
i know the below steps when i need to create volume group on HP-UX 11.11 and 11.23
# pvcreate -f /dev/rdsk/cxtxdx
# mkdir /dev/vgxx
# ll /dev/vg*/group
# mknod /dev/vgxx/group c 64 0x**0000
# vgcreate -s 64 /dev/vgxx /dev/dsk/cxtxdx
now what is deference when i need to create volume group v 2.x on 11.31 version.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-15-2012 03:24 AM
01-15-2012 03:24 AM
Re: vgcreate 11.23 vs 11.31
Note: in 11.31, you should use /dev/disk/disk* devices instead of legacy /dev/dsk/c*t*d*, since the legacy syntax is likely to be removed in future HP-UX versions.
For LVM v2.x VGs, the major device number in the mknod command must be 128, not 64.The syntax of the minor number is also different: it's 0x***000, not 0x**0000.
You must add an option to vgcreate to specify the VG version required, i.e. "-V 2.0" or "-V 2.1".
You must also specify the maximum future size to which your VG can grow: for example, if you're sure your VG won't be required to grow to larger than 2 terabytes, the vgcreate step could be:
vgcreate -V 2.1 -s 64 -S 2t /dev/vgxx /dev/disk/diskxx
So:
# pvcreate -f /dev/rdisk/diskNN
# mkdir /dev/vgXX
# ll /dev/vg*/group
# mknod /dev/vgXX/group c 128 0x***000
# vgcreate -V 2.1 -s 64 -S 2t /dev/vgXX /dev/disk/diskNN
If you don't care about the VG minor number, then the mkdir/mknod steps are *optional* in LVM 2.x: if you don't create the VG directory and the group device node, the vgcreate command will automatically pick an unique minor number and create the directory and device node for you automatically. But if you need to select a specific device number (e.g. if you're adding a node to a Serviceguard cluster and must match the VG numbers with the existing nodes) then you can choose the numbers yourself using the procedure as above.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP