- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Major & Minor Number error when try to to VGcr...
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-08-2003 07:54 PM
07-08-2003 07:54 PM
# pvcreate /dev/rdsk/c7t0d4
Physical volume "/dev/rdsk/c7t0d4" has been successfully created.
# vgcreate /dev/vgsapdbp014 /dev/dsk/c7t0d5
vgcreate: Volume group "/dev/vgsapdbp014" 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.
# ls -ll /dev/*/group
crw-r----- 1 root sys 64 0x000000 Nov 15 2002 /dev/vg00/group
crw-rw-rw- 1 root sys 64 0x020000 Apr 17 12:06 /dev/vginfdev/group
crw-rw-rw- 1 root sys 64 0x050000 Jul 8 14:21 /dev/vgsapdbp011/group
crw-rw-rw- 1 root sys 64 0x060000 Jul 8 15:31 /dev/vgsapdbp012/group
crw-rw-rw- 1 root sys 64 0x070000 Jul 8 15:31 /dev/vgsapdbp013/group
crw-rw-rw- 1 root sys 64 0x040000 Jul 9 11:40 /dev/vgsapdbp014/group
crw-rw-rw- 1 root sys 64 0x010000 Apr 17 11:49 /dev/vgsapdev/group
crw-rw-rw- 1 root sys 64 0x030000 Apr 17 12:18 /dev/vgsapp01/group
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2003 08:10 PM
07-08-2003 08:10 PM
Re: Major & Minor Number error when try to to VGcreate
Be aware that the disk you've used for the pvcreate and the vgcreate are different.
Post back the answer after you've tried again and I'm sure we can fix this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2003 08:32 PM
07-08-2003 08:32 PM
Re: Major & Minor Number error when try to to VGcreate
You delete the group file and recreate with major and minor according to your vgvolume
then try to create the volume group using vgcreate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2003 08:49 PM
07-08-2003 08:49 PM
Re: Major & Minor Number error when try to to VGcreate
# rmsf /dev/vgsapdb014/group
# mknod /dev/vgsapdb014/group c 64 0x040000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2003 09:11 PM
07-08-2003 09:11 PM
Re: Major & Minor Number error when try to to VGcreate
i've create the vg with the same method as others vg vgsapdbp011,012,013... and i only have problem with this vg014.
here is my steps:
#mkdir /dev/vgsapdbp014
#ls -ll /dev/*/group checking the unused number)
#mknod /dev/vgsapdbp014 /dev/vgname/group c 64 0x040000
tehn after this i'm doing the pvcreate
..
when i did the ls -ll /dev/*/group.. the 0x040000 is not listed there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2003 09:13 PM
07-08-2003 09:13 PM
Re: Major & Minor Number error when try to to VGcreate
i lefty this one :
# vgcreate /dev/vgsapdbp014 /dev/dsk/c7t0d4
vgcreate: Volume group "/dev/vgsapdbp014" 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
07-08-2003 09:21 PM
07-08-2003 09:21 PM
Re: Major & Minor Number error when try to to VGcreate
#vgexport /dev/vgsapdbp014
Then try re-creating the vg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2003 09:41 PM
07-08-2003 09:41 PM
Re: Major & Minor Number error when try to to VGcreate
i've got this error when issuing the statement
# vgexport /dev/vgsapdbp014
vgexport: Volume group "/dev/vgsapdbp014" does not exist in the "/etc/lvmtab" file.
vgexport: Couldn't export volume group "/dev/vgsapdbp014".
i'm also already did
#rm lvmtab
#vgscav -a -v
#lvlnboot -R
and re-create the same thing again&again
and still getting the error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2003 11:11 PM
07-08-2003 11:11 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2003 11:17 PM
07-08-2003 11:17 PM
Re: Major & Minor Number error when try to to VGcreate
i had similar issues, because some kernel structure got some dirty in it, and didn't let re-use a minor untill a reboot if that had been previously used.
There were some patched regarding this... have you some recent lvm patches ?
swlist | grep -i lvm
But, you can try with a different minor, like 0x080000, one that you have never used till so far.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2003 11:27 PM
07-08-2003 11:27 PM
Re: Major & Minor Number error when try to to VGcreate
Thanks... will try to reboot my systems. and do it all over again..
the swlist | grep -i lvm does not show me anything
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 12:06 AM
07-09-2003 12:06 AM
Re: Major & Minor Number error when try to to VGcreate
forgot a little piece :)
swlist -l product | grep -i lvm
Output similar to the following:
risap004:/root/home/root> swlist -l product | grep -i lvm
LVM B.11.00 LVM
PHCO_21630 1.0 LVM commands cumulative patch
PHKL_22267 1.0 11.00 LVM Cumulative patch
Mine is not recent, but it works...
Massimo