84 points · by seycombi · 9y ago · 109 comments
Might as well ask here. My 2TB Plex hard drive is getting full. What's the best solution if I want say 10TB to store my media for Plex but very hands off?
I don't want to weld any contraption just plug something in and have it be visible by Windows 10.
Generally I've gone to a archive first strategy for recovery though. I didn't want to buy a tape drive to back it up (10TB usable after dual parity protection), so I write media as I get it to BD-R's and put them on the NAS box for accessibility. I also backup individual projects on their own DVD-R or BD-R. That negatively impacts 'time to reconstruct' because each source will have to be located, loaded, then verified. But it essentially means nothing on the NAS box isn't already available on shelf-stable read only media. It also means the option for recovering from a ransomware attack is to re-format and re-load. The challenge is maintaining the discipline of making the restore media first.
In fact, as I speak I'm upgrading to 4x8TB Western Digital Red drives (I back up a number of computers, and have some large media files). Resilvering takes foreeeevveeerrr btw. (looks like about 36 hours per disk, times 4)
Edit: I guess I'm assuming the ransomware doesn't have access to the raw disks, which would be true if you were using a NAS (e.g. FreeNAS) and connecting to it via NFS, CIFS, etc.
On the storage? Nope.
Get backups.
You probably need a NAS. To store 10TB securely you are looking at a bill of materials of about ~1200usd. This includes a NAS from synology and 3 6TD Western Digital Red drives. This will give you 12TB of storage space running in a RAID5 configuration.
Synology DS416 NAS diskless: 365USD WD Red 6TB: 253USD (x3) Total: 1124
For a little more you could pick up a HP Microserver for just under 400USD and run ZFS on a pool with SMBD and get about the same results but with more hands on fun.
Alternatively, just aim your requirements a bit lower (e.g. only 6TB) and pick up a 2 disk nas and 2 drives running as a mirror and it will be much cheaper (~700-800USD).
Resources: http://www.raid-calculator.com/default.aspx
* A disk failure where some moderate number of sectors become unreadable is far more likely than a disk going completely toast.
* Even if I were running raidz2 or raidz3 I'd still want the offsite backups in case of some disaster befalling the entire array (or more likely, me accidentally rm'ing something)
* It's a home fileserver used mostly for archival purposes. Unlike a business scenario, the loss of availability while I restore from backup is not going to hurt too badly.
Did I miss something here or do you think this is sound?
For just 10TB, I would recommend that most home users stay away from RAID and buy 3 Seagate 10TB drives (street price currently $399 each) for total of ~$1200. Use 1 drive as primary copy and the 2 others as backups. With 3 drives, you could even rotate the 2 backups to an offsite location.
I quit using RAID in 2007. All of them FreeNAS/drobo/Synology/etc required more troubleshooting and babysitting than I wanted to deal with. It didn't matter if it was Linux software or dedicated hardware (NAS appliance).
And how do you plan to detect if your data is silently corrupted? Unless you're using some archive file format that includes checksums/hashes, you have no way of knowing whether your backups are any good until it's too late.
You may not need that feature, but it's a very useful option to have.
The downside for media storage is that a straight NAS is often incredibly slow compared to USB3. For decent speed you need iSCSI, which adds cost and complication.
* zfs for snapshots (and send my inc snapshots from my laptop) * zfs fs with snapshots to rsync non-zfs enabled devices (read: wife's mbp && imac) * rpi3 as brain (slow, but works) * 2x2Tb drives on a zraid
It took me a while to get it to where I wanted, but it was cheap (~230), low power and safe enough for home. I recently did a full reinstall from scratch and it took me less than 15 min to get my system back (I have my /home as a zfs fs backed up).
This comment should not be understood as offensive. I am just interested where one draws the line.
The only hassle so far has been backups. The built-in backup apps can't span media (external USB drives). Something I used to do decades ago with 3.5" floppies... So I have to do a file-copy "backup" across the network.
Is the data very expensive to replace or one of a kind? Photographs and home movies would fall into this category. First you should have a backup. Crashplan and backblaze are good options for consumers. On a smaller scale cloud based backups like google drive or dropbox work for this. These will protect you not just hardware failure but malware like cryptolocker, accidental deletion, and total computer failure. If you have a large amount of data like professional photography or video production a NAS with RAID 6 is advised. You can lose 2 drives without losing any data, but you lose 2 drives of usable space for parity, and you have to deal with the overhead of setting it up.
Not high perf, but my entire family can stream off of it fine so that's about all I care about.
I had some drive failures at some point (a bad WD batch) and even though I messed up and removed the wrong drive at some point, was able to get everything back. Normal drive replacement is painless (barring stupid human syndrome).
It has Plex built-in and loads of other apps. I use it to automatically get a full and synched version of my dropbox account, it does my automated torrent download for me, and a host of other ready to use functions. Has data dcrubbing, drive health monitoring etc, with email notifications.
Put 3 or 4 of these in a Synology enclosure or attach directly in a uATX case. I use btrfs "raid1" which protects against any one drive failing and has filesystem-level checksums and compression, but people also say good things about ZFS in a similar mode. Just use either one of those with scrubbing.
This would have sounded like science fiction to 12 year old me. Still kinda sounds ridiculous.
I should see if I still have the program somewhere in storage.
I had one, it died, I went through all of that, decided to never make this mistake again. Got myself a nice FreeNAS box, if anything fails there, I can just pop the drives into any FreeBSD system to recover my data and migrate it to new home.
Now, back to dreaming about slapping four 12Tb drives in that thing...
Eg something like: https://www.amazon.com/Seagate-Expansion-Desktop-External-ST...
Or something like this: https://www.amazon.com/Mediasonic-Bay-Dock-2-5-SATA/dp/B0078...
With a couple of: https://www.amazon.com/Seagate-Ironwolf-3-5-Inch-Internal-ST...
(Note that 8 and 6 are ~equal/gb, the 10tb version is at a bit of a premium).
Benefit of these docks is it's easy to just have a "backup" disk that you drop in from time to time and sync to, and then you can keep that drive in a fireproof box, or off-site. The down side is that I'm sure the odds of physical drive failure goes up when it's so easy to move the drives around all the time...
If you want "high performance", it's going to be a bit more expensive -- I'd try and pick up a cheap HP Gen8 mini server[1] or something similar from Dell - anything that supports ECC ram and a few 3.5 drives. Install a ~512GB SSD, and set up freeNas/openSolaris/Ubuntu with zfs for linux - and use the disks in mirroring or raidz, with journaling on the ssd.
I've yet to build one myself, but it's what I've been mulling over lately. In the short term 6 tb drives might be a bit more affordable, but I'd probably prefer 2x8tb in mirror right now (to be expanded as 10tb drives comes out or with two more 8tb drives as prices come down a bit) - rather than some kind of parity-based raid setup with 3+ 6tb drives.
This still leaves the issue of backup of that 8-16tb of data though.
It might very well be that two 8tb usb 3.1 drives are better - one for "data" one for "backup" with the option of keeping the "backup" drive in a different physical location (say, the office) -- to avoid a single fire eating both drives.
[1] https://www.hpe.com/us/en/product-catalog/servers/proliant-s...
I've seen a series of these being sold off cheap (not sure if it's as a campaign, or as new models are phased in) - and I've basically seen then at ~the price of a "dedicated" nas cabinet for devices with 8gb of ecc ram and no disks.
240 disks in a rack?? http://www.advancedhpc.com/data_storage/raid_storage/dell/PV... 60 disks per 4u
Thats 600 in a 42u rack
Source: James Hamiltons talk at reinvent 2016 (http://mvdirona.com/jrh/talksandpapers/ReInvent2016_James%20... p25)
However, they probably thought about standard 2U servers with no second disk row, so 12 disks per 2U = 252 disks / rack.
edit: https://www.supermicro.com/products/chassis/4u/946/SC946ED-R... if you want to look and drool.
Of course nobody wants to deal with the difficulties of tape, and tapes have not kept up with the density of drives, either.
[0]https://www.tapeandmedia.com/hp-lto-7-tape-ultrium-tapes-c79...
[1]http://www.newegg.com/Product/Product.aspx?Item=9SIAAY949U33...
And for enterprise use, a tape drive doesn't make sense unless it is part of a tape changer. Fortunately, the drives are so expensive that the cost of the changer is marginal in comparison.
Tape is Dead
Disk is Tape
Flash is Disk
RAM Locality is King
Jim Gray, Ten years agoSounds like they design them for a 5 year life.
The cloud space is full of rumors about awesome yet secret equipment but they don't really pass Occam's Razor since if it's so awesome why keep it secret?
Because if Facebook or Google says "I'll take every drive you can make for the next year", you've got guaranteed minimum revenues for the next 12 months.
If you tell them they can only have half, and you release the other half to the retail market, they may or may not sell in the quantities you're hoping for. And you will likely loose the contract for goog/fb.
With 4T drives, you can easily achieve raw storage of 2.9PB in a rack. The previous top of the line (10T drives) yield 7.4PB in a rack. 14T pushes that up to 10.4PB.
Higher densities are possible as well. The most I'm aware of is 90x 3.5" in 4U; available from Supermicro, Dell and others. The depth of the chassis can be problematic, and the way Supermicro designed it isn't super great in my opinion.
Sacrificing hot swap capability could potentially yield higher density (~100-ish drives), which I think is a reasonable tradeoff if you're deploying a ton of these hosts and you can let dead drives hang out for a while. I'm not aware of anyone who makes a chassis like that that can be bought off the shelf though.
At these drive sizes though, I would be leery of having that much storage attached to a single host from a fault domain perspective. I think the next step is either a highly dense 2U chassis (HP has something like this, but only 28 bays) or a two server 4U chassis (Dell has something like this).
It's also harder to seal in, and would likely require a much more rigid construction to avoid warping of the drive (these are precision devices after all).
Lastly, the hovering of the R/W heads over the platters requires an atmosphere - they are lifted by the air/gas accelerated by the platters (this is a well defined lift force and self-regulates the head height relative to the platter).
[0] http://www.anandtech.com/show/10106/western-digital-introduc...