Problem
How to create emergency recovery tapes. Solution
To create emergency recovery tapes:1. Locate and label the tapes for this procedure. Include the system name, date the tapes were created, and sequence number.
The number of tapes needed varies according to the size and configuration of your system.
2. Switching from the graphical environment to the system console, by pressing <Ctrl><Alt><Esc>.
Log into the system console as root.
3. If the system is already in the single-user mode, skip to step #5.
Otherwise, make sure there are no active users on the system. To do this, enter "who" at the command line.
4. If root is the only user logged in, bring the system to single-user mode with this command:
init 6At the UW7 SplashScreen, enter INITSTATE=1 and hit RETURN for OpenServer6, accept the prompt to enter Maintenance Mode.
5. At the single-user prompt(#), insert the first emergency recovery tape into the appropriate cartridge tape drive.
6. Create the emergency recovery tapes using either step a or step b.
a. Use this step ONLY, if one hard disk is installed, and this disk also contains partitions for operating systems other than SCO.
Enter:/sbin/emergency_rec -e tape tapesizeThe -e option tells emergency_rec to back up the entire primary hard disk.
"tape" is the tape drive location of your inserted tape (ctape1 or ctape2).
"tapesize" is the size of the tape specified either as a number of 512-byte blocks or as a number with a suffix of K,M or G to indicate kilobytes, megabytes or gigabytes.
For example, a tapesize of 51200 or 250M would indicate that
the tape can hold 250MB of data. If the hard disk is larger
than the capacity of a single tape, you are prompted to
insert additional tapes as needed.Please NOTE: You can omit tapesize if the capacity of a single tape is larger than the size of the entire hard disk.
Wait for this command to finish processing and then go to step #7.
b. Use this step for a multiple hard disk system or a single disk system that does not meet the conditions in step #8.
Enter:/sbin/emergency_rec command (without the -e option)This command will back up all SCO Unix partitions on your primary hard disk and the /home, /home2, /var, and /usr filesystems from the secondary hard disk, if they exist there.
Please note: The emergency_rec command does not back up any other filesystems on the secondary disk, nor any filesystems on additional hard disks.
To back up these filesystems and volumes, see "The SYSTEM Handbook; chapter 13; page250."
You are prompted to insert additional tapes as needed.
7. Remove the last tape from the tape drive.
8. Store the emergency recovery tapes with the emergency recovery floppy disks in a secure location.
Handling tape error messages.The following error messages may appear when you create emergency recovery tapes:
"Cannot determine mountpoint for device <device_name>"This message appears when a slice cannot be associated with the filesystem. This prevents the indicated slice from being backed up or restored.
"Duplicate mountpoint <mnt_pt>
detected with device <device_name>"This message appears when the determination of what filesystems the slice are associated with produces a duplicate. Common causes of this error includes using old style device names (dev/dsk/1s1 instead of /dev/dsk/c0b0t1d0s1), or having entries commented out in /etc/vfstab.
If you encounter this message, you must fix the problem before making the emergency recovery tape.
NOTES: For UW714 and OpenServer6, you can also request the 'emercd' package
to write your data on CD/DVD ROMS. See also
emergency_rec(1M)The SCO Open UNIX 8 System Handbook; chapter 13, pages 248-250.
ta115042, "Create emergency recovery media with an encapsulated or mirrored root disk."
ta115043, "How to create emergency recovery diskettes."