- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error when try to create an 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-07-2003 05:22 AM
02-07-2003 05:22 AM
Error when try to create an vg.
vgcreate: Volume group "/dev/vg01" 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.
So I check there is not another vg with the same minor number...Where is the problem ?
Maybe I remove not correctly another vg with that minor number...any idea ?
Thanks.
Juanma.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 05:25 AM
02-07-2003 05:25 AM
Re: Error when try to create an vg.
#ls -l /dev/vg*/group
this should give you an idea on the existing minor numbers.
then just give a unique number for to create the VG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 05:25 AM
02-07-2003 05:25 AM
Re: Error when try to create an vg.
ll /dev/vg*/group reveal?
also, do a strings /etc/lvmtab to see if htere is anything in htere, that should not be.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 05:26 AM
02-07-2003 05:26 AM
Re: Error when try to create an vg.
match up this output against ll /dev/vg*/group.
if there is a difference,
mv /etc/lvmtab /etc/lvmtab.prev
vgscan -v
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 05:29 AM
02-07-2003 05:29 AM
Re: Error when try to create an vg.
If you are absolutely sure that an 'ls -l /dev/vg*/group' fails to show any duplicate minor numbers, try a reboot. The kernel may "remember" that one once existed. Otherwise, choose another, unused miror number. By convention, the minor number of 'vg01' would be one (1) but that is only by convention.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 05:41 AM
02-07-2003 05:41 AM
Re: Error when try to create an vg.
Is it possible to use vgexport here, I know vgexport can resolve a lot of problems.
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 05:44 AM
02-07-2003 05:44 AM
Re: Error when try to create an vg.
I am sure that ls -l /dev/vg*/group fail. So I should to reboot the machine, because what I want is to repair the problem. I try to create another vg with a diferent minor number and the are not problems.
I will try also to mv the lvmtab file and run vgscan to re-create it.
Thanks all for your help.
Juanma.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 05:47 AM
02-07-2003 05:47 AM
Re: Error when try to create an vg.
For the vg's which you think are not there in the system but the /dev/ files exist you can just do a vgexport of the volume group.
vgexport would remove the unwanted files from the /dev dir and will update the /etc/lvmtab.
//Make sure that the vg is not used or not existent but the group files exist//
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 05:57 AM
02-07-2003 05:57 AM
Re: Error when try to create an vg.
Situations like this suggest that 'vgexport' was not used to remove the original volume group. The presence of '/etc/lvmconf/vgNN.conf' would tend to confirm this. If there are no entries for the volume group in '/etc/lvmtab' a 'vgexport' will fail having noted such. A reboot should clear the problem if it as we suspect, above.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2003 05:53 AM
02-12-2003 05:53 AM
Re: Error when try to create an vg.
This often sorts out the LVMTAB vs kernel mismatch.