Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 1999 14:37:20 +0000 (GMT)
From:      Ian Pallfreeman <ip@albatross.mcc.ac.uk>
To:        scsi@FreeBSD.ORG
Subject:   how can I make my DAT write DDS-2?
Message-ID:  <199901201437.OAA08090@albatross.mcc.ac.uk>

next in thread | raw e-mail | index | archive | help
My current trash box has a Sony SDT-5000 DAT drive, which pre-CAM was large
enough to backup itself and a couple of other boxes. Post-CAM, it won't. It 
seems that it is now insisting on writing DDS format, rather than DDS-2.

With a 120M tape, written in DDS-2 format, I see:

    bash# mt -f /dev/rsa0 status
    Mode      Density         Blocksize      bpi      Compression
    Current:  X3B5/88-185A    variable       61000    DCLZ
    ---------available modes---------
    0:        X3B5/88-185A    variable       61000    DCLZ
    1:        X3B5/88-185A    variable       61000    DCLZ
    2:        X3B5/88-185A    variable       61000    DCLZ
    3:        X3B5/88-185A    variable       61000    DCLZ
    bash# zgrep -i X3B5/88-185A /usr/share/man/man1/mt.1.gz 
    0x13    3.81 (0.15)   1      2,400  (61,000)  DDS   CS  X3B5/88-185A 5

Seems that even though the tape is definitely DDS-2, I'm only seeing DDS.
Let's try setting the density to what we want:

    bash# mt -f /dev/rsa0 den DDS-2
    mt: /dev/rsa0: density: Invalid argument
    bash# dmesg | tail -3
    (sa0:ahc0:0:4:0): MODE SELECT(06). CDB: 15 0 0 0 c 0 
    (sa0:ahc0:0:4:0): ILLEGAL REQUEST asc:26,0
    (sa0:ahc0:0:4:0): Invalid field in parameter list sks:8d,4

In fact, whatever we try setting the density to, it croaks:

    bash# mt -f /dev/rsa0 den QIC-150
    mt: /dev/rsa0: density: Invalid argument
    bash# dmesg | tail -3
    (sa0:ahc0:0:4:0): MODE SELECT(06). CDB: 15 0 0 0 c 0 
    (sa0:ahc0:0:4:0): ILLEGAL REQUEST asc:26,0
    (sa0:ahc0:0:4:0): Invalid field in parameter list sks:8c,4

... and the message is the same whatever the density is, except for DDS.

So, if I can, how do I tell this drive to write DDS-2, as it did pre-CAM 
without me having to tell it anything?

TIA,

Ian.

                              <---------->


ahc0: <Adaptec 2940 Ultra SCSI adapter> rev 0x00 int a irq 9 on pci0.19.0
ahc0: aic7880 Single Channel A, SCSI Id=7, 16/255 SCBs
[...]
sa0 at ahc0 bus 0 target 4 lun 0
sa0: <SONY SDT-5000 3.30> Removable Sequential Access SCSI-2 device 
sa0: 5.0MB/s transfers (5.0MHz, offset 8)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901201437.OAA08090>