Top
PRIMECLUSTER Global File Services Configuration and Administration Guide 4.5
FUJITSU Software

13.3.2 Entire-file-system restoring

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

Note

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.

The following describes examples of restoring from backup tapes in case of single partition configuration and multi-partition configuration.

For a single partition configuration

Example: Restoring in case of single partition

# dd if=/dev/rmt/0 of=/dev/sfdsk/gfs01/rdsk/volume01 bs=1024k <Enter>
For a multi-partition configuration

Example: Restoring in case of two partitions

# dd if=/dev/rmt/0 of=/dev/sfdsk/gfs01/rdsk/volume01 bs=1024k <Enter>
  (Change tape)
# dd if=/dev/rmt/0 of=/dev/sfdsk/gfs01/rdsk/volume02 bs=1024k <Enter>

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: Restoring the tape backed up as separate blocks in units of 1 gigabyte

# dd if=/dev/rmt/0 of=/dev/sfdsk/gfs01/rdsk/volume01 bs=1024k count=1024 <Enter>
  (Change tape)
# dd if=/dev/rmt/0 of=/dev/sfdsk/gfs01/rdsk/volume01 bs=1024k count=1024 oseek=1024 <Enter>
  (Change tape)
# dd if=/dev/rmt/0 of=/dev/sfdsk/gfs01/rdsk/volume01 bs=1024k count=1024 oseek=2048 <Enter>
  (Change tape)
# dd if=/dev/rmt/0 of=/dev/sfdsk/gfs01/rdsk/volume01 bs=1024k count=1024 oseek=3072 <Enter>
   ...