PRIMECLUSTER Global File Services Configuration and Administration Guide 4.2 (Solaris(TM) Operating Environment)
Contents Index PreviousNext

Part 3 Global File Services Shared File System> Chapter 24 File System Backing-up and Restoring> 24.5 Restoring using Standard Solaris OE commands

24.5.2 Restoring an entire file system

Use dd(1M) to restore each partitionTerm from the backup tape to the disk

Before restoring, unmount the desired GFS Shared File System on all the nodes using the file system.

# dd if=/dev/rmt/0 of=/dev/sfdsk/gfs/rdsk/volume1 bs=1024k

# dd if=/dev/rmt/0 of=/dev/sfdsk/gfs/rdsk/volume1 bs=1024k   <- Tape 1
  Tape change
# dd if=/dev/rmt/0 of=/dev/sfdsk/gfs/rdsk/volume2 bs=1024k   <- Tape 2
  Tape change
# dd if=/dev/rmt/0 of=/dev/sfdsk/gfs/rdsk/volume3 bs=1024k   <- Tape 3

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 GB units is restored.
# dd if=/dev/rmt/0 of=/dev/sfdsk/gfs/rdsk/volume1 bs=1024k count=1024
  <- Tape 1
  Tape change
# dd if=/dev/rmt/0 of=/dev/sfdsk/gfs/rdsk/volume1 bs=1024k count=1024 oseek=1024
  <- Tape 2
  Tape change
# dd if=/dev/rmt/0 of=/dev/sfdsk/gfs/rdsk/volume1 bs=1024k count=1024 oseek=2048
  <- Tape 3
  Tape change
# dd if=/dev/rmt/0 of=/dev/sfdsk/gfs/rdsk/volume1 bs=1024k count=1024 oseek=3072
  lt;- Tape 4
    ...


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004