Chapter 4: SCSI Commands
Table 4-72. WRITE FILEMARKS (10h) Command Descriptor Block — Field Descriptions
Field Name
LUN
WSmrk
Immed
Number of Filemarks
4-124
Description
Logical Unit Number. The target ignores this field. Only an IDENTIFY message
can change the LUN.
Not supported. This field must be 0.
When this bit is 1, the tape drive returns status as soon as the CDB has been
validated unless the Filemark count is 0 or greater than 1 (since both cause the
write buffer to be flushed to media). An Immed bit of 0 indicates that the status
will not be returned until the operation is complete.
This is the number of consecutive marks to be written to medium. A value of 0 is
not considered an error and GOOD status is returned.
Use this command to force the tape drive to write any buffered WRITE data to the
medium. If the tape drive is in Buffered Mode and the WRITE FILEMARKS
command is received, the tape drive appends the requested Filemarks to the data
and flushes the write buffer to medium. A 0 value in the Number of Filemarks
field indicates that the tape drive does not write Filemarks to the medium, but still
flushes any WRITE data to medium.
If EOT is detected while writing Filemarks, the tape drive finishes writing any
buffered data and terminates with CHECK CONDITION status. Within the Sense
data, the EOM bit is set, the Sense Key field is set to NO SENSE, and the
Additional Sense Code and Additional Sense Code Qualifier fields are EOM/P
detected. The tape drive attempts to complete any subsequent WRITE
FILEMARKS commands, returning a CHECK CONDITION status in each case.
If the tape drive encounters the physical EOM when attempting a WRITE
FILEMARKS command, it returns CHECK CONDITION status.
July 2004
81-81276-01 Rev A01
Need help?
Do you have a question about the DLT 1 and is the answer not in the manual?