[CentOS] info about hdds in raid

Robert Heller heller at deepsoft.com
Tue Nov 3 01:18:36 UTC 2009


At Mon, 2 Nov 2009 19:54:30 -0500 Robert Heller <heller at deepsoft.com> wrote:

> 
> At Mon, 02 Nov 2009 18:02:25 -0600 CentOS mailing list <centos at centos.org> wrote:
> 
> > 
> > John R Pierce wrote:
> > > Les Mikesell wrote:
> > >> If you can see activity lights, you can 'cat /dev/sd? >/dev/null' to 
> > >> make them busy, one at a time (where ? is a, b, c, etc).
> > >>   
> > > 
> > > hahaha, I've done that, only my version is...
> > > 
> > >     # dd if=/dev/sdX of=/dev/null bs=512
> > > 
> > > but, same difference
> > 
> > It's unfortunately about the best we've got when device names are 
> > assigned more or less randomly.  NICs are even worse - we need a command 
> > to make the lights blink there too.
> 
> AH for the days of HSZ70 boxes... There is a command to make a selected
> disk in the array blink its light...

Here is something that seems to work:

Install sg3_utils and do something like:

sudo /usr/bin/sg_turs -n=5000 /dev/sdX

(sg_turs does a TEST UNIT READY command, in the above case, it does 5000
of them.  This is enough to light up the access light for like a second
or so.)

> 
> > 
> 

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
heller at deepsoft.com       -- http://www.deepsoft.com/ModelRailroadSystem/
      


More information about the CentOS mailing list