Clearing drive for removal


Recommended Posts

Two questions here.

 

1) if I'm running the command "dd bs=1M if=/dev/zero of=/dev/md1 status=progress" in screen so I can zero the drive and then remove it from the array without losing parity, is reason I couldn't just suspend the process this evening when the server is going to be under high use and then resume it much later tonight?  Based on what it's doing I think that should be ok.

 

2) if I have a new, bigger drive that I have already pre-cleared could I just change the drive assignment and preserve parity?

Link to comment

If you are replacing the drive, why not just do the normal drive replacement procedure?

 

For parity to remain valid, the bits on the drive you are removing must be exactly the same as the bits on the replacement. So, either both the old and new drives must be all zeroes, or the new drive rebuilt from parity to match the old drive, or rebuild parity based on the new drive content.

 

I suppose you could pause the zeroing process, I've never tried.

Link to comment

Looking like the Plex server is going to survive the night without me having to pause.  I was originally just going to remove a drive, but then realized I had a larger one that was already pre-cleared around, so figured I would just try to kill two birds with one reboot.

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.