- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX 10.20: Full System Recovery from fbackup
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
Forums
Discussions
Discussions
Discussions
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
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
12-18-2002 05:52 PM
12-18-2002 05:52 PM
I'm trying to recover a D370 w/ LVM from a complete fbackup tape (created in single-user mode and verified). So far I've come close, but not quite suceeded (kernel panics during boot).
I'm now aware (from this forum's archives) that I should have downloaded Ignite and used make_tape_recovery, but it's a little too late for that...
Being somewhat new to HP-UX (but experienced with other unixen), I foolishly read the "HP-UX System Administration Tasks" PDF which indicates that fbackup is the best choice for backup (and doesn't mention make_recovery). I've been through several other manuals and found that they have conflicting instructions (do/don't use COPYUTIL, etc), but even the "Expert System Recovery" section didn't cover this.
I tried booting off of the Installation CD and using the recovery options, but found that the RAM FS was simply too small to load the needed programs. But I was able to get the LIF in a good state.
Based on advice, I tried doing a minimal install with the same lv sizes for vg00, then adding the additional vg/lv's, and running frecover in single user mode over the running system. Unsurprisingly, that didn't boot, but using the recovery mode and maintenance mode (hpux -lm) I've been able to get it to the point where the kernel loads and panics.
Sigh. Is there a way to perform a full system recovery without a make_tape_recovery? And how does one deal with a system w/o a tape drive when there's no Ignite boot server?
Thanks,
-Scott-
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2002 06:11 PM
12-18-2002 06:11 PM
Re: HP-UX 10.20: Full System Recovery from fbackup
Can you load the tape on some othe system and see if it has got the full list of files, specially latest kernal in /stand which you had prior to system going bad.
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2002 06:53 PM
12-18-2002 06:53 PM
Re: HP-UX 10.20: Full System Recovery from fbackup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2002 11:03 PM
12-18-2002 11:03 PM
Solution-----------------------------
This is a list of things you can do ahead of time that will make
recovery easier after a failure:
1. Regularly print the output of the following commands:
/usr/sbin/ioscan -fk
/usr/sbin/vgdisplay -v
/usr/sbin/lvlnboot -v
/usr/sbin/lvdisplay -v /dev/vgXX/lvYY (for every logical volume)
/usr/sbin/pvdisplay -v /dev/dsk/c#t#d0 (for every LVM disk)
cat /etc/fstab
fax = cat /etc/fstab
2. Make sure you have a reliable full system backup.
Use the SAM Backup and Recovery, fbackup, or any other supported
method. It may be useful to use COPYUTIL after each major
system change. This is done from the Support Media.
Note: This will obviate the need for step 2 below in the following
section.
3. Make an extra copy of these files in a non-root volume group:
/etc/passwd
/etc/group
/etc/lvmtab
/etc/lvmconf/ (entire directory)
/etc/fstab
/etc/rc.config.d/ (entire directory)
Steps for the Recovery
----------------------
1. If possible, perform a vgexport(1M) of your other volume groups,
except for vg00. Make sure that you use the option for map files.
Example: vgexport -v -m vg00.map /dev/vg01
2. Reinstall on your root disk(s), Specify all of the logical
volumes and disks needed for vg00. Make sure to remember that the
device files for these disks may remap. Expand any file systems
as needed at this time.
3. Restore all files in the root vg (usually vg00) from backup,
except for the files is this list:
/etc/fstab
/etc/lvmtab
/etc/lvmconf/
/etc/ioconfig
/stand/ioconfig
/dev/dsk/
/dev/rdsk/
/dev/rmt/
/dev/vg*
All non vg00 mount points
4. Restore the mapfiles from tape. If you don't have map file skip
this step.
5. Perform a vgimport of the other volume groups, specifying the
map files if applicable. Remember to specify all the disk device
files all at one time.
Example: vgimport -v -m vg02.map /dev/vg02 /dev/dsk/c1t4d0
/dev/dsk/c1t3d0
6. Edit /etc/fstab to reflect all file systems properly.
7. Refer to the information collected in Step 1 for any
additional "restoration" of the system configuration.
8. If you didn't have a map file, then rename the /dev/vgxx/lvoly
and rlvoly filenames to their original names (for example,
/dev/vg01/foo and rfoo).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2002 04:52 PM
12-19-2002 04:52 PM
Re: HP-UX 10.20: Full System Recovery from fbackup
Thanks, that's the answer.
I'd muddled through much of it beforehand, but hadn't adequately handled the /dev links, leaving two different lvol's on the same minor device number.
Everything worked fine (after I fixed that, scraped a little more cruft off, and rebuilt the kernel for good measure).
Thanks again,
-Scott-
(And thanks to Rajeev too -- that's (almost) exactly how I made the backups originally)