- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgcreate issue
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
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
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
05-31-2006 09:35 PM
05-31-2006 09:35 PM
I removed vg01 by "vgreduce","vgremove" and then I want to recreate it by following the normal procedure. But encountered the following problem, pls help on this.
# vgcreate /dev/vg01 /dev/dsk/c2t1d0
Increased the number of physical extents per physical volume to 8683.
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.
Did I miss some step when remove the vg01, which cause the minor number is occupied?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 09:58 PM
05-31-2006 09:58 PM
Re: vgcreate issue
Yes you missed a step.
check the group files in /dev/vg## for all volume groups. Make sure they are consistent for the volume groups
vgexport vg01
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
There must not be any other volume groups with in their group files.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 10:09 PM
05-31-2006 10:09 PM
Re: vgcreate issue
# vgexport vg01
vgexport: Volume group "/dev/vg01" does not exist in the "/etc/lvmtab" file.
vgexport: Couldn't export volume group "vg01".
# mkdir /dev/vg01
# mknod /dev/vg01/group c 64 0x010000
# vgcreate /dev/vg01 /dev/dsk/c2t1d0
Increased the number of physical extents per physical volume to 8683.
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.
# echo $?
1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 10:22 PM
05-31-2006 10:22 PM
Re: vgcreate issue
could you post
# ll /dev/*/group
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 10:24 PM
05-31-2006 10:24 PM
Re: vgcreate issue
check the minor number used with the command:
ll /dev/*/group
Perhaps you used a minor number for vg01 (with the command mknod) that is already in use.
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 10:33 PM
05-31-2006 10:33 PM
Re: vgcreate issue
vgremove doesn't remove the vgXX directory as well where vgexport does that. So if you use vgremove then should delete manually /dev/vgXX directory.
That should be the reason now the system is finding another group file with the same major/minor number.
Check as other people said by ll /dev/*/group and if any just delete it.
Please don't forget to give the final statement here about the conclusion of the problem and if you think people here helped you then don't forget to assign points.
Thanks for your collaboration!
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 01:15 PM
06-01-2006 01:15 PM
Re: vgcreate issue
# ll /dev/*/group
crw-r----- 1 root sys 64 0x000000 Jun 1 08:20 /dev/vg00/group
crw-rw-rw- 1 root sys 64 0x010000 Jun 1 11:54 /dev/vg01/group
It looks like both vgreduce and vgremove, couldn't be able to clean remove it. So is there any command to clean remove one VG?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 01:23 PM
06-01-2006 01:23 PM
Re: vgcreate issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 01:33 PM
06-01-2006 01:33 PM
Re: vgcreate issue
# ll /dev/vg01
/dev/vg01 not found
# mkdir /dev/vg01
# mknod /dev/vg01/group c 64 0x010000
# chmod 640 /dev/vg01/group
# ll /dev/vg01
total 0
crw-r----- 1 root sys 64 0x010000 Jun 2 03:13 group
# vgcreate /dev/vg01 /dev/dsk/c2t1d0
Increased the number of physical extents per physical volume to 8683.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 02:49 PM
06-01-2006 02:49 PM
Re: vgcreate issue
Is there an /dev/slvmvg file?
# rm /dev/slvmvg
# mv /etc/lvmtab /etc/lvmtab.old
# vgscan -a -p -Âv
-p for prep