- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- creating a vg
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
02-13-2003 11:54 AM
02-13-2003 11:54 AM
mkdir /dev/vgh35
mknod /dev/vgh35/group c 64 0x230000
then i try to make the vg
vgcreate /dev/vgh35 /dev/dsk/c19t0d0
and i get a message stating the vg already exists. I know this has something to do with the mknod. Can anyone tell me what the deal is? i think 35=23 in hex. Do i have enough 0's??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 11:59 AM
02-13-2003 11:59 AM
SolutionCheck for duplicate minor numbers"
# ls -l /dev/vg*/group
Yes, the minor number is hexadecimal. Make sure your kernel's 'maxvgs' parameter is set high enough to accomodate this. By default, ten volume groups are supported (0-09).
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 11:59 AM
02-13-2003 11:59 AM
Re: creating a vg
Yes, you've got enough zeroes (you need six digits after the x).
What is maxvg set to? I know that doesn't make any sense according to the error you're getting, but 35 is a log.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 11:59 AM
02-13-2003 11:59 AM
Re: creating a vg
Your minor # is OK.....
Do a strings on /etc/lvmtab & grep for the vgh35 - may have already use dthe name.
Also do this
ll /dev/vg*/group
and check all the minors for a duplicate - may have already used 0x230000
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 12:01 PM
02-13-2003 12:01 PM
Re: creating a vg
# cd /dev
# ls -al vg* | grep group (provided all your VG names start with 'vg')
This will list you all used minor numbers and figure out the next value from it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 12:01 PM
02-13-2003 12:01 PM
Re: creating a vg
You did do a pvcreate, too, didn't you?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 12:04 PM
02-13-2003 12:04 PM
Re: creating a vg
# sysdef | grep maxvgs
# kmtune | grep maxvgs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 12:05 PM
02-13-2003 12:05 PM
Re: creating a vg
Ignore my first suggestion. You'd have seen that problem in the mkdir command.
Still betting that 0x230000 duplicate is the problem.
And BTW you already have 35 VGs on the system as vg00 -to-> vg34 IS 35 total.
Use 0x240000
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 12:08 PM
02-13-2003 12:08 PM
Re: creating a vg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 12:14 PM
02-13-2003 12:14 PM
Re: creating a vg
Yes, 'vgexport' is the cleanest and fastest way to dispose of a volume group -- '/dev/vgNN' entries, cleanup of '/etc/lvmtab', etc.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 12:16 PM
02-13-2003 12:16 PM
Re: creating a vg
# strings /etc/lvmtab - and make sure you have removed that properly.
You can then use those minor numbers.