- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to specify minor number for /dev/vgx/group...
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
01-18-2002 01:31 AM
01-18-2002 01:31 AM
nodeB@root#/etc/hp/EBTCIA:> vgimport -v -s -m dev/vgprz10.map /dev/vgprz10
Beginning the import process on Volume Group "/dev/vgprz10".
vgimport: Cannot open the control file "/dev/vgprz10/group":
No such device
But I have already created this file.
nodeB@root#/etc/hp/EBTCIA:> ll /dev/vgprz10/group
crw-r--r-- 1 root sys 64 0x360000 Jan 18 16:32 /dev/vgprz10/group
If I change minor number to 0x2b0000, then every thing goes smoothly. How come I cannot use 0x360000 that I ensure no other VG use this number.
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2002 01:36 AM
01-18-2002 01:36 AM
Re: How to specify minor number for /dev/vgx/group?
you have to change your kernel-parameter "maxvgs". I think it defaults to 10 so the max number allowd is 0x0a0000.
Frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2002 01:38 AM
01-18-2002 01:38 AM
Re: How to specify minor number for /dev/vgx/group?
0x360000 is a huge number to use for a VG group id, it probably completely changes the way the device is accessed.
The normal procedure for creating a VG group file is to start at;
0x010000
then go up;
0x020000
0x030000
....
as 0x00000 is used for VG00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2002 01:40 AM
01-18-2002 01:40 AM
SolutionThe minor number for the group file should be unique among all the volume groups on the system. It has the format 0xNN0000, where NN runs from 00 to 09. The maximum value of NN is controlled by the kernel tunable parameter maxvgs.
Unless you increase the default tunable parameter maxvgs from 10 to 55 (36 is hax for 54), you will not be able to use 0x360000 as the minor number for your volume group.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2002 01:41 AM
01-18-2002 01:41 AM
Re: How to specify minor number for /dev/vgx/group?
The number represents a hexadecimal value.
For instance once you have
vg01 0x010000
vg02 0x020000
etc
vg09 0x090000
vg10 0x0a0000
etc
Once you cannot create further groups
you need to increase the kernel paramater
'maxvgs'. Increase it to at least 30 more
if required. Also these numbers are an
example, they are usually done in creation
order.
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2002 01:46 AM
01-18-2002 01:46 AM
Re: How to specify minor number for /dev/vgx/group?
Just a word of caution.
The default maxvgs parameter value 10 means that you can only use 0x000000 to 0x090000. Thus, you cannot use 0x0a0000 (hex a = dec 10) since it would be the 11th VG.
man 1m vgcreate for more information.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2002 01:51 AM
01-18-2002 01:51 AM
Re: How to specify minor number for /dev/vgx/group?
minor start with 0x010000 and then goes like
0x020000, 0x030000 .....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2002 03:08 AM
01-18-2002 03:08 AM
Re: How to specify minor number for /dev/vgx/group?
the minor device number looks like this:
0xVV00LL
where:
- "0x" means hexdecimal
- "VV" is the internal VolumeGroup number, which must from 0 to one less than the kernel parameter "maxvgs"
- "00" must be two zeros
- "LL" is the internal LogicalVolume number, which must be from 1 to the maximum of LVs for this VG, as configured by "vgcreate"
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 06:10 PM
01-23-2002 06:10 PM
Re: How to specify minor number for /dev/vgx/group?
Thanks a lot.