Help replacing a failed HDD in Mirrored pool

Hi, I have a mirrored pool “HomeLab”. It consisted of two old 1Tb HDD which were mirrored. Earlier this week one of the disks failed, anticipating the other one failing I have purchased a pair of 2Tb HDD. I have done many google searches and youtube searches but cannot see a consistent set of instructions for the current iteration of Scale (Electric Eel).
I would like to: Replace the defective drive with one of the new 2Tb HDD, silver the new drive into the mirror pool, then replace the other still functioning 1Tb with the second 2Tb, silvering again to end up with a Mirrored 2Tb pool.

Please can someone describe the steps to me? For info I am using ElectricEel-24.10.2.1?

Many thanks.
Edward.

It’s a mirror, so in the storage screen you can choose manage devices if the relevant pool, add a vdev (and add a new mirror comprising of the two new disks), and afterwards remove the degraded vdev, which will move all the data to the new vdev and finally you can remove the remaining, functional 1TB disk. (Assuming all three disks can be attached at the same time).

That’s one of the easier methods

Nothing really version specific here.
Plug in your new drive(s).
Storage > (pool) Manage Devices > (drive) > Replace
Do that for the failing (removed) device, and for the other drive, possibly all at the same time if you have enough SATA ports and you’re done.

Do not add a new vdev and remove the old vdev, and skip any possible trouble with the indirect vdev left by the removal.

Thank @etorix . Like an idiot I messed up before I saw your response. I clicked on Remove on the broken drive, meaning that I no longer have a Replace option for that drive as it is in the unused disks menu.
If it helps I have the following config:
5 sata ports:

12Tb + 12Tb Mirror
1Tb + 1Tb Spare port with broken ‘Removed’.
4Tb Random.

The NAS is very much a home lab, I can start and stop it and/or swap drives without impacting anyone.

Yes, I know, people like me are sent to test people like you!

Thanks.

OK. Power off, plug the two new drives, reboot, go to Storage > Manage Drives, select your lone drive, do “Extend” to get back to a mirror, and then “Replace” the 1 TB drive.

1 Like

What if you don’t have any additional SATA ports? Don’t you need to take the failed drive offline first, unplug it, plug in the new drive and then ‘replace’?

If you have no spare ports, that’s correct. Just make sure to verify the disk serial numbers of the good and ‘failed’ drive

Whenever possible, keep the replaced drive online. On a SATA to USB adapter if need be. (And, of course, if it is the last drive, it has to be present to be replaced!)

As long as the drive can be read, even if it is in the process of failing, it provides redundancy.

Worked perfectly. All up and running. Many thanks.

1 Like