brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: New Config is not the way to rebuild an Unraid disk

Unraid
~/tips/tip-unraid-new-config-not-for-rebuild

Assign the new disk to the failed disk's slot

Avoid losing the rebuild option for a disabled disk.

When a disk is disabled and the array looks messy, Tools → New Config can feel like a reset button that makes it all go away. For a rebuild it is the wrong tool, and the docs say so in plain words.

The array maintenance page is blunt about it: New Config is the wrong tool when you want a rebuild. It wipes the array history that a rebuild depends on, and after that Unraid won’t even offer to rebuild the disk.

Unraid knows which disk is disabled and what parity should rebuild onto the replacement because of that history. After a New Config it simply sees a fresh set of disks.

For a failed disk, the path I’d follow is the normal replacement:

Stop the array
Assign the new disk to the failed disk's slot
Yes, I want to do this
Start  (rebuild begins in Normal Mode)

The same page has a second warning for anyone who does end up in New Config: next to the Start button there is a Parity is Valid checkbox. Only tick it if you are certain, or if an experienced Unraid user told you to during recovery. Ticking it wrongly can lead to data loss.

New Config has its place. The docs list removing disks, starting a new layout and fixing assignment errors. It’s just not a repair tool for a red X.

If you already ran it by accident, there is an undo through super.old in the config folder of the boot device, which I covered in an earlier tip. Do that before you start the array again.

Further reading: Unraid docs: Array health and maintenance, Unraid docs: Replacing disks in array

Going deeper: Get the most out of Unraid: the settings worth changing, from shares to backups

More Unraid tips Change the RAID profile of a Unraid BTRFS pool with Balance Replace a disk in a redundant Unraid pool from the Main tab Test every Unraid drive with the DiskSpeed container See the XML behind a VM with the inline XML view in Unraid 7 Choose where a new VM's disk image is created with Unraid's storage override All Unraid tips (77) All topics

Link