this post was submitted on 15 Nov 2024
11 points (73.9% liked)

Selfhosted

40184 readers
618 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 1 year ago
MODERATORS
 

Need to expand local storage for local media streaming. Running a regular desktop on linux.

I am willing to spend money on "the best" for streaming purpose while and hopefully something I can keep reusing down the road if it lasts.

all 27 comments
sorted by: hot top controversial new old
[–] czardestructo@lemmy.world 2 points 3 hours ago (1 children)

Does no one care about power consumption? Mechanical disks use, in my experience, 7-15w all day all the time just idling. If you live in a high energy cost area the ROI on going SSD can be as low as 3-4 years. If you can afford it, splurge for SSD. I spent ~$800 on two 8tb SSDs and I'm very happy with the choice.

[–] Grippler@feddit.dk 4 points 2 hours ago* (last edited 2 hours ago) (1 children)

If you live in a high energy cost area the ROI on going SSD can be as low as 3-4 years

~$800 on two 8tb SSDs

2 x 8tb HDDs is roughly $200USD

I don't know what kind of electricity prices you're paying, but to hit a 3 year ROI on your SSDs, you're paying at least $2.2USD/kWh, assuming the full 15W (232kWh/year total) consumption of the HDDs and assuming negligible power consumption from the SSDs.

Edit: average power consumption for HDDs read/write operation is usually around what you claim them to idle at, with actual idle consumption below.

Edit2: and to be fair I did take refurb HDD price. a refurb SSD is around $300 USD for 8tb, bringing the minimum power cost per kWh down to ~$1.7USD/kWh for a 3 year ROI.

[–] czardestructo@lemmy.world 1 points 40 minutes ago (1 children)

When I bought them 2 years ago power in MA was $0.46 per kWh, this included transmission costs and all the other fees. 15W cost me $4.80 a month, so $57.6 a year and $230 over 4 years. At the time 14TB mechanical disks were about $300 so it was about a $270 'premium' for solid state over mechanical so I exaggerated the ROI, but to me the 2x price premium was worth it for silence and no latency on retrieving my data. So in summary the ROI for me was more like 8 years, ignoring the many advantages of SSD.

[–] sunzu2@thebrainbin.org 1 points 36 minutes ago (1 children)

Are SSDs reliable enough for this use case?

[–] czardestructo@lemmy.world 1 points 27 minutes ago

Any quality brand SSD (Samsung, Kingston, WD, etc) is going to be more reliable in every way compared to mechanical disks, they just cost a lot more right now. Do NOT buy off brand, random Chinese SSD, you will regret it.

[–] PetteriPano@lemmy.world 3 points 6 hours ago (1 children)

Whatever you get, get at least two and do RAID1/5/6. They will break.

Speed shouldn't be an issue for streaming media.

[–] sunzu2@thebrainbin.org 1 points 1 hour ago (2 children)

yeah that's what I was thinking. how complex is it to set up raid on linux?

[–] alwayssitting@infosec.pub 3 points 43 minutes ago* (last edited 33 minutes ago)

It's extremely simple. Although I prefer ZFS I will give you an example with BTRFS since it's easier to get going. RAID1 in BTRFS is considered stable (RAID5/6 is not).

sudo mkfs.btrfs -m raid1 -d raid1 /dev/sdx /dev/sdy # Create raid array with BTRFS
sudo mkdir /mnt/storage # Create your mount directory
echo "/dev/sdx /mnt/storage btrfs noatime,compress=zstd 0 0" | sudo tee -a /etc/fstab # Set raid array to mount at boot
sudo mount -t btrfs -o noatime,compress=zstd /dev/sdx /mnt/storage # Manually mount the first time

You would also probably wanna set up a btrfs scrub once per month, either with systemd-timers or cron, whatever you prefer.

[–] PetteriPano@lemmy.world 2 points 33 minutes ago

Depends on your setup. I'm a btrfs guy, so I'd go with something similar as your other reply. It's just as easy to remove/replace/add drives. They don't even have to match in size. Just remember to balance after doing modifications to your array.

[–] sin_free_for_00_days@sopuli.xyz 5 points 7 hours ago* (last edited 7 hours ago)

