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

Chapter 13 File System Backing-up and Restoring> 13.3 Restoring by Standard Solaris OS commands

13.3.2 Entire-file-system restoring

Restore each partition saved on a backup tape onto the disk using dd(1M).

The size of the partition of the restoration destination should be equal to the size of the partition of backup source. When it is not equal, the execution of dd(1M) succeeds, but the partition of the restoration destination cannot be used as the GFS Shared File System.

Before executing restoring, unmount the desired GFS Shared File System from all the nodes using the file system, and unmounted of the file system.

Example: In the following example, a file system with a single partition configuration is restored.
# dd if=/dev/rmt/0 of=/dev/sfdsk/gfs01/rdsk/volume01 bs=1024k <Enter>
Example: In the following example, a file system with two partitions (file data area addition) is restored.
# dd if=/dev/rmt/0 of=/dev/sfdsk/gfs01/rdsk/volume01 bs=1024k <Enter>  <- Tape 1
  Tape change
# dd if=/dev/rmt/0 of=/dev/sfdsk/gfs01/rdsk/volume02 bs=1024k <Enter>  <- Tape 2

dd(1M) does not support multi-tape volumes. To restore a file system backed up as separate blocks, specify the same values for the bs and count parameters as for where specified for the backup. For oseek, specify the same value that was specified for iseek.

Example: In the following example, a file system that was backed up in 1 gigabyte units is restored.

# dd if=/dev/rmt/0 of=/dev/sfdsk/gfs01/rdsk/volume01 bs=1024k count=1024 <Enter>  <- Tape 1
  Tape change
# dd if=/dev/rmt/0 of=/dev/sfdsk/gfs01/rdsk/volume01 bs=1024k count=1024 oseek=1024 <Enter>  <- Tape 2
  Tape change
# dd if=/dev/rmt/0 of=/dev/sfdsk/gfs01/rdsk/volume01 bs=1024k count=1024 oseek=2048 <Enter>  <- Tape 3
  Tape change
# dd if=/dev/rmt/0 of=/dev/sfdsk/gfs01/rdsk/volume01 bs=1024k count=1024 oseek=3072 <Enter>  <- Tape 4
   ...

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006