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
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
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
тАО03-27-2001 11:48 PM
тАО03-27-2001 11:48 PM
I am facing problem while importing vgs.
# vgimport -v -/tmp/vg01.map /dev/vg01 /dev/dsk/c5t9d7
Beginning the import process on Volume Group "/dev/vg01".
vgimport: Cannot open the control file "/dev/vg01/group":
No such device
But I have created the group file using mknod command.
# pwd
/dev/vg01
# ll
total 0
crw-r--r-- 1 root sys 64 0x110000 Mar 28 14:17 group
Any help ??
Thanks
Animesh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2001 11:55 PM
тАО03-27-2001 11:55 PM
Re: vgimport
Does minor of group file was duplicate with other vg
check with
#ll /dev/*/group
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2001 11:57 PM
тАО03-27-2001 11:57 PM
Solutionyou forgot the "m", "/dev" not neccessary for vg- name:
vgimport -m /tmp/vg01.map vg01 /dev/dsk/c5t9d7
Hi All,
I am facing problem while importing vgs.
# vgimport -v -/tmp/vg01.map /dev/vg01 /dev/dsk/c5t9d7
Another possibility is that your Majornumber is higher than the Kernel tunable "maxvgs"(typically 10), show with "sysdef"
. It is impossible to have a VG with a Majornumber higher than maxvgs !!
Sorry for my english...;-)
reply to mathias.zubek@gmx.de
Regards
Beginning the import process on Volume Group "/dev/vg01".
vgimport: Cannot open the control file "/dev/vg01/group":
No such device
But I have created the group file using mknod command.
# pwd
/dev/vg01
# ll
total 0
crw-r--r-- 1 root sys 64 0x110000 Mar 28 14:17 group
Any help ??
Thanks
Animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2001 12:00 AM
тАО03-28-2001 12:00 AM
Re: vgimport
The minor number for the group file can only run from 0x000000 to 0x090000.
You are using 0x110000 which is outside the allowable range, resulting in the errors you faced.
You will need to recreate the group file again with a unique minor number within range.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2001 12:18 AM
тАО03-28-2001 12:18 AM
Re: vgimport
1) the correct syntax has to be:
vgimport -v -m /tmp/vg01.map /dev/vg01 /dev/dsk/c5t9d7
2)
The minor number of the group file in your case is 0x11 = 17 decimal.
The default kernel value for max vol. groups is 10, so if you haven't changed the parameter the highest minor number is 0x0a.
If you want more vgs you have to change the kernel parameter 'maxvgs' , build new kernel and reboot.
You could check the parameter with:
sysdef | grep maxvgs
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2001 12:27 AM
тАО03-28-2001 12:27 AM
Re: vgimport
i have forgotten to count the 0 so the max minor is 0x09 as Steven Sim said.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2001 12:29 AM
тАО03-28-2001 12:29 AM
Re: vgimport
Because the default kernel value for maxvgs as highlighted is 10, the highest minor number should be 0x090000. This is because 0x000000 is counted as well. From 0x000000 to 0x090000, you have a total of 10 VGs.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2001 01:29 AM
тАО03-28-2001 01:29 AM
Re: vgimport
My maxvg was set to 10.
after increasing the number it is ok now.
thanks for your response.
animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2006 11:42 PM
тАО09-13-2006 11:42 PM
Re: vgimport
GE CompuNet (Einfeldt)
is really helpful,
I met the exact same problem when doing vgimport. I'll adjust maxvgs to solve this problem.
Thank you very much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2006 08:50 PM
тАО12-12-2006 08:50 PM
Re: vgimport
Thank you very much!