- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgimport & control file
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
09-09-2009 05:30 AM
09-09-2009 05:30 AM
vgimport: Cannot open the control file "/dev/vgtest/group":
I think that couse of error is incorrect minor. But i cannot create control file with minor of previous control file.
Here is all my actions:
#pvck -n /dev/dsk/c20t1d2
pvck: using default blocksize
pvck: /dev/dsk/c20t1d2: LVM checksums usable
#vgdisplay vgtest
vgdisplay: Volume group "/dev/vgtest" does not exist in the "/etc/lvmtab" file.
vgdisplay: Cannot display volume group "vgtest".
#mkdir /dev/vgtest
#mknod /dev/vgtest/group c 64 0x100000
#vgimport vgtest /dev/dsk/c20t1d2
vgimport: Cannot open the control file "/dev/vgtest/group":
No such device
#ls -l "/dev/vgtest/group"
crw-r--r-- 1 root sys 64 0x100000 Sep 9 16:27 /dev/vgtest/group
What should I do to import this drive?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2009 05:35 AM
09-09-2009 05:35 AM
Re: vgimport & control file
what OS version is this?
Given that minor number, the first two digits are the number of the vg in hex.
This means that you are adding VG number 16, and if you have HP-UX 11iv2 or below, then you need to have the maxvgs kernel parameter set to allow this many VG's
What other VG minor numbers are in use?
ll /dev/vg*/group
Maybe see if there is a number free between 00 and 09, if so try that instead of 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2009 05:39 AM
09-09-2009 05:39 AM
SolutionHope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2009 05:46 AM
09-09-2009 05:46 AM
Re: vgimport & control file
To add to the 'maxvgs' parameter discussion. This is zero-relative, so a 'maxvgs' value of decimal 17 would be required to use a minor number of decimal 16 (or 0x10).
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2009 05:47 AM
09-09-2009 05:47 AM
Re: vgimport & control file
maxvg was set to 10.