- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgimport: Cannot open the 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
06-13-2009 10:36 PM
06-13-2009 10:36 PM
vgimport: Cannot open the control file
root:/dev/vggtdwase2> vgimport -v -s -m /tmp/gca/gtdwase2 /dev/vggtdwase2
Beginning the import process on Volume Group "/dev/vggtdwase2".
vgimport: Cannot open the control file "/dev/vggtdwase2/group":
No such device
When I try to activate this volume group: /dev/vggtdwase2 it says:
vgchange: Volume group "/dev/vggtdwase2" does not exist in the "/etc/lvmtab" file.
I need help badly on this one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2009 10:45 PM
06-13-2009 10:45 PM
Re: vgimport: Cannot open the control file
You need to create vg group file before proceeding with vgimport
#mkdir /dev/vggtdwase2
#mknod /dev/vggtdwase2/group c 64 0xYY0000
replace YY with uniq minor number
Then do vgimport
Rgds
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2009 11:02 PM
06-13-2009 11:02 PM
Re: vgimport: Cannot open the control file
>>>> vgimport: Cannot open the control file "/dev/vggtdwase2/group":
No such device
This warning is self explainatory, vgimport expects group device file :/dev/vggtdwase2/group
In addition:
Your command would have been running successfully if you would have LVM2.0 which don't need other steps provided above.
Check this URL:
http://parwatraj-naidu.blogspot.com/2009/06/whats-happening-part-i-hpux-lvm-2x.html
Good Luck!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2009 12:03 AM
06-14-2009 12:03 AM
Re: vgimport: Cannot open the control file
/tmp/gca/gtdwase2
or this vg doesn't exist.
/dev/vggtdwase2
check with strings /etc/lvmtab | grep vggtdwase2
if the above 2 are correct, then do
kctune |grep maxvgs
if it reports 10, then you increase this by
kctune maxvgs=256 and then reboot
if maxvgs is > 10, then
did you do
mkdir /dev/vggtdwase2
mknod /dev/vggtdwase2/group c 64 0x##0000
(make sure ## is same as the one from where you exported)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2009 12:36 AM
06-14-2009 12:36 AM
Re: vgimport: Cannot open the control file
Make VG directories and group control files for all VGs on second node and then import the the map filles.
mkdir /dev/vggtdwase2
ls -l /dev/*/group
mknod /dev/vggtdwase2/group c 64 0x##0000
(minor number should be unique in system)
vgimport -v -s -m /tmp/gca/gtdwase2 /dev/vggtdwase2
thanks and regards
Sajjad Sahir