this post was submitted on 09 Mar 2025
28 points (100.0% liked)

Linux

9111 readers
223 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] CubitOom@infosec.pub 2 points 12 hours ago (4 children)

I was running the numbers in my head and realized that if hosting media like music and video files where it's just written to once and read from a lot, a large 2.5 inch SSD might be a better buy than a HDD (especially if size limited to a 2.5 inch HDD). My reasoning is that a HDD needs replacement after around 50,000 power on hours. But an SSD needs replacement depending on how often the entire drive is overwritten. For a media server that should mean that the HDD will be replaced much more often than an SSD. And that's without considering vibration related issues of having multiple drives in the same server or if you experience frequent power outages (both of which would make a better case for an ssd.

So what I do is I use an M.2 SSD for the OS, and the largest 2.5 sata SSD I can find which will fit my storage and backup solution. (recently bought 4x 8TB SSDs). For the m.2 drive, try to get the best value size as I've never heard anyone complain about having too big of a drive.

For all SSDs (m.2 and data) make sure that it accurately reports SMART data for you can keep tabs on their health metrics.

[–] flightyhobler@lemm.ee 3 points 11 hours ago (3 children)

any solution for getting automated SMART reports if errors start popping up? I would prefer not to have to check manually

[–] CubitOom@infosec.pub 1 points 7 hours ago (2 children)

You could just run it in a cron and have it tee to a file or even send an email report

[–] flightyhobler@lemm.ee 3 points 7 hours ago (1 children)

I need some logic to only send when the is a problem. I might send the data to home assistant and take it from there

[–] CubitOom@infosec.pub 1 points 7 hours ago

Yeah, you'd have to figure out how to define a "problem" first. It's a better IDE to define what metrics might indicate you need to replace soon before a problem actually happens.