Appendix C. Product Notes for Sun
Order Number: EK-SM1TB-UG. E01
C–7
“rst” format
Special files “rst” (rewind on close) and “nrst” (no rewind on close) are also built and
reside in the /dev directory. For example, if the SCSI target ID for the SWXTL drive is 4
and the drive is connected to the native SCSI bus, then “rst” will be “rst4, rst12, rst20,
and rst28” and nrst will be “nrst4, nrst12, nrst20, and nrst28”.
•
rst4 and nrst4 correspond to the 0x17 density mode (TK85 format)
•
rst12 and nrst12 correspond to the 0x18 density mode (TK86 format)
•
rst20 and nrst20 correspond to the 0x80 density mode (TK87, native format)
•
rst28 and nrst28 correspond to the 0x81 density mode (TK87, compressed format)
C.3.1.5 Test
To test the SWXTL drive, back up the “passwd” file to tape using the “tar” command,
as follows:
tar cvf /dev/rst4 /etc/passwd
The system responds with:
a /etc/passwd 1 blocks
Note that, depending on the size of the file, a different number of blocks may be
reported.
C.3.1.6 Verification
Verify that the “passwd” file was saved to tape using the following command:
tar tvf /dev/rst4
The system responds with
/etc/passwd
The installation and verification procedure is now complete.
C.3.2 Running Sun Diagnostics (Optional)
The diagnostic exerciser provided with the Sun operating system (“sundiag”) does not
support the generic DLT tape drive configuration. In order to run “sundiag”, you must
modify the
st.conf
file in the
/kernel/drv
directory. Change the “tape type” in
the
SWXTL-data
parameter from 0x36 (generic other type of drive) to 0x29 (Exabyte
8500 8mm cartridge) and re-boot the system with the “
boot -r
” option. You can now
run “sundiag” when the system is up and running.
CAUTION
Remember to change the “tape type” back to 0x36 and
reboot the system with the “boot -r” option after running
“sundiag”.