On Fri, 2005-10-21 at 11:54 +0100, James Pearson wrote:
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/
---- now that's what I'm talking about ;-)
Thanks - at this point, I will wait until office clears out tonight - doesn't seem to be the thing you want to try to S & G's at the beginning of the day (desparation is a relative thing - they are functioning, just backup isn't happening).
Craig