Having gradually built up my media collection to near the capacity of my 16TB external HDD, I’ve reached the point where I’ll probably need to build a RAID array to keep the collection in one place. Assuming the RAID array will be at least 32TB, I have a few questions:

  1. From what I’ve read RAID arrays can help mitigate the risk of individual drives failing if extra space is allotted on the hard drives. Assuming a total capacity of 32TB, how much of that space would be reserved by the RAID array for data loss prevention?

  2. Is there a certain type of hard drive I would have to use? Aside from my 16TB drive, I also have two 2 8TB drives that I’d ideally like to be able to re-use in the RAID array, but have left them in their enclosures for the time being.

  3. If the hard drives in the array have different transfer speeds, does the array as a whole default to the slowest one?

  4. Whether the hard drives I already have are compatible or not, what RAID enclosure and hard drives would you recommend?

1 point

My man, You need a NAS. I can highly recommend TrueNAS scale if you want to go the self building route.

permalink
report
reply
0 points

I’m not interested in accessing the hard drives remotely, so a NAS would probably be unnecessary for my use case.

permalink
report
parent
reply
2 points

You want the drives in your main rig?

permalink
report
parent
reply
1 point

My idea was to just put several external hard drives into a RAID enclosure and connect it to my computer via USB. Wouldn’t that function similarly to a typical external hard drive?

permalink
report
parent
reply
6 points

Start googling. Hardware or Software based? How techy are you? RAID should not be considered for backup. Think of it as an individual drive. Still needs a backup. Personally I use a ZFS pool in my Linux homelab that’s been rock solid. However the pucker factor would be high if a drive fails.

  1. Depends on how you set them up. There are calculators online that can estimate this for you.

  2. I used NAS drives bc they’re expected to be spinning a lot.

  3. No. You will see better performance on average compared to your slowest drive.

  4. I have no relevant experience with specific hardware. For a general base of knowledge figure out what RAID type you want to use. Look at what ZFS or btrfs can do in this space. Same for unraid.

permalink
report
reply

Personally I use a ZFS pool in my Linux homelab that’s been rock solid. However the pucker factor would be high if a drive fails.

I use a ZFS pool for my home stuff too.
To minimize the pucker factor, I have an extra drive of the same capacity and I rotate through them in the mirror pool.
It makes good practice replacing and resilvering drives and since it’s a mirror it’s also kind of an offline backup.
Also, I had bought the initial drives at the same time and figured rotating though them would minimize the odds of failing around the same time.
I’m much less wary of the whole thing now that I’ve resilvered the drives several times.

permalink
report
parent
reply
1 point

That’s a really great idea. I know at least 2 of the drives are from the same batch so it would be good to rotate things in and out. Thanks!

permalink
report
parent
reply

Yea, if anything it makes good practice.
Swapping hard drives in the larger data pool isn’t as daunting anymore.
Although, I gotta be honest, swapping drives in the zpool from which proxmox boots itself is still a bit iffy to me.
I had to set a reminder, because otherwise I won’t do it often enough.

permalink
report
parent
reply
8 points

Could use https://github.com/trapexit/mergerfs if you dont care about losing data. My 3 disks basically show up as one.

permalink
report
reply
3 points

You can also use SnapRaid along side MergerFS to provide some data redundancy. MergerFS will allow you to create a parity drive, without requiring all of your drives to be in your typical RAID pool. This way, if you have several drives die, then you can still access whatever data is available on the remaining drives.

permalink
report
parent
reply
33 points
*

The general datahoarder hive mind seems to be moving away from shucking and towards manufacturer refurbished drives, see https://serverpartdeals.com/ for example, especially in RAID where you can lose a drive with impunity and warranty is uncomplicated by shucking.

In RAID and similar strategies the redundancy comes from a parity drive, which protects against the loss of one (or more with some schemes) drive, so if you only have two drives of the same size it’s just a mirror (50% of total pool) but you can have a drive die without data loss. With four drives you get to use three of the drives (75%), five you can use four (80%) etc. Classical RAID uses identical sized disks but there are other approaches that allow different sizes e.g. mergerfs + SnapRAID or Unraid, here you lose your largest disk to parity.

RAID is generally faster than the individual drives, e.g. mirroring is nearly twice as fast.

Perhaps go with another 2*8Tb which will get you 24Tb usable and use the 16Tb for offline, preferably offsite backup (remember RAID is not a backup, it protects you from disk failure, but not user error for example accidentally deleting things)

permalink
report
reply
7 points

Just be sure there is some gaps between the serial numbers of those hdds.

permalink
report
parent
reply
9 points
  1. RAID for uptime, backups for data you care about. RAID(1+) will keep your data online when a disk fails, but backups are the real way to keep data around if shit hits the fan. For a personal media collection, you might be better served with a non resilient RAID0 (total failure if one drive fails) with a backup around to recover from when that happens. If you do e.g. a raid5 you lose 1 disk of capacity in exchange for 1 disk of resiliency, raid6 same but 2 disks. That gives you some safety but there are a lot of instances where those raids don’t save you from losing all your data. If you buy 4x 18TB drives, you could have 36TB from the 1st two drives and then backup to the other two drives.

  2. There’s no specific type of drive to worry about unless you’re doing RAIDs especially with ZFS. Search shingle RAID rebuild for the biggest thing to worry about there.

  3. Almost always, yes. Slow drives throttle the rest.

  4. I’ve never used them but people say good things about synology most of the time. Everything comes with a cost and it’s hard to make any sensible recommendations without knowing your constraints; primarily your budget.

permalink
report
reply
6 points

Want to echo what was said here. RAID is not a backup solution. RAID is for always on capability. Do not use RAID as a way to keep valuable data safe. Just have double the drive space and keep a backup of the data on the second drive.

permalink
report
parent
reply

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

!piracy@lemmy.dbzer0.com

Create post
⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don’t request invites, trade, sell, or self-promote

3. Don’t request or link to specific pirated titles, including DMs

4. Don’t submit low-quality posts, be entitled, or harass others


Loot, Pillage, & Plunder


💰 Please help cover server costs.


Community stats

  • 5.6K

    Monthly active users

  • 3.2K

    Posts

  • 84K

    Comments