Re: Possible HDD error, how do I find which HDD it is?

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

 



(whoops, dropped the list.  Sorry about the dupe, John)

On 02/19/2011 12:25 PM, John Robinson wrote:
[trim /]
> So I changed the find regex as follows:
> 
> find /sys/devices/ -regex '.+/scsi_host\(:block\|:host[0-9]+\)?'
> 
> though I'd be interested to know why the simpler:
> 
> find /sys/devices/ -name 'scsi_host*'
> 
> isn't sufficient?

It probably is fine, and does work on all my machines close at hand.  I did a fair amount of rework after the last public discussion, and I try to be conservative with wildcard matches.  I'll use it for a while, and see if it bites.

Phil
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux