- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgcreate error
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
тАО07-13-2004 07:02 PM
тАО07-13-2004 07:02 PM
root@devux/prdtn/dbs/dbf>vgcreate -s 8 -e 65535 vg_prdtn /dev/dsk/c7t0d0
vgcreate: Volume group "/dev/vg_prdtn" 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.
but
root@devux/prdtn/dbs/dbf>ls -la /dev/*/group
crw-r----- 1 root sys 64 0x000000 Nov 13 2000 /dev/vg00/group
crw-r--r-- 1 root sys 64 0x010000 Jan 17 2001 /dev/vg01/group
crw-r--r-- 1 root sys 64 0x020000 Nov 22 2000 /dev/vg02/group
crw-r----- 1 root sys 64 0x030000 Dec 28 2000 /dev/vg03/group
crw-r--r-- 1 root sys 64 0x040000 Jul 3 2001 /dev/vg04/group
crw-r----- 1 root sys 64 0x100000 Jul 17 2002 /dev/vg_aste_1/group
crw-r----- 1 root sys 64 0x110000 Jul 17 2002 /dev/vg_aste_2/group
crw-r----- 1 root sys 64 0x120000 Jul 17 2002 /dev/vg_aste_3/group
crw-r----- 1 root sys 64 0x130000 Jul 17 2002 /dev/vg_aste_4/group
crw-r----- 1 root sys 64 0x140000 Jul 19 2002 /dev/vg_aste_5/group
crw-r----- 1 root sys 64 0x1a0000 Jul 13 11:11 /dev/vg_asterix/group
crw-r----- 1 root sys 64 0x060000 Jun 5 2003 /dev/vg_obelix/group
crw-r----- 1 root sys 64 0x1b0000 Jul 14 08:55 /dev/vg_prdtn/group
crw-r----- 1 root sys 64 0x070000 Jul 14 08:45 /dev/vg_prdtn_old/group
crw-r----- 1 root sys 64 0x160000 Jun 3 2003 /dev/vg_rwh/group
What am I mistaken?
Thank You
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2004 07:17 PM
тАО07-13-2004 07:17 PM
Re: vgcreate error
Repeat this again, be sure about VG name.
1. # vgexport /dev/vg_prdtn
2. # mkdir /dev/vg_prdtn
3. # mknod /dev/vg_prdtn/group c 64 0x1b0000
4. # vgcreate -s 8 -e 65535 vg_prdtn /dev/dsk/c7t0d0
This should work.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2004 07:18 PM
тАО07-13-2004 07:18 PM
Re: vgcreate error
can you explain the vg creation procedure that you followed.
we normally follow this
#pvcreate -f
#mkdir /dev/
#cd /dev/
#mknod /dev/
where y is vg number
#vgcreate /dev/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2004 07:30 PM
тАО07-13-2004 07:30 PM
Re: vgcreate error
you should first use
mkdir /dev/vg_prdtn
and then in that dir
mknod group c 64 0x
(for example vg01 - 0x010000)
This should do the trick
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2004 07:37 PM
тАО07-13-2004 07:37 PM
SolutionPHCO_29379
When more than one Volume Groups in LVM uses the same minor
number they overstep on each others data structures in the
kernel resulting in unpredictable behaviour with any of the
operations with these volume groups. This problem will not
go away even after removing both the volume groups. Any
creation of a volume group with the same minor number (after
removing all the Volume Groups using that minor number)
would fail with the following message even though there is
no volume group using that minor number at this time.
so try patching, rebooting, or another unused minor number.
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2004 07:52 PM
тАО07-13-2004 07:52 PM
Re: vgcreate error
I did:
1) vgexport vg_prdtn
2) vgimport vg_prdtn with another name (vg_prdtn_old)
(I've to rename vg first because I have to migrate data)
3) mkdir /dev/vg_prdtn
4) mknod /dev/vg_prdtn/group c 64 0x1b0000
5) vgcreate new vg_prdtn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2004 07:58 PM
тАО07-13-2004 07:58 PM
Re: vgcreate error
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2004 08:20 PM
тАО07-13-2004 08:20 PM
Re: vgcreate error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2004 08:26 PM
тАО07-13-2004 08:26 PM
Re: vgcreate error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2004 08:48 PM
тАО07-13-2004 08:48 PM
Re: vgcreate error
out of support since ages, I believe last patch bundles dates from december 2002
We do not support 10.20, thread closed!
now seriously:
- try other minor numbers
- try a new VG name with same minor number (if vg_prdtn_old is a renamed vg_prdtn)
- check maxvgs in your kernel, must be at least 28 to use 1B as a minor number
good luck,
Thierry