- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem with vgimport
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
04-25-2008 08:33 AM
04-25-2008 08:33 AM
I have a 2 node cluster, and I need a VG to be added.
I created the VG in the first node without problem. Then:
vgexport -p -m vgoraarch01.map vgoraarch01
In the second node, when I tried to impor, i have the annoying message:
root@brcsfpbd01:/tmp >vgimport -v -m vgoraarch01.map -f disk.infile vgoraarch01
Beginning the import process on Volume Group "vgoraarch01".
vgimport: Minor number of /dev/vgoraarch01/group is not unique. /dev/vgoraarch01/group has the same minor number.
Then Iroot@brcsfpbd01:/tmp >vgimport -v -m vgoraarch01.map -f disk.infile vgoraarch01
Beginning the import process on Volume Group "vgoraarch01".
vgimport: Minor number of /dev/vgoraarch01/group is not unique. /dev/vgoraarch01/group has the same minor number.
With vgscan -p, please check the attached file. I can not create any other VG, with any other minor. I tested a lot of minor numer, from oe to 5e, but I cant make it.
Please, help me.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2008 08:43 AM
04-25-2008 08:43 AM
Re: Problem with vgimport
on 11.11:
kmtune -q maxvgs
on 11.23:
kctune -q maxvgs
Obviously you need it to be higher than the number of VGs you have.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2008 08:44 AM
04-25-2008 08:44 AM
Re: Problem with vgimport
>>Make sure that you have unique same minor numbers for all shared volume groups across the nodes in cluster.
>>I would always create map file with "-s" option to get VGID on map file.
#vgexport -p -v -s -m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2008 08:44 AM
04-25-2008 08:44 AM
Re: Problem with vgimport
It sound like the minor number is incorrect.
To change the minor numbers we did:
unmount the filesystem
vgchange -a n /dev/vgXX
vgexport -v -s -m vgXX.map /dev/vgXX
mkdir /dev/vgXX
chmod as necessary for /dev/vgXX
mknod /dev/vgXX/group c 64 0xwhatever-it-should-be
vgimport
vgchange -c y /dev/vgXX
vgchange -a e /dev/vgXX
mount the filesystem
Hope this helps!
sp,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2008 08:46 AM
04-25-2008 08:46 AM
Solution1st/ search if you have a large file (>2Go) on /dev
2nd/ what is your LVM patch level?
PHCO_33310 fix this defect for 11.11:
( SR:8606410321 CR:JAGaf70203 )
On a system installed with PHCO_24809 or any of its
superseding patches, and when files with sizes larger than
MAX_SMALL_FILE (2147483647) exist under the /dev directory,
vgcreate(1M), vgimport(1M) and vgscan(1M) might fail with
error messages as shown below.
vgcreate(1M) and vgimport(1M) logs message similar to:
"Minor number of /dev/xxx/xxx is not unique. /dev/xxx/xxx
has the same minor number".
and vgscan(1M) logs messages similar to:
"Error getting path name of volume group with group file
minor number 0x0.
Value too large to be stored in data type".
On 11.23 it's corrected by PHCO_34421.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2008 08:49 AM
04-25-2008 08:49 AM
Re: Problem with vgimport
Yes, Duncan is correct. It could be a issue with maxvgs. Defaukt value is 10. Check that , if you have 10 vg's already, you may need to increase that value and reboot that node.
Good things is .. In 11iv3, maxvgs kernel parameter is been removed.
Best Regards,
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2008 08:50 AM
04-25-2008 08:50 AM
Re: Problem with vgimport
kmtune -q maxvgs
Tunable Value Expression
maxvgs 100 100
PHCO_35063 1.0 LVM commands patch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2008 08:59 AM
04-25-2008 08:59 AM
Re: Problem with vgimport
For 11iv2, Latest LVM commad patch is PHCO_36744 and it fixes this issue.
( SR:8606399189 CR:JAGaf59154 )
When files of size greater than MAX_SMALL_FILE (2147483647
bytes) exist under the /dev directory,
vgcreate(1M) and vgimport(1M) throw error messages similar
to:
"Minor number of /dev/dsk/file1 is not unique.
/dev/dsk/file2 has the same minor number".
vgscan(1M) throws messages similar to:
"Error getting path name of volume group with
group file minor number 0x0.Value too large to be stored
in data type".
Best Regards,
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2008 09:07 AM
04-25-2008 09:07 AM
Re: Problem with vgimport
post your ll /dev/*/group output of every node.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2008 10:30 AM
04-26-2008 10:30 AM
Re: Problem with vgimport
After the reboot, I imported the VG using my minor number 0x0e without problem.
Thanks again.