1TAPEINFO(1) General Commands Manual TAPEINFO(1)
2
3
4
6 tapeinfo - report SCSI tape device info
7
9 tapeinfo -f <scsi-generic-device>
10
12 The tapeinfo command reads various information from SCSI tape drives
13 that is not generally available via most vendors' tape drivers. It
14 issues raw commands directly to the tape drive, using either the oper‐
15 ating system's SCSI generic device ( e.g. /dev/sg0 on Linux, /dev/pass0
16 on FreeBSD) or the raw SCSI I/O ioctl on a tape device on some operat‐
17 ing systems.
18
19 One good time to use 'tapeinfo' is immediately after a tape i/o opera‐
20 tion has failed. On tape drives that support HP's 'tapealert' API,
21 'tapeinfo' will report a more exact description of what went wrong.
22
23 Do be aware that 'tapeinfo' is not a substitute for your operating sys‐
24 tem's own 'mt' or similar tape driver control program. It is intended
25 to supplement, not replace, programs like 'mt' that access your operat‐
26 ing system's tape driver in order to report or set information.
27
29 The first argument, given following -f , is the SCSI generic device
30 corresponding to your tape drive. Consult your operating system's doc‐
31 umentation for more information (for example, under Linux these are
32 generally start at /dev/sg0 under FreeBSD these start at /dev/pass0).
33
34 Under FreeBSD, 'camcontrol devlist' will tell you what SCSI devices you
35 have, along with which 'pass' device controls them. Under Linux, "cat
36 /proc/scsi/scsi" will tell you what SCSI devices you have.
37
38
40 This program has only been tested on Linux with a limited number of
41 tape drives (HP DDS4, Seagate AIT).
42
44 tapeinfo is currently being maintained by Robert Nelson <robertnel‐
45 son@users.sourceforge.net> as part of the 'mtx' suite of programs. The
46 'mtx' home page is http://mtx.sourceforge.net and the actual code is
47 currently available there and via SVN from http://source‐
48 forge.net/projects/mtx.
49
50
52 mt(1),mtx(1),scsitape(1),scsieject(1),loaderinfo(1)
53
54
55
56 TAPEINFO1.0 TAPEINFO(1)