datinfo(1)
NAME
datinfo − tape usage information for DAT tape devices
SYNOPSIS
datinfo [-Ccb] DATdev
DESCRIPTION
datinfo is a utility for the HP9000 Series 3/4/700 which allows the user to obtain certain useful information from a DAT tape drive. The following information is available:
o Display maximum and remaining capacity for a DAT tape.
o Display and clear compression information for a DAT drive supporting the DDS-DC format.
DATdev must refer to a device file associated with a DAT drive.
datinfo recognizes the following options:
-c Display compression information for drives supporting data compression. An estimate is also given of how much more data will fit on the tape, based on the current compression ratio.
-C As -c but clears current DC statistics after the information has been displayed.
-b Display capacity information in a brief format (suitable for further processing).
WARNINGS
datinfo is not supported on the HP 9000 Series 800. datinfo will not work on HP’s first generation 5 1/4 inch DAT drives.
The remaining tape indication shows how much space is remaining from the current logical position. This implies that either a no-rewind device file should be used or a ’mt eod’ command should be executed before using datinfo to show the remaining tape.
The capacity information for DAT drives is accurate to around plus or minus 10%.
When using a DAT drive supporting data compression (DDS-DC format), the drive monitors the compression ratio continuously. This ratio is cleared at power on and when the -C option is used.
EXAMPLES
The examples below show the use of the utility, to find the maximum and remaining tape capacity, to obtain capacity information on a drive supporting data compression and in brief format:
datinfo /dev/rmt/0mn
Maximum capacity = 1851 MB, Remaining capacity = 1828 MB
Note: figures accurate to approximately +/- 10%
datinfo -c /dev/rmt/1mn
Maximum capacity = 2028 MB, Remaining capacity = 1855 MB
Note: figures accurate to approximately +/- 10%
Note: these figures are before Data Compression
Write DC ratio = 2.7 based on previous data
Note: this figure is cleared during a drive power cycle or with use
of the -C option
Estimated remaining capacity (assuming current compression ratio) = 5008 MB
datinfo -b /dev/rmt/0mn
1851 1828
datinfo -cb /dev/rmt/1mn
2028 1855
2.7 5008
AUTHOR
datinfo was developed by HP.
SEE ALSO
Hewlett-Packard Company — HP-UX Release 8.0: September 1991