this post was submitted on 30 Jan 2024
20 points (95.5% liked)

Selfhosted

40394 readers
755 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hi! I have a NUC with 250GB SSD inside. It’s running everything from pihole through arr apps to 3d printing frontend. Since my family is starting to think “hey that’s a good idea can I use it too”, 250GB is starting to be not enough.

Do you have any recommendations? A NAS? A DAS? Something else?

For now, I’m downloading and deleting shows/movies cos I don’t have space obviously, but eventually I’d like to keep some that are cool. Or backup photos to it and stuff.

Thanks :)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 10 months ago (2 children)

Ok first of all disregard any advice to connect a permanent drive with USB. It will suck. You will get disconnects and maybe even filesystem failures. And yes you can recover from failures (most of the time) but why polish a turd?

If you can add an internal hdd to the NUC that's all you need. Get one in whatever size you need and you're good to go.

If you want to safeguard against that HDD crapping itself then you can use a secondary HDD on USB. Connecting a HDD occasionally to USB for backups is ok. Keeping it connected 24/7 isn't. Use a specialized backup software like Borg Backup, take a backup of whatever you consider essential data, and keep the backup HDD in the drawer the rest of the time.

You don't have to get an external HDD btw, you get a crappy USB enclosure and a crappy HDD with a shiny brand on it. Get a regular HDD from a good brand, it can also be a 2.5" (laptop) HDD, and an USB SATA adapter. Also, Orico makes some nice HDD cases for drawer storage.

If a second HDD is too expensive for you get an optical unit (can be USB, can be internal + USB-SATA adapter) and burn backups to Blu Ray discs from Verbatim with parity data created with par2. Store the written discs in zip-up CD wallets or jewel cases, not in bulk spindles. You can also burn DVDs if BRs are too expensive where you live. DVDs can also be long-lived if stored properly and any backup is better than no backup. But BR are really best for durability.

Don't listen to advice about making RAID this and RAID that. How much space do you need? They make 20TB HDDs nowadays. Get one HDD and be done with it. Do you want to spend 5x more and also have to buy a NAS to store them, and learn about RAID levels and in how many ways they can fail? Do you need 100 TB? Do yourself a favor and get one single drive and take periodical backups and you'll be golden.

[–] [email protected] 1 points 9 months ago (1 children)

I have been running two usb3 based raid-1 arrays for over 10 years and I had zero failures, zero corruption's and plenty of speed (ssd's over dedicated usb3 ports).

The disks are on a UPS (a very small one) to avoid powerlosses due to power failures.

[–] [email protected] 1 points 9 months ago (1 children)

SSDs draw less power than HDDs, first of all. But regardless, if the enclosure chipset is poor quality and/or hasn't been designed to run 24/7 it can overheat and disconnect intermittently or permanently.

And that's without going into the quality of the USB and drivers on the host.

You either lucked out or you've been having silent file corruptions going for 10 years without realizing. What filesystems do you have on those disks?

[–] [email protected] 1 points 9 months ago

I use an expensive JBOD USB/e-SATA BOX to host 4 ssd's (nowadays, but those has been hdd's until 2022) connected via usb3. The box has a huge fan too.

I think the issue is not USB itself but how cheap you go with your enclosure...

No, can confirm no data corruption. Can I be 100% sure? No I cannot of course.

I use EXT4, which again never gave me issues whatsoever. So far.

[–] jaykay 1 points 10 months ago (1 children)

You are absolutely right! Thank you!

As much as I would have fun learning about RAID and stuff, I don’t think I need so much space and money spent right now. I will probably just buy one drive for now. If needed, I’ll buy another one.

Do you recommend any special HDDs? Or something to watch out for? As the drive is going to be running 24/7 basically.

[–] [email protected] 2 points 10 months ago (1 children)

There is one thing to watch out for called SMR and CMR technologies. CMR is the classic tech, SMR a recent one. SMR makes the tracks on the HDD platters overlap, allowing the manufacturer to pack more data on them, and to use fewer platters. But it comes at the cost of writing performance, basically SMR drives will take long pauses every once in a while when writing large amounts of data.

You don't want a SMR drive for a 24/7, instant access drive so you'll have to watch out for this spec. SMR is ok for a cold backup drive because it doesn't matter, you leave the backup program to do its thing however long it takes and you disconnect when it's done. But you don't want to take a long break while you're doing something with your main live drive.

Other than that anything from Seagate, WD or Toshiba will be ok. People will swear by one or other of these brands but it's pretty much the same.

This page will tell you if a drive is SMR or CMR by the model number: https://nascompares.com/answer/list-of-wd-cmr-and-smr-hard-drives-hdd/

[–] jaykay 1 points 10 months ago

Awesome, thanks!