Lines Matching refs:tape

1 This file contains brief information about the SCSI tape driver.
11 to any specific tape drive. The tape parameters can be specified with
14 1. Each user can specify the tape parameters he/she wants to use
17 in a multiuser environment the next user finds the tape parameters in
20 2. The system manager (root) can define default values for some tape
23 new tape is loaded into the drive or if writing begins at the
24 beginning of the tape. The second method is applicable if the tape
25 drive performs auto-detection of the tape format well (like some
26 QIC-drives). The result is that any tape can be read, writing can be
28 the tape is rewritten from the beginning (or a new tape is written
50 between formats in multi-tape operations (the explicitly overridden
51 parameters are reset when a new tape is loaded).
57 supported devices. The Linux SCSI tape driver does not contain such
69 of the physical block on tape. When reading, the drive reads the next
70 tape block and returns to the user the data if the read() byte count
78 Support is provided for changing the tape partition and partitioning
79 of the tape with one or two partitions. By default support for
80 partitioned tape is disabled for each driver and it can be enabled
90 written to tape before the command returns. This makes sure that write errors
96 the program wants to close/open the tape device between files and wants to
99 If rewind, offline, bsf, or seek is done and previous tape operation was
100 write, a filemark is written before moving tape.
109 tape in the drive (commands trying to write something return error if
115 The tape driver currently supports up to 2^17 drives if 4 modes for
124 remaining bits define the tape device number. This numbering is
132 directories corresponding to the existing tape devices. There are autorewind
134 is the tape number and y a character corresponding to the mode (none, l, m,
135 a). For example, the directories for the first tape device are (assuming four
150 A link named 'tape' is made from the SCSI device directory to the class
156 The st driver maintains statistics for tape drives inside the sysfs filesystem.
169 pointing to the same tape drive use the same statistics. That means
176 to complete (including read and write). This includes tape movement
177 commands such as seeking between file or set marks and implicit tape
178 movement such as when rewind on close tape devices are used.
179 3. other_cnt - The number of I/Os issued to the tape drive other than read or
182 4. read_byte_cnt - The number of bytes read from the tape drive.
183 5. read_cnt - The number of read requests issued to the tape drive.
186 7. write_byte_cnt - The number of bytes written to the tape drive.
187 8. write_cnt - The number of write requests issued to the tape drive.
192 is issuing a read larger thean the block size on tape. For write
193 not all data made it to tape.
199 value as iodone_cnt at the device level. The tape statistics only count
215 The user can choose between these two behaviours of the tape driver by
217 file being read is closed. The BSD semantics leaves the tape where it
218 currently is whereas the SYS V semantics moves the tape past the next
237 The size of the driver buffers is always at least one tape block. In fixed
253 Asynchronous writing. Writing the buffer contents to the tape is
255 at the next tape operation. Asynchronous writes are not done with
260 tape after the early-warning mark to flush the driver buffer.
315 tape drive if this is non-zero
351 The tape is positioned and the drive parameters are set with ioctls
352 defined in mtio.h The tape control program 'mt' uses these ioctls. Try
353 to find an mt that supports all of the Linux SCSI tape ioctls and
354 opens the device for writing if the tape contents will be modified
363 MTFSFM As above but tape positioned before filemark.
373 wait until data is on tape)
375 MTREW Rewind tape.
378 MTRETEN Re-tension tape.
380 MTERASE Erase tape. If the argument is zero, the short erase command
383 MTSEEK Seek to tape block count. Uses Tandberg-compatible seek (QFA)
390 MTLOCK and MTUNLOCK Explicitly lock/unlock the tape drive door.
391 MTLOAD and MTUNLOAD Explicitly load and unload the tape. If the
394 drive with the command and it selects the tape slot to use of
403 MTSETPART Moves the tape to the partition given by the argument at the
404 next tape operation. The block at which the tape is positioned
405 is the block where the tape was previously positioned in the
406 new active partition unless the next tape operation is
407 MTSEEK. In this case the tape is moved directly to the block
410 MTMKPART Formats the tape with one partition (argument zero) or two
414 partition of the tape. If the argument is negative, its absolute
441 be used for repositioning the tape (global)
536 is set if there is no tape in the drive. GMT_EOD means either
537 end of recorded data or end of tape. GMT_EOT means end of tape.
545 The maximum number of tape devices is determined by the define
549 Immediate return from tape positioning SCSI commands can be enabled by
551 the next tape operation is not started before the previous one has
581 If the tape seems to hang, I would be very interested to hear where
583 of the process using the tape. If the state is D, the process is
592 real reason is that the tape firmware has got confused.