Top
PRIMECLUSTER Global File Services Configuration and Administration Guide 4.3

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.

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: In the following example, a file system that was backed up in 1 gigabyte units is restored.

# dd if=/dev/st0 of=/dev/sfdsk/gfs01/dsk/volume01 bs=1024k count=1024 <Enter>  <- Tape 1
  Tape change
# dd if=/dev/st0 of=/dev/sfdsk/gfs01/dsk/volume01 bs=1024k count=1024 seek=1024 <Enter>  <- Tape 2
  Tape change
# dd if=/dev/st0 of=/dev/sfdsk/gfs01/dsk/volume01 bs=1024k count=1024 seek=2048 <Enter>  <- Tape 3
  Tape change
# dd if=/dev/st0 of=/dev/sfdsk/gfs01/dsk/volume01 bs=1024k count=1024 seek=3072 <Enter>  <- Tape 4
   ...