DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Creating and using emergency recovery media

Performing recovery when the primary and mirrored root disks fail

  1. Boot from the Emergency Recovery diskettes or CD.

    A message should be displayed indicating that the system is not sane.

    Continue to the Emergency Recovery menu and perform the Restore Disk(s) process.

  2. After the recovery has completed, select the option to Reboot. 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.

  3. Enter the following command:

    rm /etc/vx/reconfig.d/state.d/install-db

  4. Run vxconfigd to remove all information about the mirrored disk:

    vxplex -o rm dis home-02
    vxplex -o rm dis home2-02
    vxplex -o rm dis rootvol-02
    vxplex -o rm dis standvol-02
    vxplex -o rm dis swapvol-02
    vxplex -o rm dis tmp-02
    vxplex -o rm dis var-02
    vxedit rm disk01

  5. Run /etc/vx/bin/vxunroot.

  6. Remove the VOLPUBLIC partition from both the root disk and the mirrored disk, if they exist:

    prtvtoc -f /tmp/vtoc /dev/rdsk/c0b0t0d0s0

    Edit the /tmp/vtoc file and change the line that is similar to this:

    14	0xe	0x201	2048	2064384
    
    to:
    14	0x0	0x0	0	0
    
    Then rewrite the VTOC:

    edvtoc -f /tmp/vtoc /dev/rdsk/c0b0t0d0s0

    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. Ignore the vxconfigd errors.

  7. Run vxinstall to re-install ODM and re-encapsulate root. After the three reboots take place, you can re-mirror the root disk, add any other ODM disks, and restore the data to them. The machine will be running in multiuser mode.

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