PRIMECLUSTER Global File Services Configuration and Administration Guide 4.1 (Linux) |
Contents
Index
![]() ![]() |
Chapter 11 File System Backing-up and Restoring | > 11.3 Restoring by Linux Standard commands |
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.
# dd if=/dev/st0 of=/dev/sfdsk/gfs/dsk/volume1 bs=1024k
When the partition backed up by not installing the size of the filesystem on one tape volume, and dividing is restored and done, restoration does the partition from the tape in order dividing.
Example: The following is an example of restoring data backed up on separate tapes in units of 1 GB.
# dd if=/dev/st0 of=/dev/sfdsk/gfs/dsk/volume1 bs=1024k count=1024 <- Tape 1 Tape change # dd if=/dev/st0 of=/dev/sfdsk/gfs/dsk/volume1 bs=1024k count=1024 seek=1024 <- Tape 2 Tape change # dd if=/dev/st0 of=/dev/sfdsk/gfs/dsk/volume1 bs=1024k count=1024 seek=2048 <- Tape 3 Tape change # dd if=/dev/st0 of=/dev/sfdsk/gfs/dsk/volume1 bs=1024k count=1024 seek=3072 <- Tape 4 ...
dd (1) does not support multi-tape volumes. To restore data saved on separate backup tapes, specify the same values as those specified on backing-up for the bs and count parameters of dd(1). For seek, specify the same value as one specified for skip on backing-up.
The device information must be updated by sfcadm(8) when restoring the file system to the partition besides the partition backed up. For details on sfcadm(8), see sfcadm(8) in this manual.
Contents
Index
![]() ![]() |