HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- volume groups restoration
Operating System - HP-UX
1833762
Members
2627
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
01-11-2001 06:27 AM
01-11-2001 06:27 AM
volume groups restoration
I recently lost three of my new VGs, vg12, vg18, vg27, but the configurations is recorded
on the /etc/lvmtab strings, when i ran vgcfgrestore, it saved the configuration on the /etc/lvmtab, also noticed that the
vgscan output says that the "following pv belongs to one VG, unable to match those pv to
volume group, use vgimport command to complete the process". I have tried vgexport and vgimport in an attempt to recreate the volume groups, but could not open MAPFILE /dev/dsk/cxtxd0.Iam wondering if i need to remove the device files for each of the disk. Any suggestion will be honored.
thanks.
on the /etc/lvmtab strings, when i ran vgcfgrestore, it saved the configuration on the /etc/lvmtab, also noticed that the
vgscan output says that the "following pv belongs to one VG, unable to match those pv to
volume group, use vgimport command to complete the process". I have tried vgexport and vgimport in an attempt to recreate the volume groups, but could not open MAPFILE /dev/dsk/cxtxd0.Iam wondering if i need to remove the device files for each of the disk. Any suggestion will be honored.
thanks.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2001 03:32 AM
01-18-2001 03:32 AM
Re: volume groups restoration
I don't know what happend with your configuration, but i has a few general tips:
1. Check which volumes are in lvmtab and in lvmtab.old
strings /etc/lvmtab
strings /etc/lvmtab.old
Volumes already in lvmtab cannot exported.
2. Check the saved volume configuration data (vgcfgrestore)
vgcfgrestore -f /etc/lvmconf/vg00.conf
3. The lvmtab contains only the system information, de detailed volume group information in: /etc/lvmconf/
Sorry my bad english ...
Regards:
Paul
1. Check which volumes are in lvmtab and in lvmtab.old
strings /etc/lvmtab
strings /etc/lvmtab.old
Volumes already in lvmtab cannot exported.
2. Check the saved volume configuration data (vgcfgrestore)
vgcfgrestore -f /etc/lvmconf/vg00.conf
3. The lvmtab contains only the system information, de detailed volume group information in: /etc/lvmconf/
Sorry my bad english ...
Regards:
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2001 04:38 AM
01-18-2001 04:38 AM
Re: volume groups restoration
Hi !
For removing do:
vgchange -a n vgxx
vgexport vgxx
after that for importing do:
vgscan -a
mkdir /dev/vgxx
mknod /dev/vgxx/group c 64 0xyy0000
vgimport vgxx /dev/dsk/c....
remarks: yy uniq Your system
use all device file in Your vg.
regards, Saa
For removing do:
vgchange -a n vgxx
vgexport vgxx
after that for importing do:
vgscan -a
mkdir /dev/vgxx
mknod /dev/vgxx/group c 64 0xyy0000
vgimport vgxx /dev/dsk/c....
remarks: yy uniq Your system
use all device file in Your vg.
regards, Saa
If no problem, don't fixed it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2001 06:16 AM
01-18-2001 06:16 AM
Re: volume groups restoration
Bassey,
You can only import a VG, if you have created a map file via vgexport.
Whta you should do is try to restore the volume group.
e.g.
If you want to restore vg27, which was on disk c1t1d1 then restore it asfollow:
- vgcfgrestore -n /dev/vg27 -f /etc/lvmconf/vg27.conf /dev/rdsk/c1t1d1
- vgchange -a y
- mount the Filesystem
Regards
Darrel
You can only import a VG, if you have created a map file via vgexport.
Whta you should do is try to restore the volume group.
e.g.
If you want to restore vg27, which was on disk c1t1d1 then restore it asfollow:
- vgcfgrestore -n /dev/vg27 -f /etc/lvmconf/vg27.conf /dev/rdsk/c1t1d1
- vgchange -a y
- mount the Filesystem
Regards
Darrel
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP