Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ emergency_disk(1M) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

backup(1M)

emergency_rec(1M)

restore(1M)






       emergency_disk(1M)                                emergency_disk(1M)


       NAME
             emergency_disk - create emergency recovery diskettes

       SYNOPSIS
             emergency_disk [-d directory_name] disk_drive

       DESCRIPTION
             The emergency_disk command creates emergency recovery
             diskettes customized for your system.  These diskettes should
             be created once all your system software is installed.  You
             should store these diskette in a safe and easily accessible
             location in case an emergency such as the following occurs:

                   Your system will not boot.

                   The UnixWare system files are corrupted beyond repair.

                   Your hard disk is damaged and has been reformatted or
                   replaced.

             In such cases you can use the emergency recovery diskettes to
             restore your system.  To do so, insert the first emergency
             recovery diskette and reboot your system.  When prompted,
             remove the first diskette, insert the second diskette, and
             then press  ENTER.  Then follow the menu options.

             Two basic set of options are provided:

             1.    If the operating system software still exists on your
                   system, you can attempt to repair the damage by using
                   the set of UnixWare commands provided on the emergency
                   diskettes.  In particular, you can invoke a UnixWare
                   operating system that provides the following commands:
                   cat(1), chroot(1M), cpio(1), date(1), dd(1M),
                   disksetup(1M), echo(1), edvtoc(1M), fdisk(1M), find(1),
                   fsck(1M), grep(1), ksh(1), labelit(1M), ln(1), ls(1),
                   mkdir(1), mkfs(1M), mount(1M), prtvtoc(1M), rm(1),
                   stty(1), and vi(1).  Also, depending on how severely
                   your system is damaged, you may be able to mount and
                   unmount file systems from your hard disk.  In this case
                   you can access all the commands on your UnixWare system.

             2.    If you backed up your system using the emergency_rec(1M)
                   command and later the operating system software is
                   damaged beyond repair, you can restore your system's
                   data to the state it was in at the time you backed it up


                           Copyright 1994 Novell, Inc.               Page 1













      emergency_disk(1M)                                emergency_disk(1M)


                  using the emergency_rec command.  If you select this
                  option:

                    The UNIX partition on the primary hard disk that
                    contains UnixWare is restored.  If the primary hard
                    disk contains a system partition, then this partition
                    is also restored.  If the /home, /home2, and /usr file
                    systems were on the secondary hard disk, then these
                    file systems are restored to the secondary hard disk.

                    If the -e option was specified when running
                    emergency_rec, then the entire primary hard disk is
                    restored.  This includes all partitions on the primary
                    hard disk and not just the UnixWare and system
                    partitions.
            If you created any backups of your system after creating the
            emergency recovery tape(s), you can restore the data on these
            backups, using the restore(1M) command. This must be done
            after your system is repaired.

            The emergency diskettes are only intended for the system where
            emergency_disk was run.  If the UnixWare operating system
            still exists on your system and the software detects that you
            inserted a diskette for another system, you are prompted for
            the Personal Edition/Application Server serial number used to
            create the emergency diskette.  This ensures that the correct
            system is restored.

            Do not confuse the emergency recovery facilities with the
            backup and restore facilities.  Typically, after installing
            the system and all add-on software (for example, the Online
            Data Manager), the emergency recovery diskettes and emergency
            recovery tape(s) should be created using the
            emergency_disk(1M) and emergency_rec(1M) commands.  This media
            should then be stored in a safe location in case your system
            is corrupted and a full recovery of the hard disk is needed.
            Assuming your system is not damaged, the backup and restore
            facilities should be used on a regular basis to perform all
            archiving and restoring of user data files.  For more
            information on the backup and restore facilities, see
            backup(1M) and restore(1M).

         Flags
            -d    identifies a working directory for the emergency_disk
                  command.  The working directory must contain at least 22
                  MB of free space.  The default working directory is


                          Copyright 1994 Novell, Inc.               Page 2













       emergency_disk(1M)                                emergency_disk(1M)


                   /usr.

          Parameters
             disk_drive
                   identifies the disk drive (diskette1 or diskette2)
                   containing the diskette that should be formatted into an
                   emergency recovery diskette for your system.

          Files
             A temporary log file is created in /tmp/drf_PID.log, where PID
             is the process ID for the emergency_disk command.  If an error
             is encountered a message is displayed to standard error and
             additional information is provided in this log file.

          Exit Codes
             The emergency_disk command exits with one of the following
             values:

                   0     Success

                   1     Failure.  See the /tmp/drf_PID.log log file.

          Diagnostics
             A temporary log file is created in /tmp/drf_PID.log, where PID
             is the process ID for the emergency_disk command.  If an error
             is encountered a message is displayed to standard error and
             additional information is provided in this log file.

       USAGE
          Examples
             To create emergency diskettes using disk drive 2 and the root
             file system as the working directory, insert a diskette in
             disk drive 2 and enter:

                         emergency_disk -d / diskette2

             When prompted, remove the first diskette and insert  a  second
             diskette.  Then press  ENTER.

          Warnings
             Attempting to use the emergency diskette to copy UnixWare
             between systems is prohibited.  The emergency diskette is
             customized for the system on which it is created and may have
             unpredictable ramifications if used on another system.




                           Copyright 1994 Novell, Inc.               Page 3













      emergency_disk(1M)                                emergency_disk(1M)


      NOTICES
            If you change the hard disk configuration on your system (for
            example, you add or replace a hard disk), you should create
            new emergency recovery diskettes using the procedure outlined
            above.

      REFERENCES
            backup(1M), emergency_rec(1M), restore(1M)








































                          Copyright 1994 Novell, Inc.               Page 4








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026