Re: info about hdds in raid

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



At Mon, 2 Nov 2009 19:54:30 -0500 Robert Heller <heller@xxxxxxxxxxxx> wrote:

> 
> At Mon, 02 Nov 2009 18:02:25 -0600 CentOS mailing list <centos@xxxxxxxxxx> 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@xxxxxxxxxxxx       -- http://www.deepsoft.com/ModelRailroadSystem/
      
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[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