I don't know if I'm alone on this, but I just bought the biggest 5400rpm HDD that was in my price range when I set up. Might notice the slower speed when doing a big data dump, but for streaming purposes you can run many 4k streams concurrently and the bottleneck would probably be your network speed before you hit a drive read bottleneck.

[–] AbidanYre@lemmy.world 20 points 15 hours ago (1 children)

It probably doesn't matter at the scale you'll be operating. But Backblaze has more data than anyone here about reliability.

https://www.backblaze.com/blog/backblaze-drive-stats-for-q3-2024/

[–] nicgentile@lemmy.world 4 points 15 hours ago (1 children)

Used to run over 40 drives. Backblaze pointed out those Toshiba's. Man they do not die.

[–] Appoxo@lemmy.dbzer0.com 1 points 4 hours ago

Had (and probably have it somewhere) a 2TB Toshiba drive for +5 years in my desktop as a games and programs data grave. Never once had an issue.
My current NAS drives are also Toshiba helium filled drives and though loud are okayish under light read operations.

[–] cmnybo@discuss.tchncs.de 13 points 16 hours ago (5 children)

I would get a recertified enterprise drive from Server Part Deals. Drives in the 12-18TB range currently have the best price per TB. Be sure to get a SATA drive if it's going in a desktop.

[–] dmention7@lemm.ee 6 points 14 hours ago

Fully agree.

I've purchased refurb drives from both them and GoHardDrive.com. So far I'm 5/5 for a mix of Exos and HGST Ultrastar drives working perfectly out of the box.

Anytime these drives pop up on Slickdeals, the thread is full of 3 types of people: People who have never bought a refurb/recert drive but insist they are all going to burn your house down, people who have bought several with no issue, and people who have received a failing drive that the seller promptly replaced.

[–] paraphrand@lemmy.world 1 points 11 hours ago* (last edited 11 hours ago) (1 children)

Last time someone mentioned these on Lemmy I got one.

It “crashed” according to Synology in about a week. Woke me up in the middle of the night with the Synology beeping.

[–] ChapulinColorado@lemmy.world 2 points 4 hours ago

Was the drive scanned for errors before installing it? I’ve been running 2x8TB drives for about 1.5 years. If a drive fails, it is better to find out earlier while they are within warranty.

[–] shadow@lemmy.sdf.org 3 points 15 hours ago (1 children)

I just grabbed a pair of 18TB Seagate Exos SATA drives - surprisingly quiet for what they are.

[–] sunzu2@thebrainbin.org 1 points 15 hours ago (3 children)

Should I be concerned about noise? I haven't used HDD in a long time?

[–] mumblerfish@lemmy.world 1 points 3 hours ago

I recently got some Toshibas and they were loud. They also presented with a seek error pre-fail after a few days (all three of them). That propably adds to the volume, but the seagate and wds I switched to just have some clicking noises. Not too bad.

[–] IronKrill@lemmy.ca 2 points 7 hours ago* (last edited 7 hours ago)

IMO, yes. HDDs are always going to be a bit noisy, but the consumer grades keep it fairly classy. The couple of HGST drives I got from ServerPartDeals are noisy in the "grating" way. The volume is similar but the noise is not in the normal pleasant range. I am only fine with it because my server is in another room.

[–] Drathro@dormi.zone 4 points 15 hours ago (1 children)

In my experience, Seagate exos are only "loud/clicky" when under HEAVY write loads. Mostly they're pretty quiet with a very low drone at worst. In any decent case it'll be pretty negligible. With headphones on doubly so.

[–] shadow@lemmy.sdf.org 2 points 15 hours ago

This is my experience. I had them on my desk in a test bay to make sure they were all good to go and the only time I notice them is when they're doing a lot of read/write movements. While they idle they're quiet. So it depends on your use case, where the drive physically is, and what the drive is attached to. If it's mounted with nice rubber dampers or something you might never hear them. If they're mounted up to a loose chunk of metal they might rattle and drive you nuts.

[–] nicgentile@lemmy.world 2 points 15 hours ago

Thanks for this.

[–] sunzu2@thebrainbin.org 1 points 15 hours ago

Any difference between them? Any concern for going with cheapest option within a size class?

[–] just_another_person@lemmy.world 3 points 15 hours ago

There isn't one.

Stick to the best brands out there that have been benchmarked.