| United States-English |
|
|
|
![]() |
Installing and Updating Hardware Extensions (HWE)for HP-UX 10.20 (April 1999): HP 9000 Computers > Chapter 4 HP-UX System Recovery Essential System Recovery: Creating a Bootable Recovery Tape |
|
The make_recovery command creates a system- recovery tape. This tape can be used to boot and recover a system which has become unbootable due to corruption of the root disk or volume group. By providing a "customized" installation medium, the tool makes use of the installation technology provided by Ignite-UX. A system can be booted and installed from the tape without user intervention for configuration, customization, software selection, hostname, or IP address. The system-recovery tape consists of a boot image, followed by an archive of system files that comprise a minimum core OS. The minimum core OS consists of /stand, /sbin, /dev, /etc, and subsets of /usr, /opt and /var that are required during the install process. The devices or volume groups that correspond to the file systems/directories /, /dev, /etc, /sbin, /stand, and /usr are considered core devices or volume groups. These devices or volume groups are recreated during the recovery process. All non-OS data on them would be removed and restored during the recovery process, if they were specifically appended to the recovery tape. If /usr, /opt or /var are mounted elsewhere, they would not be re-installed during the recovery process, and are fully preserved. The make_recovery command provides a mechanism for you to specify your own non-system files in the archive by using the /var/adm/makrec.append file. These specifications are limited to files or directories that belong to file systems in the core devices or volume groups. The make_recovery command also provides a mechanism for you to exclude selected files from the archive via the -p and -r options. For backing-up and recovering non-core file systems which are not on the core device or volume groups, you would use normal backup utilities.
LoggingProgress and errors are logged to the file /var/opt/ignite/logs/mkrec.log*. Default Recovery of Entire Root DiskTo create a System Recovery tape, which includes the entire root volume group and a non-core volume group, if /usr is included in the non-root volume group, do the following (the tape would be generated at the default device /dev/rmt/0m):
Creating a Minimal OS Recovery SystemTo create only a root-volume group archive/system, including only the core files/directories from other volume groups, you can use the default command, as follows:
Restoring a SystemTo restore the root disk or volume group, do the following:
For More Examples and InformationSee the man page make_recovery(1M) for details on using the options, and the syntax for doing so. The make_medialif command, also delivered with Ignite-UX, creates a bootable LIF image which can be copied to either a DDS tape or a writable CD to create an Ignite-UX install medium. ExamplesSome typical examples of the use of make_medialif are the following:
Creating a fully self-contained tape that does not require the use of an Ignite-UX server involves copying a depot or system archive to the tape and specifying a config file representing the archive or depot. Recovery ProcedureTo recover a failed system disk or volume group, you would do the following:
The system recovery tape can also be used to duplicate software on your system onto another system, with some manual configurations after the software has been installed. For More Examples and InformationSee the man page make_medialif(1M) for details on using the options, and the syntax for doing so. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||