Re: 4 partition raid 5 with 2 disks active and 2 spare, how to force?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael Evans
Date: Sunday, March 28, 2010 - 11:41 pm

On Sun, Mar 28, 2010 at 10:32 PM, Luca Berra <bluca@comedia.it> wrote:

Additionally to using missing for the device you know to be a failed
one, VERY highly suggest running a check, or some read-only operation
on the resulting raid device to make sure you can read all of the
data.  Be sure to check the dmesg/system logs to make sure that there
were no noted storage errors.  If there were not, it is /probably/
safe to re-add the previously failed disk and resync it.

While checking that your array data can be read, you should probably
also run the SMART tests via smartctl (or a gui for it) on the
'failed' disk to see if it was a sign of something worse.

In any case, I do NOT recommend using anything within the raid
container other than in read-only mode until the resync is complete.
You may need to use portions of sda that are still good in more
elaborate ways to recover data that is readable there, but not
readable on sdd or other drives.  Read/write mode or even FSCK on the
array contents will only increase the chances of data being out of
sync.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
4 partition raid 5 with 2 disks active and 2 spare, how to ..., Anshuman Aggarwal, (Thu Mar 25, 2:30 am)
Re: 4 partition raid 5 with 2 disks active and 2 spare, ho ..., Anshuman Aggarwal, (Thu Mar 25, 7:09 am)
Re: 4 partition raid 5 with 2 disks active and 2 spare, ho ..., Anshuman Aggarwal, (Fri Mar 26, 9:28 am)
Re: 4 partition raid 5 with 2 disks active and 2 spare, ho ..., Anshuman Aggarwal, (Sun Mar 28, 8:18 am)
Re: 4 partition raid 5 with 2 disks active and 2 spare, ho ..., Anshuman Aggarwal, (Sun Mar 28, 9:35 am)
Re: 4 partition raid 5 with 2 disks active and 2 spare, ho ..., Michael Evans, (Sun Mar 28, 11:41 pm)
linux raid recreate , Anshuman Aggarwal, (Tue Apr 6, 11:07 am)
Re: linux raid recreate, Neil Brown, (Tue Apr 6, 3:55 pm)
Re: linux raid recreate, Berkey B Walker, (Tue Apr 6, 5:24 pm)
Re: linux raid recreate, Anshuman Aggarwal, (Wed Apr 7, 12:27 am)
Re: linux raid recreate, Neil Brown, (Wed Apr 7, 6:15 am)