Jump to content

Help: How can I swap a disabled drive with an unutilized drive in array?


Recommended Posts

Hi,

I ran into a drive failure (no idea what the failure is -- brand new WD drive!) but I need to replace the disabled drive.

In the past, I've simply replaced with a new drive. However, this time I'd like to use a drive that's already part of my array that has no content on it, 0% utilized.

 

What's the best way to perform this swap and array shrink? I couldn't find a good answer here. My array is currently unprotected due to the disabled drive.

 

1433064362_ScreenShot2021-04-19at10_38_55AM.png.8ce4b5667efa56a720755c97d0e515ea.png

 

My thought was to stop the array and set disk 11 to none, then set disk 10 to what disk 11 was set to. But I have a feeling this isn't what I want to do! :)

Link to comment

You can't do that because the system won't be able to rebuild the bad drive due to the missing drive (single parity), or you'll be running the array in a degraded state (dual parity)

 

Actual drive failures are exceedingly rare.  The usual problem is poor connections to the drive / sata ports.

 

Post your diagnostics.

Link to comment

Thanks for the quick reply! 🙇‍♂️

 

As for the connection issue, I have seen a number of drives have with udma crc error. I'm trying to track that done, trying new cables etc.

however, this disabled drive is making a fair bit of unusual noises while running...


I've attached the diagnostics for the disabled drive. 

WDC_WD80EFAX-68KNBN0-diagnostics-20210419 disk10 (sdj) - DISK_DSBL.txt

Link to comment

One option would be to copy the files from the emulated Disk 10 to Disk 11, followed by shrinking the array to eliminate Disk 10 and re-sync parity. Another would be to buy another disk to rebuild Disk 10 onto, which would allow you to investigate the "failed" disk at your leisure, possibly (probably) resulting in it being usable as a spare. The other option is, as Squid suggests, to rebuild Disk 10 onto the original disk if it turns out to be still good, guided by your diagnostics.

Link to comment

Thanks all for the help! I can't figure out what's wrong with the drive.

The extended SMART test doesn't seem to complete. Looks like maybe timing out? Says aborted by host.

 

Here's the full full Diagnostics ZIP. 

 

Edited by akennealy
remove zip
Link to comment
12 minutes ago, John_M said:

Diagnostics don't show why it was disabled because you've rebooted since, but as indicated it's most likely a cable problem. If it passes the extended SMART self-test you should replace the SATA cable, then you can re-build onto the same disk.

 

Thanks! I'm running the extended again with spin down disabled. I can post results when complete. 

Link to comment

Never spin down disks, ever!... Disks DO fail even if constantly running. (My two cents and 30 years on disks with 6 failures [3xWD/3xSeagate].)

 

That said... From the top of the post, I don't understand why Disk 11 can't replace Disk 10?... I understand it in hardware->software (disk 10 and 11 must be removed and replaced by disk 11, but... well... I know the OS can't know a good drive is waiting there... or, can a good OS know it?

 

6.

Link to comment
1 hour ago, 6of6 said:

rom the top of the post, I don't understand why Disk 11 can't replace Disk 10


The problem is that even an disk with no files but has been formatted to create an empty file system  (what a user normally means by an ‘empty’ disk) is included in the parity calculations and cannot be removed without invalidating its role in the parity calculations.    This would mean that there is no longer enough redundancy information to allow disk10 to be rebuilt.

 

this is one reason why it is frequently recommended to not add a disk to the array before you require (or will soon require) the space.   Once added the drive is no longer available to be used as a replacement for another drive that then fails.

 

  • Thanks 1
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...