linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Device naming and raid1
@ 2008-08-26 15:32 Tony Coffman
  2008-08-27 11:11 ` David Lethe
  0 siblings, 1 reply; 8+ messages in thread
From: Tony Coffman @ 2008-08-26 15:32 UTC (permalink / raw)
  To: linux-raid

I've have a Centos5 box running a software raid-1 set on a pair of SATA
drives.

The SATA controller or driver has a flaw.
Every 150 days or so, one of the two drives will experience errors and fail.

Subsequent tests always show the drive and cable to be ok.  We bought a
couple of replacement drives before we figured that out :-(

On the last event this weekend, I went searching for a way to get the
raid back online with no host downtime.  I found the technique that
deletes the drive and then brings it back online with a bus scan using
the /sys filesystem delete and rescan entities.

I didn't realize that you could also perform a rescan on a single LUN. 
I'll have to use that next time.

My question - since I've done a delete/rescan bus operation, my device
name and major,minor numbers have changed.

Original
[0:0:0:0]    disk    ATA      ST3250410AS      3.AA  /dev/sdc

Current
[0:0:0:0]    disk    ATA      ST3250410AS      3.AA  /dev/sdc

If I re-add the device to the raid set using the new device name, will
it cause any problems on the next boot?

The drive appears to be fine.  I can read all blocks with no errors. 
Partition table looks ok, etc..

In the future if I rescan just the single LUN, I'm pretty sure I won't
run into again this but I'd like to avoid an outage on this event if
possible.

Thanks and regards,
--Tony


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-08-27 14:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-26 15:32 Device naming and raid1 Tony Coffman
2008-08-27 11:11 ` David Lethe
2008-08-27 13:21   ` Tony Coffman
2008-08-27 13:31     ` Sujit Karataparambil
2008-08-27 14:08       ` Sujit Karataparambil
2008-08-27 14:46         ` David Greaves
2008-08-27 14:48         ` Tony Coffman
2008-08-27 13:42     ` Steve Fairbairn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).