Tape drive issue

From: Curtis Vaughan (curtis_at_npc-usa.com)
Date: 11/17/03

  • Next message: Samuel Flory: "Re: Seperate eth0 and eth1"
    To: redhat-list@redhat.com
    Date: Mon, 17 Nov 2003 14:23:46 -0800
    
    

    I am trying to issue some commands to my tape drive to make sure I've
    got everything installed right.

    Tape drive info :
    Under /proc/scsi/ I see:

    # ls /proc/scsi
    scsi sym53c8xx

    # cat scsi
    Attached devices:
    Host: scsi0 Channel: 00 Id: 06 Lun: 00
       Vendor: ARCHIVE Model: Python 02779-XXX Rev: 658A
       Type: Sequential-Access ANSI SCSI revision: 02

    So logged in as root, I issue the following command and get the
    following response:

    # mt -f /dev/nst0 status
    SCSI 2 tape drive:
    File number=-1, block number=-1, partition=0.
    Tape block size 0 bytes. Density code 0x0 (default).
    Soft error count since last status=0
    General status bits on (10000):
      IM_REP_EN

    I understand this to mean that things look ok. Maybe I'm wrong?
    So, I issue the command to rewind and I get the following error:

    # mt -f /dev/nst0 rewind
    /dev/nst0: Input/output error
    mt: The device is offline (not powered on, no tape ?).

    But the device is on and I do have a tape in there.
    Any ideas? Or what other information can I provide to help tackle this
    problem?

    Curtis Vaughan

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Samuel Flory: "Re: Seperate eth0 and eth1"

    Relevant Pages

    • [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: Strange Tape Drive Problem
      ... > I'm assuming it is a SCSI tape drive. ... When performing a 'lsmod', ... it returns to the command line without a ... Tape block size 512 bytes. ...
      (comp.os.linux.misc)
    • 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)