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

13.3.2 Entire-file-system restoring

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

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

Note

The size of the partition for the restoring must be the same as the backup partition. Otherwise the partition for the restoring is not available as the GFS Shared File System even if execution of dd(1) has succeeded.

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

dd(1) 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 seek, specify the same value that was specified for skip.

Example: Restoring the tape backed up as separate blocks in units of 1 gigabyte

# dd if=/dev/st0 of=/dev/sfdsk/gfs01/dsk/volume01 bs=1024k count=1024 <Enter>
  (Change tape)
# dd if=/dev/st0 of=/dev/sfdsk/gfs01/dsk/volume01 bs=1024k count=1024 seek=1024 <Enter>
  (Change tape)
# dd if=/dev/st0 of=/dev/sfdsk/gfs01/dsk/volume01 bs=1024k count=1024 seek=2048 <Enter>
  (Change tape)
# dd if=/dev/st0 of=/dev/sfdsk/gfs01/dsk/volume01 bs=1024k count=1024 seek=3072 <Enter>
   ...