Re: [SLE] SCSI Tape compression

From: Ken Schneider (suse-list_at_bout-tyme.net)
Date: 08/09/05

  • Next message: Bruce Marshall: "Re: [SLE] SCSI Tape compression"
    To: suse-linux-e@suse.com
    Date: Tue, 09 Aug 2005 12:49:36 -0400
    
    

    On Tue, 2005-08-09 at 13:31 -0300, Sebastian Jeremias wrote:
    > Hi,
    > I'm having troubles compressing a DDS-4 tape. I have an HP C5683A drive,
    > and when I do 'mt -f /dev/nst0 status' (or mtst) I get:
    >
    > twist:/opt/ltt # mtst -f /dev/nst0 status
    > SCSI 2 tape drive:
    > File number=0, block number=0, partition=0.
    > Tape block size 0 bytes. Density code 0x8c (EXB-8505 compressed).
    > Soft error count since last status=0
    > General status bits on (41010000):
    > BOT ONLINE IM_REP_EN
    >
    > The problem is that it's not using compression, although it's turned on.
    > My questions are:
    > - Is EXB-8505 the right compression mode? I read you could change it to
    > DDS-4, but what's the compression code for DDS-4?
    > - Do I need a hardware specific driver for the SCSI controller for the
    > O.S. to recognize the tape in the proper way?
    > - Something I'm missing?
    >
    > Thanks in advance,
    > Sebastian
    Try this command instead:

    mt -f /dev/st0 datcompression

    to see the status of compression. Use mt -f /dev/st0 datcompression 2 to
    turn it on.

    -- 
    Ken Schneider
    UNIX  since 1989, linux since 1994, SuSE  since 1998
     "The day Microsoft makes something that doesn't suck is probably
      the day they start making vacuum cleaners." -Ernst Jan Plugge
    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Bruce Marshall: "Re: [SLE] SCSI Tape compression"

    Relevant Pages

    • Re: Strange Tape Drive Problem
      ... > Soft error count since last status=0 ... Try the following command, ... scsi tape drive disappears: ... Does 'dmesg' show anything after it disappears? ...
      (comp.os.linux.misc)
    • [PATCH] scsi: Add SHT->queuecommand_unlocked() for host_lock less I/O dispatch
      ... Note that by default ->queuecommand_unlocked is disabled, and all LLDs not ... Along with the changes to SCSI ML, this series includes the following LLD ... Host Adapter for any errors, so they should not be executed ... * @cmd: command to dispatch. ...
      (Linux-Kernel)
    • HSG60 SCSI write abort on unit, not disk
      ... I have a HSG60 controller with mirror sets on it. ... I have also included the description of the Instance and the SCSI ... SCSI Command Opcode: 42. ... Sense Data Qualifiers: 64. ...
      (Tru64-UNIX-Managers)
    • Re: Troubleshooting Adaptec 2010s RAID Controller
      ... >> So now it is a Readcommand is it? ... >> values that don't comply with SCSI commands or show a very unlikely ... The above is called a command descriptor block (CDB) and the ... > The Storage Manager controller log should help you determine if there is ...
      (comp.periphs.scsi)
    • [PATCH] scsi: Add SHT->unlocked_qcmd for host_lock less SHT->queuecommand() dispatch
      ... Along with the changes to SCSI ML, this series includes the following LLD ... Host Adapter for any errors, so they should not be executed ... int sas_queuecommand(struct scsi_cmnd *cmd, ... * @cmd: command to dispatch. ...
      (Linux-Kernel)