[CentOS] OT: USB3 drive occasionally not detected

Brunner, Brian T. BBrunner at gai-tronics.com
Wed Jul 13 19:01:21 UTC 2011


centos-bounces at centos.org wrote:
> Am Mittwoch, 13. Juli 2011 13:42 schrieb Brunner, Brian T.:
> 
>> Try this:
>> Make (eg) /usr/bin/usb3mount (your own wrapper for /bin/mount for
>> usb3 devices) Include the line
>> for num in 0 1 2 3 4 5 ; do echo "- - -" >
>> /sys/class/scsi_host/host$num/scan; done
> 
> No effect (have a number 9 t# therefore I run from 0 till 9.
> 
> Message:
> 
> ./usb3mount: line 2: /sys/class/scsi_host/host4/scan: Datei oder
> Verzeichnis nicht gefunden
> ./usb3mount: line 2: /sys/class/scsi_host/host5/scan: Datei oder
> Verzeichnis nicht gefunden
> ./usb3mount: line 2: /sys/class/scsi_host/host6/scan: Datei oder
> Verzeichnis nicht gefunden
> ./usb3mount: line 2: /sys/class/scsi_host/host7/scan: Datei oder
> Verzeichnis nicht gefunden
> ./usb3mount: line 2: /sys/class/scsi_host/host8/scan: Datei oder
> Verzeichnis nicht gefunden

"file or directory not found"
Look for 
/sys
/sys/class
/sys/class/scsi_host
/sys/class/scsi_host/host1
...
/sys/class/scsi_host/host8
And see which aren't there.

Insert spiffy .sig here:
Life is complex: it has both real and imaginary parts.
Life is not measured by the number of breaths we take, but by the
moments that take our breath away. 


//me  (I have nothing to do with the following text)
*******************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager. This footnote also confirms that this
email message has been swept for the presence of computer viruses.
www.Hubbell.com - Hubbell Incorporated**




More information about the CentOS mailing list