PRIMECLUSTER Global Disk Services Configuration and Administration Guide 4.1 (Solaris(TM) Operating System) |
Contents
![]() ![]() |
Chapter 6 Backing Up and Restoring | > 6.1 Backing Up and Restoring a System Disk |
1) Shut down the system.
# shutdown -g0 -i0 -y |
2) Boot the system from a CD-ROM device.
ok boot cdrom -s |
The version of an OS booted from a CD-ROM device must correspond to the version of the OS you are backing up.
In a system where mirroring is conducted by GDS, booting from a CD-ROM device and performing an illegal operation may disrupt the mirroring environment. Be sure to follow the procedure described here and to avoid operations not outlined in this procedure.
When mounting the file system on a physical slice at the time of recovery, mounting as read-only is required. If the slice is mounted without the read-only option on, it can be written in and thus the mirrored state may be ruined.
3) Check the physical slice names of the root (/), /usr, and /var file systems you want to back up and make a note of them.
# eeprom nvramrc | grep sdx-root-slice devalias sdx-root-slice-1 /devices/pci@1f,4000/scsi@3/sd@0,0:a,raw # eeprom nvramrc | grep sdx-usr-slice devalias sdx-usr-slice-1 /devices/pci@1f,4000/scsi@3/sd@0,0:g,raw # eeprom nvramrc | grep sdx-var-slice devalias sdx-var-slice-1 /devices/pci@1f,4000/scsi@3/sd@0,0:b,raw |
In this example, the original physical slice names are:
/ : /devices/pci@1f,4000/scsi@3/sd@0,0:a,raw
/usr : /devices/pci@1f,4000/scsi@3/sd@0,0:g,raw
/var : /devices/pci@1f,4000/scsi@3/sd@0,0:b,raw
The mirror physical slice names are:
/ : /devices/pci@1e,4000/scsi@3/sd@0,0:a,raw
/usr : /devices/pci@1e,4000/scsi@3/sd@0,0:g,raw
/var : /devices/pci@1e,4000/scsi@3/sd@0,0:b,raw
If /usr and /var file systems do not exist, the physical slice names are not displayed as shown below.
# eeprom nvramrc | grep sdx-usr-slice |
4) Create a backup of file system data in a tape medium.
The command line shown below is an example of one used to back up root file system data to a tape medium of tape device /dev/rmt/0 using the ufsdump(1M) command when the root file system type is ufs.
# ufsdump 0cf /dev/rmt/0 /devices/pci@1f,4000/scsi@3/sd@0,0:a,raw |
For details on the ufsdump(1M) command, see the Solaris(TM) Operating System manual.
Contents
![]() ![]() |