this post was submitted on 15 Dec 2024
51 points (94.7% liked)

Linux

8306 readers
152 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
 

So I bought a ssd off of ebay. $5.40 shipped. Kingston 120gb.

I've yet to connect it to my pc. I'll be first disconnecting my hard drive, and then connecting this hard drive. Unclear it's contents. I'll be booting off a ZorinOS livecd.

Is there any tool I can install on the livecd to check the overall health of my ssd? I know literally nothing about it's past, and I realize theres a significant chance I just bought junk.

I'm new to linux. Like brand new. So don't just say 'Yeah, install SSDChecker V.5.035 from the repo". Assume I'm an idiot, and have zero clue how to do the thing you're asking. Not that I won't do it, but maybe link to a newbie guide on how to do the thing.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 1 week ago (1 children)

I've done server manufacturing in my career and generally I use only two tools to check disk health if it's not behind another card:

smartctl - this will give you a readout of disk information, and depending on which options you use it will give you attributes that can indicate pre-failure modes and current health as well as link health in case you have a bad cable or port on your motherboard.

if you want all the information generally I would do this: smartctl -x /dev/sda (or whatever drive designation it is)

look at the attribute section and the phy health section at the bottom.

warning this can be a little complicated to interpret if you don't already know what to look for so read the manual on Smart CTL to see the values mean.

I think zorinos is Ubuntu based, so I nabbed you a guide, I've never used this one but looked okay when I skimmed it: https://thelinuxcode.com/install-and-configure-smartctl-on-ubuntu/

fio - this is a multi-purpose stress utility. it's not too complicated to set up but you do want a configuration file and you might need a little help with that or to use a copy from online.

this will run some operations on your drive and provide you a report about how well it performed.

warning, do not run long read write operations on SSD, it will eventually wear out the drive.

I would probably do a longer sequence of sequential and random reads with a couple of short runs of random read write

link to fio install instructions for Ubuntu: https://dev.fio.net/docs/install-using-packages

[–] [email protected] 2 points 6 days ago (1 children)

Just to expand on the smartctl bit: you can totally use smartctl with some RAID controllers!
See here for examples / supported cards: https://www.smartmontools.org/wiki/Supported_RAID-Controllers

[–] [email protected] 1 points 6 days ago

yeah, it's decent with the right modes, though I tend to use megaraid / arcconf / etc for things behind a card