- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX 11.00: Restoring previous LVM information
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
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
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-29-2003 01:57 AM
тАО09-29-2003 01:57 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2003 02:03 AM
тАО09-29-2003 02:03 AM
SolutionYou can still import it, though:
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgimport -s /dev/vg01
vgchange -a y /dev/vg01
This will scan the physical volumes available for LVM information to select the proper PVs (the -s option) and use default lvol names (since we were unable to export to create a map file).
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2003 02:45 AM
тАО09-29-2003 02:45 AM
Re: HPUX 11.00: Restoring previous LVM information
I did not make a map file prior to performing the restore....can the vgcfgrestore command be used if the chacter and block file where created manaully? (that is, mknod /dev/vg01/group c 64 0x010000, mknod /dev/vg01/d01 c 64 010001, mknod /dev/vg01/rd01 b 64 0x010001....)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2003 02:50 AM
тАО09-29-2003 02:50 AM
Re: HPUX 11.00: Restoring previous LVM information
I think you might have to do a vgscan which will re-build yout /etc/lvmtab by looking at all the LVM data on the disks. Make a copy of your /etc/lvmtab file first though.
Just remember though, Pete is probably right :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2003 02:51 AM
тАО09-29-2003 02:51 AM
Re: HPUX 11.00: Restoring previous LVM information
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2003 02:54 AM
тАО09-29-2003 02:54 AM
Re: HPUX 11.00: Restoring previous LVM information
Thanks for the vote of confidence but I wouldn't be so sure.
L.G. - if the -s option won't work, you'll just have to list the paths to the physical disk in your vgimport command. Since you have that information for you "strings /etc/lvmtab", it shouldn't be too difficult in any case.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2003 02:56 AM
тАО09-29-2003 02:56 AM
Re: HPUX 11.00: Restoring previous LVM information
Check this doc for both options with and witout the map file.
EUROPE
http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065011405
US
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065011405
Regards,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2003 05:44 AM
тАО09-29-2003 05:44 AM
Re: HPUX 11.00: Restoring previous LVM information
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2003 01:54 AM
тАО09-30-2003 01:54 AM
Re: HPUX 11.00: Restoring previous LVM information
I'm curious - how did you accomplish this?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2003 02:36 AM
тАО09-30-2003 02:36 AM
Re: HPUX 11.00: Restoring previous LVM information
I did this two weeks ago too when a colleague had attempted to import a volume group but something had gone wrong. I couldn't see anything wrong and as a long shot, I just recreated the devices with "mknod" and the volume group activated after that.