[linux-lvm] Bare Metal Recovery/Restore
grenoml at yahoo.com
Tue Jan 21 16:18:02 UTC 2003
Well I've been digging through man pages and this list trying to see
if I can determine the proper steps to insure a good recovery. The
background is I lost the root drive on one of my RH8 systems. On it
were /, /usr, /usr/local, /usr/src. / was not under LVM. I have Amanda
backups of all the data. I even have done a vgcfgbackup and I have all
the metadata (and the lvmconf directory) saved on another drive. I
want to verify that my recovery steps make sense:
1. install new drive (it is identical to failed drive)
2. boot from rescue CD
3. partition new drive same as old drive (sfdisk /dev/hde <oldhde.conf)
4. run vgcfgrestore on new drive for all Volume Groups that had LV/PVs
that were present on failed drive.
5. restore / filesystem on new drive from backup tar ( I do this for /)
7. (do I need to mkfs on LVM partition here? any special mkfs
7. install temporary version of Amanda to use for recovery
8. restore the /usr, /usr/local, and /usr/src filesystems from backup
10. remove temporary Amanda install.
All should be normal?
Can it be this simple? This seems too easy. My concern is with step
4. Do I need to do more than this for LVM like run lvcreate or
Thanks for any guidance,
--- grenoml <grenoml at yahoo.com> wrote:
> Can someone point me to a HOW-TO for doing a full bare-metal recovery
> for a Linux system (RedHat 8.0) that is using LVM that suffered
> complete hard drive failure. I have a full set of Amanda backup
> that can be network mounted from tape drive on another server.
> Gerry Reno
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> linux-lvm mailing list
> linux-lvm at sistina.com
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
More information about the linux-lvm