Installation guide
The
raw_device
parameter specifies the full raw device pathname of
the disk device on your system. For example, to create a new file
system on an RZ57, unit 0, enter:
# newfs /dev/rrz0a
8. Mount the file system by using the following command syntax:
mount block_device
[ /mnt]
The
block_device
parameter specifies the full block device pathname
of the disk device. For example, to mount the file system created in the
previous step, enter:
# mount /dev/rz0a /mnt
9. Restore the file system:
• If you are restoring dump files from a local file system, change to
the /mnt directory, insert the medium containing the dump file, and
enter the restore command with the following command syntax:
restore
[ -Yrf][dumpfile]
The
dumpfile
parameter specifies the pathname of the file that
contains the dump data. For a tape, you would enter the following
commands:
# cd /mnt
# restore -Yrf /dev/rmt0h
• If you are restoring dump files from a remote system, change to the
/mnt directory and use the rsh command with the following
syntax:
rsh
[ remote_hostname ]["dd if= dumpfile bs= blocksize" | restore
-Yrf -
]
The
remote_hostname
parameter specifies the host name of the
remote system that contains the dump file. The
dumpfile
parameter specifies the full pathname of the dump file on the
remote system, and the
blocksize
parameter is necessary for
reading from a tape.
The dump file must be read with the same block size as was used
when writing to the tape. The default dump record size is 10 KB.
For example, to restore a dump file on a TLZ06 from the remote
system remotesystem that was written using the default block
size, enter:
# cd /mnt
# rsh remotesystem "dd if=/dev/rmt0h bs=10k" | restore -Yrf -
10. Change to the root directory and unmount the file system.
11–26 Administering the Archiving Services