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.

21 points
*

Zorin is GNOME based, you should have disks app installed. Open it, find the drive and select it (whether you have sata, usb, nvme) . on the hamburger menu choose the benchmark tool, then try the SMART tool. You will get an idea of the performance and if any smart flags got triggered.

https://en.m.wikipedia.org/wiki/GNOME_Disks

permalink
report
reply
2 points

I shall try this when I get home. Is SMART something most SSDs have? I’m unclear on the concept. Basically his auction said “offers accepted” or something like that. I put an offer of $5, thinking he’s going to increase the offer, and I can get a baseline of if I want to purchase it. Surprisingly enough, when I came back and checked, it just said “Offer accepted, you’ve been automatically charged”

Alright. Cool. I guess…although gotta honest, if he was willing to accept a $5 bid, I’m not terribly optimistic about how healthy this drive is. I’ll basically be using it as “I want to try that distro for the day…ok, I don’t like that one, or maybe I do!” Then with the distros I actually like I have this whole system which is still shipping in parts. But basically the front of my PC is going to be easily swappable 2.5" SSD’s, and I can just take out the main SSD, pop in a “disposable” ssd (for lack of a better term), and try out a distro. If I really do like it, I can always buy a GOOD ssd, and have it be an alternate distro I hop between.

But I’m really expecting to get home, test ssd health, and get told “It’s trash. It’s already dead actually.”

permalink
report
parent
reply
6 points

SMART was established for HDD originally but adopted for SSD later. Some values may not be totally relevant these days…but it is the way the drive records errors, temperature, etc compared to a manufacturer determined threshold. The idea is drive would report to OS that it may be failing before a failure happens.

Hoepfully you just happened upon a seller looking to get rid of old components and not a scam.

There is a Linux app like Crystal Disk Mark, called KDiskmark that you can also run for some performance testing. Ifyou’ve connected the ssd to the data/msata interface (rather than using wxtwrnal USB2 adapter), and you get super terrible performance compared to online specs then it could be abused.

permalink
report
parent
reply
9 points

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

permalink
report
reply
2 points

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

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
8 points
*

Just checked and all presently available tools on Linux seem to be CLI bound.

Check this article.

permalink
report
reply
3 points

Inspect the hardware physically if you can aswell

permalink
report
reply
2 points

I can now, as it’s in my possesion. But when I “bought” it, I couldn’t. I made an offer on ebay of $5.00, and he took it.

So physically, besides obvious damage/cracks, what should I be looking for?

permalink
report
parent
reply
3 points

You can inspect the NAND flash and make sure the part number is actually the amount of memory you paid for

permalink
report
parent
reply
2 points

I use this hdsentinel

permalink
report
reply
1 point

Oooooh, I like this. I hope I can install this when I get home. It looks exactly like what I was hypothetically imagining in my head.

permalink
report
parent
reply
1 point

yes it is easy to install. there are instructions. i installed it by simply running the installation script which is in the archive as a program and everything is fine

permalink
report
parent
reply

Linux

!linux@lemmy.world

Create post

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.

Community stats

  • 1.9K

    Monthly active users

  • 426

    Posts

  • 2.8K

    Comments

Community moderators