Table of ContentsLibraryView in Frames

Specifying the tape file size

You can specify the maximum size of the tape file in terms of tape blocks in a dump command.

Considerations

Suppose you want the maximum tape file to be 2 GB; you will specify 2,097,151. This implies that the largest tape file can contain 2,097,151 tape blocks, which are 1 kilobyte each. The tape file size must be equal to or greater than the blocking factor; otherwise, the dump process terminates.

If you do a remote backup or plan to restore the backup on a system other than the storage system that was backed up, you might need to specify a tape file size. Some systems support only tape files of a limited size; for example, some Solaris systems do not support tape files larger than 2 GB.

Steps

  1. To specify a tape file size, include the B option in the dump command line.
  2. Include the tape file size, in kilobytes, in the dump command as a parameter to the B option. The size applies to all tape files in the backup.

Example

The following command backs up the /vol/vol0 volume using a tape file size of 2,097,151, so that a tape file is no larger than 2 GB:

dump 0fB rst0a 2097151 /vol/vol0

The elements of this command line are described in the following table.

Element Description
0 Does a full backup.
f Specifies that a tape device is supplied in the command line.
B Specifies that the file size is given in the command.
rst0a The tape drive rewinds the tape.
2097151 The file size is 2,097,151 KB.
/vol/vol1 The volume to be backed up.
Related reference
The dump command syntax