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

Appendix B Reference Manual> B.2 Management Commands Specific to the GFS Local File System

B.2.3 sfxddr(1M) - Restores backup data and checks device restoring

[SYNOPSIS]

sfxddr [ -f ] [ if=file ] of=special [ ibs=n ] [ obs=n ]
sfxddr -i [ if=file ] [ ibs=n ]

[DESCRIPTION]

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.

[OPTIONS]

-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.

[OPERANDS]

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).

[EXIT STATUS]

The following exit values are returned:

0 Successful completion.

>0 An error occurred.

[DIAGNOSTICS]

f+p records in(out)
numbers of full and partial blocks read(written)

[NOTES]

# dd if=/dev/rmt/0 ibs=256k | uncompress -c | sfxddr -i


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004