Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

planing a new install

Featured Replies

I'm interested in setting up a backup storage device using unraid. I get this is not a raid 5 nas but my understanding far better option over saving everything to a single drive. my thought/goal is to turn an older machine into the dedicated backup location. I have gone thru some of the documentation but I have some questions I wasn't able to find on point.

• is it an option to purchase a das then put something like a small computer in front of it running unraid? part of the challenge is going to be putting smaller ssd drives into the box/securing them inside somehow while a das is built to host several drives. I would expect some level of issue with the das internal arguing with unraid which prefers hba/jbod or ahci-style direct disk access to gain information from the drives. of course that ignores the whole usb bottleneck but wanted to check

• let's say I start out with 1 tb mechanical drive and a pair of 2 tb ssd. later I want to add another drive to the pool or replace one of the ssd. what I wasn't finding as easily was information on changing the pool. I would think adding a drive is 1 path while removing a drive is a different path. I know what would happen with raid 5 but I want to better understand how the redundancy in unraid works when I change hardware

Unraid works well as a backup target. Some notes on your two questions:

DAS over USB

Unraid can use USB-attached disks, but we don't recommend them for array or pool devices, and multi-bay USB enclosures are the most common source of trouble. Many of them use a single USB bridge for all bays. When that bridge resets under heavy writes, every disk in the enclosure drops at once, and Unraid can then disable one or more disks. Some bridges also don't pass through SMART data or each disk's real serial number. Unraid uses the serial to identify disks, and you'd lose SMART monitoring. If you do use a DAS, it must be in plain JBOD mode with no internal RAID, and it should show each disk with its own model and serial.

If the older machine has free SATA ports, those are the better option. If you need more ports, a used LSI HBA in IT mode is inexpensive and works very well. SSDs don't care about vibration or position, so a cheap 2.5" to 3.5" adapter, a multi-SSD bracket, or even firmly securing them inside the case is fine.

How redundancy works, and changing hardware

Unraid has two kinds of storage:

- Array: one or two parity disks plus data disks. Each data disk has its own filesystem. The parity disk must be at least as large as the largest data disk. Single parity survives one failed disk, dual parity survives two. If more disks fail than you have parity for, you only lose the data on the failed disks, and the other disks can still be read normally.

- Adding a data disk: assign it to a new slot. Unraid clears it first so parity stays valid, then you format it.

- Replacing or upgrading a data disk: stop the array, assign the new disk to the same slot and start. The contents are rebuilt from parity. The new disk can be larger, but not larger than parity. To go bigger than that, upgrade the parity disk first in the same way.

- Removing a disk without replacing it: move its data off first using the mover, then use Tools > New Config, keep the current assignments, unassign that disk and start the array. Parity is then rebuilt, and the array isn't protected until that finishes.

- Pools: btrfs or ZFS, with RAID-style redundancy such as a mirror.

- Btrfs is the most flexible with mixed sizes. You can add a device and the pool rebalances. You can replace a device from the GUI. To remove a device from a redundant pool, stop the array, unassign it and start, and Unraid removes it and rebalances. The remaining devices need enough free space for that.

- ZFS is less flexible. You can replace devices with same-size or larger ones, but growing a pool usually means adding another group of disks with the same layout, and you generally can't remove a device from a raidz pool.

For your drives, I'd suggest the two 2 TB SSDs as a btrfs or zfs mirror pool, which gives 2 TB of usable, redundant space. Use the array for hard drives. SSDs in the parity array don't get TRIM, so the array is best kept for HDDs. You can start with the 1 TB HDD alone in the array and add a parity disk later. Until then, that disk isn't protected.

Finally, since this will be your backup location: redundancy protects against a failed disk, not against deletion, corruption or ransomware. It's still worth keeping a second copy of anything important somewhere else.

  • Author

outstanding sir. not only did you answer both questions, you stepped back to explain a misunderstanding I had about unraid: it can perform raid 5. on other details, I did not expect ssd to have downsides like you identified. I'm going to look more into exact configs but you did send me towards what I expect to implement.

and you did answer the das question. I didn't think it would be the correct solution/at best introduced more issues than it was worth be a definite understanding as opposed to my guess just saved me time looking for more information or troubleshooting later

Edited by tsawyer

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.