[SATLUG] 1st Q? - RAID5 quit working - Cables swapped & retest results

David Labens adlabens at swbell.net
Wed Aug 19 16:53:51 CDT 2009

Jeremy, I appreciate your guidance.  However, I don't remember if I
need to do any kind of formatting on the new drive before I try to add
it in.  I'm not even getting the drive till tomorrow, so I'm not in
"mad-rush" mode, but don't want to ask in the heat of the install!

David Labens

San Antonio, TX

--- On Wed, 8/19/09, Jeremy Mann <jeremymann at gmail.com> wrote:

From: Jeremy Mann <jeremymann at gmail.com>
Subject: Re: [SATLUG] 1st Q? - RAID5 quit working - Cables swapped & retest  results
To: "The San Antonio Linux User's Group Mailing List" <satlug at satlug.org>
Date: Wednesday, August 19, 2009, 4:10 PM

On Wed, Aug 19, 2009 at 3:45 PM, David Labens<adlabens at swbell.net> wrote:
> Jeremy, that was actually option 2.  I guess the formatting didn't come
> through.  I hadn't considered that it would be stripped.  Sorry.
> Yes, I'm figuring just replacing the damaged drive & having the
> system do the rebuild.  But, I've got VERY limited knowledge of this,
> and someone else may look at the test results and recognize other red
> flags that I may be missing.

Since I've done this in the past I'll share my knowledge. BEFORE you
power down the system to change the drive, you first need to tell the
array to remove sdc:

mdadm --fail /dev/md0 /dev/sdc1
mdadm --remove /dev/md0 /dev/sdc1

Power down the system and change the drive. Now you have to add it to
existing array. Once you add it, the rebuilding process will begin. I
would suggest to NOT touch the system until the rebuild is done.

Adding it back in:
mdadm --manage /dev/md0 --add /dev/sdc1

You can check the status of the array with:

cat /proc/mdstat

Jeremy Mann
jeremy at biochem.uthscsa.edu

University of Texas Health Science Center
Bioinformatics Core Facility
Phone: (210) 567-2672
SATLUG mailing list
SATLUG at satlug.org
http://alamo.satlug.org/mailman/listinfo/satlug to manage/unsubscribe
Powered by Rackspace (www.rackspace.com)

More information about the SATLUG mailing list