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: remove a data disk from the Unraid array with New Config and a fresh parity sync

Unraid
~/tips/tip-unraid-remove-data-disk

1. Move the data you want to keep off the disk

Shrink the array by one disk without guessing at the steps.

Sometimes a disk has to go. It is old, it is small, or it uses more power than the data on it is worth. The route the docs describe goes through Tools → New Config.

The standard method from the docs:

1. Move the data you want to keep off the disk
2. Stop the array
3. Take a screenshot of the disk assignments
4. Tools → New Config
5. Preserve current assignments: All
6. Yes, I want to do this → Apply → Done
7. Main tab: unassign the disk you want to remove
8. Leave "Parity is already valid" unchecked
9. Start

Picking All keeps every slot as it was, so you only change the one disk. Unraid then builds parity from scratch for the smaller array. With Sonarr and Radarr writing to my array, I’d also pause them while I empty the disk, and check through /mnt/diskX that it really is empty before touching New Config. The screenshot sounds optional. I would make it anyway, because getting the parity disk assignment wrong at step 7 is how people lose data.

There is also a parity-preserve method that zeros the disk with dd first so parity stays valid. The docs call it advanced, it erases the disk, and LimeTech gives no official support for it. For a home server the standard method is the calmer choice.

The caveat is the window after step 9. The docs say a parity sync starts and the array is vulnerable to data loss until it completes, which may take several hours. If another disk fails in that window, parity can’t help you. Leave the big copy jobs for later.

Further reading: Unraid docs: Removing disks from array, Unraid docs: Array health and maintenance

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