On 06/30/2014 12:45 PM, healyzh at
aracnet.com wrote:
I asked about the drive models myself. The only
detail I was able to get
is that they're SCSI, at least for now.
Thanks for the info on the audio tape markers, that was my idea, but I've
not had to do something like this in about 20 years, so wasn't sure if it
would work.
As long as they're reflective (and audio ones are also conductive),
they'll work fine. Just be sure to get the audio tape ones that have an
adhesive that won't "bleed" and gum things up. Same goes for the tape
used to splice a new leader on.
As far as SCSI goes, error codes depend a lot upon the manufacturer, but
in general, I find the following to pretty much cover most SCSI tape
devices, including DLT, DDS, 8mm, QIC and half-inch reel-to-reel:
typedef enum
{
SCSI_SENSE_NO_SENSE = 0x00,
SCSI_SENSE_RECOVERED_ERROR = 0x01,
SCSI_SENSE_NOT_READY = 0x02,
SCSI_SENSE_MEDIUM_ERROR = 0x03,
SCSI_SENSE_HARDWARE_ERROR = 0x04,
SCSI_SENSE_ILLEGAL_REQUEST = 0x05,
SCSI_SENSE_UNIT_ATTENTION = 0x06,
SCSI_SENSE_DATA_PROTECT = 0x07,
SCSI_SENSE_BLANK_CHECK = 0x08,
SCSI_SENSE_FIRMWARE_ERROR = 0x09,
SCSI_SENSE_COPY_ABORTED = 0x0a,
SCSI_SENSE_ABORTED_COMMAND = 0x0b,
SCSI_SENSE_EQUAL = 0x0c,
SCSI_SENSE_VOLUME_OVERFLOW = 0x0d,
SCSI_SENSE_MISCOMPARE = 0x0e,
// The following mask and bits relate to the upper 3 bits of the
// sense key:
SCSI_SENSE_MASK = 0x0f, // mask for basic status
SCSI_SENSE_FILEMARK = 0x80, // flag
SCSI_SENSE_MEDIA_END = 0x40, // flag
SCSI_SENSE_BAD_LENGTH = 0x20 // flag
} SCSI_SENSE_KEY;
FWIW,
--Chuck