this post was submitted on 14 Jun 2024
19 points (95.2% liked)

Self Hosted - Self-hosting your services.

11582 readers
1 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

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
 

Question about replacing/expanding a disk

I have a small mini pc as server similar to [1], which has a super nice small form and has an internal slot for a 2.5" ssd disk. Currently I have a 2TB SSD, but it is filling up rapidly.

My options are:

  1. Buy a way more expensive 8TB SSD and replace the existing one
  2. Buy a much cheaper 8TB HDD + enclosure and connect it via USB.

I wonder what are the pros and cons of each option. I like 1 more because the form factor of the homelab is maintained and I don't need to plug yet another thing. OTOH I'm allergic to spending money πŸ˜† so a cheaper solution (about 4 times cheaper) is always welcome.

Maybe I'm missing a third alternative? Opinions?

[1] https://www.amazon.com/gp/product/B0BVLS7ZHP/

cc @selfhost@lemmy.ml @selfhosted@lemmy.world

top 13 comments
sorted by: hot top controversial new old
[–] Limonene@lemmy.world 6 points 6 months ago

I cannot recommend any USB-connected drive for long-term use. (Only for portable devices that get plugged in for a little while at a time.) In the long term, any USB drive will randomly reset during periods of heavy use -- including heavy writes, meaning some data will get lost.

USB enclosures tend to just crap out completely after a year or two, if used continuously on a server. I know because I twice used 1TB external drives with OpenWRT (home router) devices. The data will be safe on the drive, but you'll have to replace the enclosure.

  1. My first recommendation would be to look very carefully at the chassis and see if there's any way at all to fit another SSD inside it. 2.5" SSD's are usually thinner than 2.5" hard drives, so it may be possible, and most motherboards have more SATA ports than they need.

Is there possibly an NVMe slot on the motherboard? Or an open PCIe slot where you could put an NVMe adapter?

  1. My second recommendation would be using a 2.5" hard drive. Newegg has a 5TB one for $135, but unfortunately that's as large as they seem to go. It will be a bit slower than an SSD, but still probably around 150MB/s for sequential access.

  2. My third recommendation, if money is really tight, would be an additional server, with a large 3.5" hard drive. This will be a lot cheaper than an 8TB SSD, but adds complexity, electricity use, space use, and possibly fan noise.

[–] Rivalarrival@lemmy.today 4 points 6 months ago

Neither of those options is particularly appealing to me. I'd look at building a more respectable file server, with 4 or more SATA ports. I'd have a relatively tiny SSD to host the OS, and any number of HDDs in some variety of RAID array

[–] schizo@forum.uncomfortable.business 4 points 6 months ago* (last edited 6 months ago)

If this is for 24/7 use, don't do USB drives. The problem, typically, is that the SATA->USB chipsets will, at some point, shit themselves and you'll have random things crashing or even data loss.

They're really just not designed for constant load, and a server-esque workload is just asking for shit to break at random and data to be lost.

And yes, I know lots of people use them like this, but this is very much a case of it's perfectly fine until it's not.

[–] CameronDev@programming.dev 3 points 6 months ago (2 children)

The USB connection will likely be quite slow, and some external harddisks will power save aggressively.

You could get a largish 2.5" HDD and hook it up internally, might be a middle ground cost-wise?

[–] Rivalarrival@lemmy.today 3 points 6 months ago (1 children)

SSDs are fast; HDDs are slow. I would not want my operating system hosted on an HDD if there is any way to avoid it. An external USB drive would have slow file operations to and from that drive; an internal HDD would slow the entire system.

[–] CameronDev@programming.dev 2 points 6 months ago

The OPs device can take a nvme SSD and an internal HDD. Unclear if the current SSD is nvme or not though, but I assumed it was nvme.

[–] alvaro@social.graves.cl 1 points 6 months ago (1 children)

@CameronDev@programming.dev I don’t think there are sata HDD are there?

[–] CameronDev@programming.dev 2 points 6 months ago

At 8tb, I can't find any, but here is a 5tb disk:

https://www.amazon.com.au/Seagate-Barracuda-Internal-Drive-Factor/dp/B01LXO31IZ/ref=mp_s_a_1_13

Check the thickness though, your device may not accept 15mm disks.

[–] poVoq@slrpnk.net 2 points 6 months ago

Storage expansion options are the one thing mini-pcs are bad for, so not really any great options there.

You could get a m2 to SATA adapter board, but getting the additional drives powered if you don't have a ATX PSU isn't fun.

And yes, use USB only for rarely accessed data.

[–] RestrictedAccount@lemmy.world 2 points 6 months ago

I have experienced everything said here about USB drives failing.

What I do now is I have a pair of identical 6TB USB drives set up as a mirrored RAID.

So far so good. It has been a couple of years.

[–] ladfrombrad 1 points 6 months ago (1 children)

Says on the product page that that Beelink supports a maximum 2TB SSD, so I wouldn't go buying another unless you're sure it can.

As others have said, no USB drives as I've had a failure with one too hence me now having a NAS. I know you said you're allergic to spending money but saving up for one was the best thing I've bought for a while.

[–] alvaro@social.graves.cl 2 points 6 months ago (1 children)
[–] ladfrombrad 2 points 6 months ago

Nah.

USB is slow, and will kill the drive if used 24/7. I know it's hard to expend too much money on a dedicated box for storage but long term you'll thank yourself for investing.

3TB of data I lost and paying to recover that data? Dammit, hindsight is a bitch