- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Recover volume groups from storage after system co...
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
тАО06-11-2010 05:11 AM
тАО06-11-2010 05:11 AM
Recover volume groups from storage after system corrupt
Last day my HP-UX-v3 server was got crashed and my ignite tape also not working so again i installed v3 operating system nad now the system is come up.
now the problem is i already presented some 10 lun's to the server from my XP storage.
I configured lvm on those disks. is there any way to recover my Volume Groups along with LV & Data from the storage disks.
Need your help to solve this issue...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2010 05:33 AM
тАО06-11-2010 05:33 AM
Re: Recover volume groups from storage after system corrupt
However, you must import one VG at a time, and you must know which LUNs belong to which VG.
Attached is a "getlvmid" script which can find the PVID and VGID from a LVM PV.
Example:
./getlvmid /dev/disk/disk2
/dev/disk/disk2 PVID = eb0784d24b081a24 (created on this host)
/dev/disk/disk2 VGID = eb0784d24b081a24 (created on this host)
You can run this on all your LUNs and look for groups of LUNs with matching VGIDs: the LUNs with the same VGID all belong to the same VG.
For example, once you know that disk1, disk2 and disk3 all belong to the same VG and none of the others do, run:
vgimport vg01 /dev/disk/disk1 /dev/disk/disk2 /dev/disk/disk3
vgchange -a y vg01
Once the VG is successfully imported and activated, you can mount its disks and look inside to identify their content. If you got the VG name wrong, just unmount, deactivate and export it, then re-import it using the correct name.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2010 05:45 AM
тАО06-11-2010 05:45 AM
Re: Recover volume groups from storage after system corrupt
whether i need to create group file before the vgimport command?
Thanks...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2010 05:57 AM
тАО06-11-2010 05:57 AM
Re: Recover volume groups from storage after system corrupt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2010 12:25 PM
тАО06-11-2010 12:25 PM
Re: Recover volume groups from storage after system corrupt
In the recent 11iv3 releases there is a new LVM feature: the vgcreate/vgimport commands can automatically create the VG directory and the group file for you, if they don't already exist.
So, depending on how old your installation media kit was, your 11iv3 system might be able to auto-create the group file.
MK