Page 2 of 6 FirstFirst 1234 ... LastLast
Results 11 to 20 of 57

Thread: AIC7xxx detected but no scsi /dev/???

  1. #11
    Join Date
    Oct 2006
    Posts
    30

    Default tape changer is SONY LIB-81

    There needs to be another device, the tape drive was not detected by the system. You need to make sure there is not scsi id conflict. Login to the Library control module and figure out what scsi id the tape drive has. If it conflicts with any other scsi devices on the system you will need to change tape scsi id and reboot the changer and the system.

    These are the 2 SCSI devices that are on my system. The second is the tape changer...

    Hard disk (/dev/sg0):
    Host: scsi0 Channel: 00 Id: 01 Lun: 00
    Vendor: IBM Model: DDYS-T36950N Rev: S96H
    Type: Direct-Access ANSI SCSI revision: 03

    Tape changer (/dev/sg1):
    Host: scsi0 Channel: 00 Id: 11 Lun: 00
    Vendor: SONY Model: LIB-81 Rev: 0106
    Type: Medium Changer ANSI SCSI revision: 02

  2. #12
    Join Date
    Apr 2006
    Posts
    116

    Default tape device and amanda.conf

    1. you should have these lines in the amanda.conf:
    tpchanger "chg-zd-mtx" # the tape-changer glue script
    tapedev "/dev/nst0" # the no-rewind tape device to be used
    changerfile "/etc/amanda/DailySet1/changer"
    changerdev "/dev/sg1"

    2. But this will not work until your system detects your tape device and looking at the /proc/scsi/scsi it has not.

  3. #13
    Join Date
    Apr 2006
    Posts
    116

    Default 3 devices

    There needs to be 3 devices:
    harddisk
    changer
    tape drive (missing not detected)

  4. #14
    Join Date
    Oct 2006
    Posts
    30

    Default will check for SCSI ID conflict

    I will check for SCSI ID conflicts. Any other thoughts???

  5. #15
    Join Date
    Oct 2006
    Posts
    30

    Default checked SCSI ID's

    library = 11
    tape = 7

    thoughts?

  6. #16
    Join Date
    Oct 2005
    Posts
    1,559

    Default

    Can you check /var/log/messages for any errors?

    Paddy

  7. #17
    Join Date
    Apr 2006
    Posts
    116

    Default scsi id

    SCSI id 7 is typically reserved for the SCSI Controller. I would change the tape scsi id to a different number, reboot the library, reboot the server and check the /proc/scsi/scsi for any new devices.

    When you reboot the system you should also have an option to login to the scsi controller utility. By pressing Ctr-D on boot or something along those lines. Once you get in to the utility you can run a scsi scan to see what scsi ids the devices have and make sure you can see both the tape and the changer when you run this scan.

  8. #18
    Join Date
    Oct 2006
    Posts
    30

    Default Bad SCSI card

    I check the SCSI ID's via the SCSI utility and the tape drive was there and then rescanned and it was gone. I replaced the SCSI card and now sees it great...another issue....

    My tapes are AIT-3's which are 100/260Gig tapes. So I tried to run amtapetype to create the tapetype for amanda.conf and this is the error I get.

    [amandabackup@austin lib]$ amtapetype -f /dev/st0 -e 260g
    Opening tapedev /dev/st0: got error Input/output error.
    amtapetype: could not open /dev/st0: Input/output error

    thoughts???

  9. #19
    Join Date
    Oct 2005
    Posts
    1,559

    Default

    Can you check if you can do dd to the tape?

    dd if=<some file> of=/dev/st0 bs=32k

    Check for errors in /var/log/messages. It appears you are still having hardware
    problems.

    Paddy

  10. #20
    Join Date
    Apr 2006
    Posts
    116

    Default please run these

    1. mt -f /dev/nst0 status
    2. mtx -f /dev/sg0 inquiry
    3. mtx -f /dev/sg1 inquiry
    4. mtx -f /dev/sg2 inquiry
    5. cat /proc/scsi/scsi

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •