OK - I only have one tape drive but a real problem these days backing up. I ***may*** have connected the SCSI connector to the 'other' external connector when shifting stuff around in the rack. # cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: MegaRAID Model: LD 0 RAID5 69G Rev: 4.10 Type: Direct-Access ANSI SCSI revision: 02 Host: scsi0 Channel: 04 Id: 06 Lun: 00 Vendor: PE/PV Model: 1x3 SCSI BP Rev: 1.1 Type: Processor ANSI SCSI revision: 02 Host: scsi0 Channel: 05 Id: 06 Lun: 00 Vendor: SEAGATE Model: ULTRIUM06242-XXX Rev: 1514 Type: Sequential-Access ANSI SCSI revision: 03 Host: scsi0 Channel: 05 Id: 06 Lun: 01 Vendor: SEAGATE Model: ULTRIUM06242-XXX Rev: 1514 Type: Sequential-Access ANSI SCSI revision: 03 How do I get it 're-parse' the scsi system so it only indicates one ULTRIUM tape drive? Me suspects this is why I am having backup issues. Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Craig White wrote:> OK - I only have one tape drive but a real problem these days backing > up. I ***may*** have connected the SCSI connector to the 'other' > external connector when shifting stuff around in the rack. > > # cat /proc/scsi/scsi > Attached devices: > Host: scsi0 Channel: 00 Id: 00 Lun: 00 > Vendor: MegaRAID Model: LD 0 RAID5 69G Rev: 4.10 > Type: Direct-Access ANSI SCSI revision: 02 > Host: scsi0 Channel: 04 Id: 06 Lun: 00 > Vendor: PE/PV Model: 1x3 SCSI BP Rev: 1.1 > Type: Processor ANSI SCSI revision: 02 > Host: scsi0 Channel: 05 Id: 06 Lun: 00 > Vendor: SEAGATE Model: ULTRIUM06242-XXX Rev: 1514 > Type: Sequential-Access ANSI SCSI revision: 03 > Host: scsi0 Channel: 05 Id: 06 Lun: 01 > Vendor: SEAGATE Model: ULTRIUM06242-XXX Rev: 1514 > Type: Sequential-Access ANSI SCSI revision: 03 > > How do I get it 're-parse' the scsi system so it only indicates one > ULTRIUM tape drive? Me suspects this is why I am having backup issues.Try: echo "scsi remove-single-device 0 5 6 1" > /proc/scsi/scsi This should remove the drive at LUN 1 Also have a look at the 'Rescan SCSI bus' section at http://www.garloff.de/kurt/linux/ James Pearson
Quoting Craig White <craigwhite at azapple.com>:> OK - I only have one tape drive but a real problem these days backing > up. I ***may*** have connected the SCSI connector to the 'other' > external connector when shifting stuff around in the rack. > > # cat /proc/scsi/scsi > Attached devices:> Host: scsi0 Channel: 05 Id: 06 Lun: 00 > Vendor: SEAGATE Model: ULTRIUM06242-XXX Rev: 1514 > Type: Sequential-Access ANSI SCSI revision: 03 > Host: scsi0 Channel: 05 Id: 06 Lun: 01 > Vendor: SEAGATE Model: ULTRIUM06242-XXX Rev: 1514 > Type: Sequential-Access ANSI SCSI revision: 03 > > How do I get it 're-parse' the scsi system so it only indicates one > ULTRIUM tape drive? Me suspects this is why I am having backup issues.Hm, reboot? ;-) However, it might not help. Some hardware likes to be seen on more than one LUN. I used to have one ancient 8mm Exabyte tape drive that would report it has about 8 LUNs. Go figure. ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
Craig White <craigwhite at azapple.com> wrote:> OK - I only have one tape drive but a real problem these > days backing up. I ***may*** have connected the SCSI > connector to the 'other' external connector when shifting > stuff around in the rack. > # cat /proc/scsi/scsi > Attached devices: > Host: scsi0 Channel: 00 Id: 00 Lun: 00 > Vendor: MegaRAID Model: LD 0 RAID5 69G Rev: 4.10 > Type: Direct-Access ANSI SCSI > revision: 02 > Host: scsi0 Channel: 04 Id: 06 Lun: 00 > Vendor: PE/PV Model: 1x3 SCSI BP Rev: 1.1 > Type: Processor ANSI SCSI > revision: 02 > Host: scsi0 Channel: 05 Id: 06 Lun: 00 > Vendor: SEAGATE Model: ULTRIUM06242-XXX Rev: 1514 > Type: Sequential-Access ANSI SCSI > revision: 03 > Host: scsi0 Channel: 05 Id: 06 Lun: 01 > Vendor: SEAGATE Model: ULTRIUM06242-XXX Rev: 1514 > Type: Sequential-Access ANSI SCSI > revision: 03 > How do I get it 're-parse' the scsi system so it only > indicates one ULTRIUM tape drive? Me suspects this is > why I am having backup issues.2 Options ... 1. If the devices are not in use, merely "rmmod" the SCSI stack (st, sd, host, mod_scsi/scsi_mod) and then re-probe (modprobe st). 2. You can rescan the SCSI bus in a variety of ways (even a few more with kernel 2.6). There are countless scripts usable for SCSI, FireWire, etc... available via a Google search ("Linux SCSI rescan"). -- Bryan J. Smith | Sent from Yahoo Mail mailto:b.j.smith at ieee.org | (please excuse any http://thebs413.blogspot.com/ | missing headers)