HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LVM Configuration Recoverability
Operating System - HP-UX
1830350
Members
1869
Online
110001
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
08-13-2003 10:19 AM
08-13-2003 10:19 AM
LVM Configuration Recoverability
Pardon this Question.. I am not done reading through advanced LVM and IgniteUX... But here's the question nevertheless:
If I have an existing HPUX server that already exists with VG's on it already -- and if I re-install the OS (completely -- no remnants of the old install) -- would I still be able to recover these VG's and mount the filesystems on the LVOLs that were in there? Or configuration copies must always be had on tape, different server or the recovery tape/file?
Just comparing recoverability options as I also am responsible with DR...
If I have an existing HPUX server that already exists with VG's on it already -- and if I re-install the OS (completely -- no remnants of the old install) -- would I still be able to recover these VG's and mount the filesystems on the LVOLs that were in there? Or configuration copies must always be had on tape, different server or the recovery tape/file?
Just comparing recoverability options as I also am responsible with DR...
Hakuna Matata.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2003 10:35 AM
08-13-2003 10:35 AM
Re: LVM Configuration Recoverability
If I understood correcly:
1) If you are talking about LVs in root VG (/dev/vg00), it is not recoverable after doing a cold install (fresh install).
2) If you are talking about recovering LVs in other VGs (vg01, vg02 etc), it is recoverable and mountable, provided you don't erase anything on those disks.
3) Preserving vg configuration map files (vgexport) in tape or another system is most recommended. However, if you don't want to do that you still be able to recover those VGs and LVs (vgscan and vgimport).
1) If you are talking about LVs in root VG (/dev/vg00), it is not recoverable after doing a cold install (fresh install).
2) If you are talking about recovering LVs in other VGs (vg01, vg02 etc), it is recoverable and mountable, provided you don't erase anything on those disks.
3) Preserving vg configuration map files (vgexport) in tape or another system is most recommended. However, if you don't want to do that you still be able to recover those VGs and LVs (vgscan and vgimport).
Life is a promise, fulfill it!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2003 10:37 AM
08-13-2003 10:37 AM
Re: LVM Configuration Recoverability
Hi Nelson:
Creating an Ignite recovery tape ('make_tape_recovery') and then using the tape to reinstall on the same hardware will present no problems. A preview 'vgexport' of all volume groups is done during the creation of the recovery tape. During a recovery session Ignite will attempt to 'vgimport' the volume groups it saw previously. Assuming that the disk devicee files haven't changed due to hardware changes since the server was last ignited (cold-installed) the pv_paths cataloged by Ignite will be correct and the volume groups imported.
In the event that disk pv_paths *do* change, you can manually 'vgimport' your volume groups anyway. Ignite helpfully created map files in the '/etc/lvmconf/' directory and these can be used to correctly name your volume group's logical volumes. Should you need to ascertain which physical disk belong to which volume group, do a preview-mode 'vgscan' ('vgscan -apv') to ascertain the correct relationships. The 'vgscan' output will be grouped according to the VGID found on the LVM headers of the physical devices thus found. Using that infomration, and the map files memntioned above, it is easy to construct the pv_path information to supply to the 'vgimport'.
Regards!
...JRF...
Creating an Ignite recovery tape ('make_tape_recovery') and then using the tape to reinstall on the same hardware will present no problems. A preview 'vgexport' of all volume groups is done during the creation of the recovery tape. During a recovery session Ignite will attempt to 'vgimport' the volume groups it saw previously. Assuming that the disk devicee files haven't changed due to hardware changes since the server was last ignited (cold-installed) the pv_paths cataloged by Ignite will be correct and the volume groups imported.
In the event that disk pv_paths *do* change, you can manually 'vgimport' your volume groups anyway. Ignite helpfully created map files in the '/etc/lvmconf/' directory and these can be used to correctly name your volume group's logical volumes. Should you need to ascertain which physical disk belong to which volume group, do a preview-mode 'vgscan' ('vgscan -apv') to ascertain the correct relationships. The 'vgscan' output will be grouped according to the VGID found on the LVM headers of the physical devices thus found. Using that infomration, and the map files memntioned above, it is easy to construct the pv_path information to supply to the 'vgimport'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2003 10:43 AM
08-13-2003 10:43 AM
Re: LVM Configuration Recoverability
Well... my net connection finally got restored to "turbo" mode and so I am able to freely search the forums...
Looks like this is a rather simple thing and VG's are easily recovered...
- create /dev/g directory
- mknod...
....
Really a good site for "transitioning" - but sometimes "Lazy" Admins like me ;-) I'll do my best as well to share as much experience and thoughts to the forum...
Looks like this is a rather simple thing and VG's are easily recovered...
- create /dev/g directory
- mknod...
....
Really a good site for "transitioning" - but sometimes "Lazy" Admins like me ;-) I'll do my best as well to share as much experience and thoughts to the forum...
Hakuna Matata.
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