PRIMECLUSTER Global File Services Configuration and Administration Guide 4.2 (Solaris(TM) Operating Environment) |
Contents Index |
Appendix B Reference Manual | > B.2 Management Commands Specific to the GFS Local File System |
sfxddr [ -f ] [ if=file ] of=special [ ibs=n ] [ obs=n ]
sfxddr -i [ if=file ] [ ibs=n ]
sfxddr restores backup to a disk data for the GFS Local File System created by dd(1M). sfxddr checks for the following conditions before writing backup data to a disk:
If any of these conditions is not met, sfxddr terminates without restoring the data. When if is not specified, the standard input is used for input. of operand is necessary. As with dd(1M), the input-output block size can be specified. Where sizes are specified, a number of bytes are expected. A number may end with k, b, or w to specify multiplication by 1024, 512, or 2 respectively; a pair of numbers may be separated by x to indicate multiplication.
After restoration, sfxddr divides the number of input-output blocks into the number of transferred whole blocks plus any partial blocks transferred, and report the respective result.
-f
This option does not check whether the output device is the same as the backup source. This option is available only for restoring data to a different disk from the backup source.
-i
This option displays the partition configuration, creation time, and the path of the last mounted directory, concerning to file system of the backup data. This option does not restore data.
The following operands are supported:
if=file
Specify the input path; standard input is the default.
of=special
Specify the output device name.
ibs=n
Specify the input block size in n bytes (default is 512).
obs=n
Specify the output block size in n bytes (default is 1024k).
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
f+p records in(out)
numbers of full and partial blocks read(written)
# dd if=/dev/rmt/0 ibs=256k | uncompress -c | sfxddr -i
Contents Index |