SCSI schizophrenia

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux