|
|||||||||||
|
Re: Testing Spare Drives in Software RAID
From: Douglas A. Tutty <dtutty(at)porchlight.ca>
Date: Thu Aug 23 2007 - 08:49:22 EDT
I don't know how to test the actual functioning of a spare drive. With no activity on a spare, S.M.A.R.T. may not have any data to go on. You could have an extra spare drive. This spare drive could be as large as your largest partition used in your arrays. You could test this drive off-line with, for example, badblocks to write and read every block of the drive, giving S.M.A.R.T. something to go by. Then you could partition this drive as needed to create a temporary spare partition to put into an array, allowing you to remove a spare drive from an array for similar testing. If the array is raid1, you could add the spare in so that there are 3 mirror images. Once it has synced, S.M.A.R.T. should have some good data. You can then remove it and turn it back into a spare. I don't know how to do this with raid levels other than 1. Another method that doesn't require a spare-spare but with some risk would be to force-fail one of the active drives so that the spare comes into play, then add it back in as a spare. The risk is that if a drive in the array actually dies while the spare is being sync'ed then the array has two failed drives and the array itself fails. Doug. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Thu Aug 23 08:50:15 2007 This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 02:44:16 EDT |
||||||||||
|
|||||||||||