- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgcreate: minor numbers
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
07-02-2002 08:04 AM
07-02-2002 08:04 AM
vgcreate: minor numbers
vgcreate -s 16 /dev/vg02 /dev/dsk/c2t0d0
I'm running across an error claiming my minor number (4) that I'm using is in use by another volume group. I've already verified in my /dev directory that 4 in fact is not being used by another volume group. Is there another place or means that the system is looking at that I'm unaware of?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 08:11 AM
07-02-2002 08:11 AM
Re: vgcreate: minor numbers
# ll /dev/*/group
This the only place to check for it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 08:12 AM
07-02-2002 08:12 AM
Re: vgcreate: minor numbers
cd to /dev/vgnn to all the vg's and look for group file
there should be only one one file in one of the vg directory with group 64 0x040000
Before you execute vgcreate try this ,
mkdir /dev/vgnn
mknod /dev/vgnn/group 64 c 0x040000
Goodluck,
-USA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 08:18 AM
07-02-2002 08:18 AM
Re: vgcreate: minor numbers
Exactly what error message do you receive?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 08:18 AM
07-02-2002 08:18 AM
Re: vgcreate: minor numbers
ll /dev/*/group has to be checked.
Create a vg04 by
#mkdir /dev/vg04
#mknod /dev/vg04/group c 64 0x040000
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 08:18 AM
07-02-2002 08:18 AM
Re: vgcreate: minor numbers
I think U are missing something. Please check very carefully. Follow this
#cd /dev
#ll vg* |grep group
Now it will list all the group files which are under different vgs. Minor number should not repeat. cross check again. If U are getting the error still, please create VG with different minor number and see.
Best of luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 08:24 AM
07-02-2002 08:24 AM
Re: vgcreate: minor numbers
Was the minor number 4 used in the past? Did you perform a 'vgexport'? If so, your kernel is confused and needs to be rebooted to solve your problem.
Also what version of HP-UX are you running? 10.20?
Hope that helps.
-Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 08:38 AM
07-02-2002 08:38 AM
Re: vgcreate: minor numbers
# cd /etc/lvmconf
# rm vg12.conf
Then try the vgcreate again.. if it still gives the same error, then like what Mike Hassell said a reboot may be necessary. If it's not possible to reboot, then use another minor number in your "mknod".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 08:40 AM
07-02-2002 08:40 AM
Re: vgcreate: minor numbers
my system is running 11.00 on a L2000 class server.
The exact error I'm getting is '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.'
Is simply removing the group file from the system enough to clear this from the system (and rerun vgcreate)? I had considered doing vgexport, but the vg isn't listed in my /etc/lvmtab (I've already run vgscan -a to ensure I've viewed the current configuration).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 08:44 AM
07-02-2002 08:44 AM
Re: vgcreate: minor numbers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 08:44 AM
07-02-2002 08:44 AM
Re: vgcreate: minor numbers
Yes, if you have found a '/dev/vgXX/group' file with the same minor number as you are using for 'vg02', and that file is not neeeded, then remove that group file and rerun your 'vgcreate'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 08:46 AM
07-02-2002 08:46 AM
Re: vgcreate: minor numbers
# vgdisplay -v vg02
==> To make sure vg02 does not exist.
If vg02 does not exist .. proceed ..
# cd /dev/vg02
# rmsf group
Take note of existing already used minor number ..
# ll /dev/*/group
Recreating vg02 ..
# mknod /dev/vg02/group c 64 0x050000
==> I'm assuming 0x050000 is a unique minor number.
# vgcreate -s 16 /dev/vg02 /dev/dsk/c2t0d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 09:54 AM
07-02-2002 09:54 AM
Re: vgcreate: minor numbers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 11:05 AM
07-02-2002 11:05 AM
Re: vgcreate: minor numbers
do a
ll /dev/*/group
and see if the minor no for one of these group files is mentioned as 0x040000. If so the vg to which this group file belongs is using the minor no 4. This is the only place the minor no of the vg is looked for.
Hope this helps.
regds