Jump to content

Drive failure during data rebuild


Recommended Posts

During a data rebuild to upgrade a drive, another drive started to fail (5000+ reallocated sectors).  I have stopped the rebuild.  I made no changes to the data on the array after starting the rebuild and I have the drive I was upgrading intact as it was when I took it out of the array.  Is it possible for me to put the old drive back in the array and then replace the failing drive instead?  If so how would I go about this?  

 

I have a backup of the array configuration from before I added the new drive.  Can I do the following:

 

-- Shutdown the array

-- Copy the backup configuration to the USB drive

-- Put the old drive back

-- Restart the array

-- Confirm everything looks OK

-- Replace the failing drive and rebuild

 

Would this work?  Would it preserve all of my data?  Is there a better way?

 

I would appreciate any assistance anyone can provide.

 

Thanks!

 

Jeff

Link to comment
8 hours ago, jawolf said:

Would this work?

Should work fine, but note that unless the rebuild was done in maintenance mode parity will always be a little out of sync due to mounting the filesystems, though this is usually not a big deal, if for some reason your backup doesn't work you can also try the invalid slot command.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...