PRIMECLUSTER Global Disk Services Configuration and Administration Guide 4.1 (Solaris(TM) Operating System) |
Contents
![]() ![]() |
Chapter 6 Backing Up and Restoring | > 6.3 Backing Up and Restoring Local Disks and Shared Disks |
1) Stopping the services
1a) With a shared volume used by a cluster application.
Exit the cluster application.
1b) With a volume not used by a cluster application
1b-1) Stop the services using the volume.
1b-2) When the volume is used as a file system, unmount the file system. In the following example, the mount point is /mnt1.
# cd / |
2) Restoring
Restore the volume data. The following shows an example of restoring data from a tape medium of tape device /dev/rmt/0.
For details on the restore methods, see the manuals of file systems to be restored and used commands.
When restoring data held in a raw device with the dd(1M) command
# dd if=/dev/rmt/0 of=/dev/sfdsk/Class1/rdsk/Volume1 bs=32768 |
When restoring a ufs file system with the ufsrestore(1M) command
# newfs /dev/sfdsk/Class1/rdsk/Volume1 |
When restoring the GFS Local File System with the sfxrestore(1M) command
# sfxnewfs /dev/sfdsk/Class1/rdsk/Volume1 |
3) When the volume is used as the GFS Local File System, add the node configuration information of the GFS Local File System on a node where restore was not conducted.
3-1) Inactivate the volume on the node where restore was conducted.
# sdxvolume -F -c Class1 -v Volume1 |
3-2) Activate the volume on a node where restore was not conducted.
# sdxvolume -N -c Class1 -v Volume1 |
3-3) Add the node configuration information of the GFS Local File System on the node where restore was not conducted.
# sfxnode /dev/sfdsk/Class1/rdsk/Volume1 |
3-4) Inactivate the volume on the node where restore was not conducted.
# sdxvolume -F -c Class1 -v Volume1 |
4) Resuming the services
4a) With a shared volume used by a cluster application
Execute the cluster application.
4b) With a volume not used by a cluster application
4b-1) When the volume is used as a file system, mount the file system. In the following example, the mount point is /mnt1.
For a ufs system
# mount -F ufs /dev/sfdsk/Class1/dsk/Volume1 /mnt1 |
For a GFS Local File System
# mount -F sfxfs /dev/sfdsk/Class1/dsk/Volume1 /mnt1 |
4b-2) Resume the services.
Contents
![]() ![]() |