Creating and using emergency recovery media

Bringing the system back after emergency media is created

  1. Undo the steps in step 4 of the previous procedure to restore the ODM configuration. When you use mknod(1M) to create the /.io/bootdisk/*root nodes, use the major and minor numbers listed by the following command:

    ls -l /dev/vx/dsk/rootvol

  2. Rebuild the kernel again:

    /etc/conf/bin/idbuild -B

  3. Reboot using the init 6 command. When you see the UnixWare logo appear, immediately press <Space> to enter the Bootstrap Command Processor. Enter the command initstate=1, followed by ``'boot'''. This will cause the machine to boot into single-user mode.

  4. When the system comes back up, log in as root, and run vxconfigd(1M) to start the ODM configuration daemon

  5. Re-attach the plexes disconnected earlier, for the mirrored disk.

    For example:

    vxplex att home home-02
    vxplex att home2 home2-02
    vxplex att rootvol rootvol-02
    vxplex att standvol standvol-02
    vxplex att swapvol swapvol-02
    vxplex att tmp tmp-02
    vxplex att var var-02

    You should also remove the comments from other ODM-defined slices you previously commented out.

  6. Reboot using init 6 and let the machine boot all the way into multiuser mode.

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004