PRIMECLUSTER Global Disk Services Configuration and Administration Guide 4.1 (Solaris(TM) Operating System)
Contents PreviousNext

Chapter 6 Backing Up and Restoring> 6.1 Backing Up and Restoring a System Disk

6.1.1 Backing Up

1) Shut down the system.

# shutdown -g0 -i0 -y

 

2) Boot the system from a CD-ROM device.

ok boot cdrom -s


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
devalias sdx-root-slice-2 /devices/pci@1e,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
devalias sdx-usr-slice-2 /devices/pci@1e,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
devalias sdx-var-slice-2 /devices/pci@1e,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
# eeprom nvramrc | grep sdx-var-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 PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2005