- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Volume group "/dev/vg01" does not exist in the "/e...
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
11-02-2004 01:00 PM
11-02-2004 01:00 PM
Volume group "/dev/vg01" does not exist in the "/etc/lvmtab" file
Now I lost /dev/vg01
#vgdisplay -v /dev/vg01
vgdisplay: Volume group "/dev/vg01" does not exist in the "/etc/lvmtab" file.
vgdisplay: Cannot display volume group "/dev/vg01".
#vgcfgrestore -n /dev/vg01 -l
Volume Group Configuration information in "/etc/lvmconf/vg01.conf"
VG Name /dev/vg01
---- Physical volumes : 2 ----
/dev/rdsk/c5t8d0 (Non-bootable)
/dev/rdsk/c7t8d0 (Non-bootable)
Do you know how to restore vg01 ?
Thanks
quan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 01:18 PM
11-02-2004 01:18 PM
Re: Volume group "/dev/vg01" does not exist in the "/etc/lvmtab" file
How did you lose vg01?. If you didn't export it, then you can try recreating the /etc/lvmtab
#mv /etc/lvmtab /etc/lvmtab.good
#vgscan -a
If this is not successful, then move the old lvmtab back and then try importing the vg fresh.
#mv /etc/lvmtab.good /etc/lvmtab
#mkdir /dev/vg01
#mknod /dev/vg01/group c 64 0x010000
#vgimport -v -m /etc/lvmconf/vg01.map /dev/dsk/c5t8d0 /dev/dsk/c7t8d0
If you don't have vg01.map files in /etc/lvmconf, then don't specify it. Logical volumes with default names (lvol1, lvol2) will be created. You will need to indivicually mount them and see what they were before.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 03:38 PM
11-02-2004 03:38 PM
Re: Volume group "/dev/vg01" does not exist in the "/etc/lvmtab" file
but with cmd
#vgimport -v -m /etc/lvmconf/vg01.mapfile /dev/dsk/c5t8d0 /dev/dsk/c7t8d0
OR
#vgimport -v -m /etc/lvmconf/vg01.mapfile /dev/rdsk/c5t8d0 /dev/rdsk/c7t8d0
regards,
quan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 03:45 PM
11-02-2004 03:45 PM
Re: Volume group "/dev/vg01" does not exist in the "/etc/lvmtab" file
Use bock device file so correct cmd is
#vgimport -v -m /etc/lvmconf/vg01.mapfile /dev/dsk/c5t8d0 /dev/dsk/c7t8d0
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 05:31 PM
11-02-2004 05:31 PM
Re: Volume group "/dev/vg01" does not exist in the "/etc/lvmtab" file
before importing you also need to create /dev/vg01 direcory and group special file for vg01 if they are not present. After vgexport they get lost.
so sequence would be like this:
# mkdir /dev/vg01
# mknod /dev/vg01/group c 61
#vgimport -v -m /etc/lvmconf/vg01.mapfile /dev/dsk/c5t8d0 /dev/dsk/c7t8d0
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 05:56 PM
11-02-2004 05:56 PM
Re: Volume group "/dev/vg01" does not exist in the "/etc/lvmtab" file
please read it as:
# mknod /dev/vg01/group c 64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2004 06:03 PM
11-03-2004 06:03 PM
Re: Volume group "/dev/vg01" does not exist in the "/etc/lvmtab" file
do a ll /dev/*/group to find unused / available minor numbers the format is 0x??0000, where ?? is an arbitrary hex number.
Regards
Gerhard