- Boot the system from another bootable disk, installation DVD, or over the network.
-
SPARC: If you boot from installation media or an installation server
on the network, select the text installation. If you boot from an
installation server, use the following command:
ok boot net:dhcp
-
x86: If you boot from installation media or an installation server on
the network, select this text installation option from the GRUB menu:
Oracle Solaris 11 11/11 Text Installer and command line
-
Select option 3 Shell from the following menu:
1 Install Oracle Solaris 2 Install Additional Drivers 3 Shell 4 Terminal type (currently sun-color) 5 Reboot Please enter a number [1]: 3 To return to the main menu, exit the shell
-
SPARC: If you boot from installation media or an installation server
on the network, select the text installation. If you boot from an
installation server, use the following command:
- Import your ZFS root pool.
# zpool import -f rpool
- Mount the root BE.
# mkdir /a # beadm mount solaris /a
- Restore your original fp.conf file (for FC multipathing) or mpt.conf (for SAS multipathing)
as follows.
- If you ran the stmsboot -e command or stmsboot -d command:
-
For SAS multipathing:
# cp /a/etc/mpxio/mpt.conf /a/etc/driver/drv/mpt.conf
-
For FC multipathing:
# cp /a/etc/mpxio/fp.conf /a/etc/driver/drv/fp.conf
-
For SAS multipathing:
- If you ran the stmsboot -u command, and you modified either the fp.conf file or the mpt.conf undo the changes you made to this file by editing either the /a/etc/driver/drv/fp.conf or the /a/etc/driver/drv/mpt.conf files.
- If you ran the stmsboot -e command or stmsboot -d command:
- Undo any other changes you made to the multipathing configuration prior to running
the stmsboot command.For example, if you modified the scsi_vhci.conf file, undo the changes you made to
this file by editing the /a/etc/driver/drv/scsi_vhci.conf file.
If you modified the device settings of your storage arrays, restore their original settings. - Restore your original /etc/vfstab file:
# cp /a/etc/mpxio/vfstab /a/etc/vfstab
The /a/etc/mpxio/vfstab file is a copy your original /etc/vfstab file that the stmsboot command saved prior to updating your vfstab file. A /a/etc/mpxio/vfstab file will not exist if the stmsboot command has not modified your vfstab file. - If the system is running on the Oracle Solaris OS on an
x86 based system, perform the following steps:
- Restore your original /boot/solaris/bootenv.rc file.
# cp /a/etc/mpxio/bootenv.rc /a/boot/solaris/bootenv.rc
The /a/etc/mpxio/bootenv.rc file is a copy your original /boot/solaris/bootenv.rc file that the stmsboot command saved prior to updating your bootenv.rc file. A /a/etc/mpxio/bootenv.rc file will not exist if the stmsboot command has not modified your bootenv.rc file. - Update the boot archive.
# bootadm update-archive -R /a
- Restore your original /boot/solaris/bootenv.rc file.
- Disable the mpxio-upgrade service:
# /usr/sbin/svccfg -f /a/etc/mpxio/svccfg_recover
- Unmount the BE.
# beadm umount solaris
- Reboot the system
- https://docs.oracle.com/cd/E23824_01/html/E23097/getnl.html#scrolltoc
Wednesday, November 29, 2017
How to Recover from a System Crash in soaris.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment