- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re-create volume group fails
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
тАО12-21-2005 12:29 AM
тАО12-21-2005 12:29 AM
We experienced an issue the other day which required a replacement disk I am unable to do a vgcfgrestore so I need to recreate the lvol's with a newfs and restore from backup.
This has caused issue's so I removed the volume group and carried out the following :
mv /etc/lvmtab /etc/lvmtab.save
vgscan -av
Which I no longer see vg02 and also have chaecked there is no vg02 but when I issue a vgcreate /dev/vg02 /dev/dsk/c0t10d0 i get the following error message :
Increased the number of physical extents per physical volume to 1023.
vgcreate: Volume group "/dev/vg02" could not be created:
A volume group is already using this major and minor number.
Please check the minor number of the "group" device file.
Steps taken :
-------------
1. mkdir -p /dev/vg02
2. pvcreate -f /dev/rdsk/c0t10d0
3. mknod /dev/vg02/group c 64 0x020000
4. vgcreate /dev/vg02 /dev/dsk/c0t10d0
Can any one please advise.
Regards,
Simon
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2005 12:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2005 12:39 AM
тАО12-21-2005 12:39 AM
Re: Re-create volume group fails
Do:
# ls -l /dev/vg*/group. I think you will find another volume group using the minor number 0x020000. Remember that the minor number does not have to match the volume group numbers --- I could have vg03 with with a group device file of 0x020000 (although I don't do this!).
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2005 12:41 AM
тАО12-21-2005 12:41 AM
Re: Re-create volume group fails
Thanks for the help the next number available is 0x050000 so if i use this instead of 0x020000 for vg02 will be fine as I am unable to remove it.
I know the default limit is 10 volume groups as set by the kernel.
Am I correct.
Thanks,
Simon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2005 12:43 AM
тАО12-21-2005 12:43 AM
Re: Re-create volume group fails
That has just answered my question I sent as yours came in.
Regards,
Simon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2005 12:44 AM
тАО12-21-2005 12:44 AM
Re: Re-create volume group fails
Yes, the default 'maxvgs' is ten (10) [0x0a0000], and yes, you can use a minor number of 0x050000 with a volume group name of "vg05" per my first comments.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2005 12:45 AM
тАО12-21-2005 12:45 AM
Re: Re-create volume group fails
Simon