48 ms·
Why I'm usually unnerved when modern SSDs die on us
- mshook 8y agoIn a way we need someone/something like Backblaze doing a SMART report about SSDs to let us know which SMART metrics we should be monitoring... Because they've shown most metrics are kinda useless or mean different things from one manufacturer to the other. https://www.backblaze.com/blog/what-smart-stats-indicate-hard-drive-failures/ https://www.backblaze.com/blog/what-smart-stats-indicate-har... https://www.backblaze.com/blog/hard-drive-smart-stats/ https://www.backblaze.com/blog/hard-drive-smart-stats/
- pmden 8y ago"We had one SSD fail in this way and then come back when it was pulled out and reinserted, apparently perfectly healthy, which doesn't inspire confidence." We've experienced exactly the same thing. Our general course of action is to perform a hard power cycle of the server through IPMI - a warm cycle doesn't seem to work. I've always presumed it was down to dodgy SSD controller firmware given the way it suddenly stops appearing in the output of fdisk -l.
- phaedrus 8y agoI have three SSDs in three different laptops/desktops. In their current host machines they've been working flawlessly for a couple of years. Prior to my figuring out which SSD paired best with which host machine, I experienced intermittent strange and catastrophic problems (unreadable sectors to complete data loss) with each one. These were different brands, different capacities, bought in different years. It's sort of a devil's bargain - the performance of SSDs is so much better that I can't pass up using it over a spinning disk even if they occasionally lose everything. There was a great game for the original Nintendo called "Pinball Quest". As you advanced through the game you could get upgrades such as side stoppers, stronger flippers, etc. You bought these items from a demon in between levels. After the red "Strong Flippers", the next upgrade was the purple "Devil's Flippers". The trick was that occasionally they'd turn to stone when you needed them and possibly cause you to lose the pinball. But they were such an upgrade over the Strong Flippers (when they weren't turned to stone) that you bought them anyway. SSDs are kind of like that.
- jug 8y agoIt also doesn’t help that at least Windows 10 is seemingly now ”Optimized for SSD” in the sense that performance is quite terrible on a traditional HDD. I imagine this will become more and more common as seek times and hard drive thrashing becomes practically invisible to users as well as developers. It will just get harder to go back as time goes on.
- jplayer01 8y agoI just don't keep anything important on my SSD. My desktop's SSD is for Windows and games. All documents and other stuff goes on my mechanical drives and my AppData folder is backed up every night too. Everything on my laptop's SSD is either in cloud storage or in an external git repo. I'm 100% prepared for the certain eventuality of any of these SSDs going tits up unexpectedly and catastrophically. I'm more worried about everybody else who gets an SSD and doesn't take the right precautions, because everybody sells SSDs as being so much more reliable than mechanical drives. I worked as a PC technician for a while recently. Of the handful of catastrophic failures of mechanical drives we had, the majority of those were ones that were physically dropped, resulting in a head crash. Otherwise, we generally always managed to save data from failing drives. Any failing SSD we encountered was just dead, since there are really only two states: Fine or failed. There was nothing we could do except refer them to a data recovery company that charges thousands of Euros.
- shittyadmin 8y agoI've experienced a few seriously strange issues with modern SSDs, even some of the better ones. I had a 512GB Samsung drive that became very slow randomly at doing IO operations, the whole machine would die for 10-30 seconds at a time once or twice a day while any process that tried to use the disk became blocked on IO. Then it'd come right back like everything was perfectly fine. Issues like this definitely worry me, we're basically completely blind as to what those controllers and flash chips are actually doing. Not that it wasn't a similar situation with HDD controllers before, but at least it didn't seem as unpredictable.
- Kye 8y agoIf the Bitlocker hardware encryption fiasco is any clue, the people who make SSDs don't know what's going on inside either.
- LeftTurnSignal 8y agoI've recently noticed similar issues with my older Crucial SSD in my 2012 mbp. In the past 3 months, there's been maybe 5 times where I started my laptop and it took 5+ minutes to finish booting. Normally, it's 15 seconds. Once I'm logged in, doing anything takes forever, but it does eventually load. A power off, and back on got it "working" again but who knows for how long. I've had this drive for 4-5 years now, so I'm impressed it's lasted this long.
- SSLy 8y agoLinux? Try halving down your page caches.
- shittyadmin 8y agoThis was on my Windows gaming machine.
- spatular 8y agoIf on Linux, try running fstrim from time to time. More free space makes life of SSD's garbage collector / defragmenter much easier. I've anecdotally noticed that running fstrim reduces freezeups under heavy load from 1-2s to almost nothing on my Toshiba drive.
- lucb1e 8y agoI don't know why my hard drives died either. And while a physical motor breaking is more tangible, a contact wearing out is also imagineable. I don't really care why ssds or hdds die, I care that they do and therefore I have backups (well, ideally I would). I've had spinning rust fail on me while I was sitting at it and it didn't help me save it, it might as well have been dead in zero seconds.
- qorrect 8y agoI love that phrase, spinning rust.
- ahoka 8y agoI love this phrase as well, but just I found out that they are actually made using cobalt alloys on glass or aluminum platter.
- creeble 8y agoI don't really care why hard drives die either, but I like that, more often than not, I get some warning. SMART logs, or weird kernel complaints, in my experience, are frequent precursors. I'm a little scared about my new SSDs that have replaced a few rust-spinners in our data center.
- soneil 8y agoThat's the big difference for me. Drive's making tictictick sounds? Kernel log full of bigScaryErrorsLikeThis? It's time to ditch that disk before the disk ditches you. Make it happen. Panic-Backup if you need to. etc. Every SSD failure I've had, the failure mode was "what SSD?" Now, I realise most people should ponder their backup regime before the tictictick, not after. But as the phrase goes "The best time to plant a tree was 20 years ago. The second-best is now." The SSD equivalent is "The be- nope, too late." They're just terribly unforgiving, which doesn't fit with a culture that values cure over prevention.
- Severian 8y agoCall me crazy, but I don't think that a Crucial MX300 is the best choice for an enterprise worthy ZFS drive. I get what the author is concerned about, but I wouldn't be that surprised that a consumer level SSD failed in what sounds like a heavily used fileserver.
- AnIdiotOnTheNet 8y agoTo be fair, the 'I' in RAID stands for 'inexpensive'.
- minikites 8y agoI think a lot of people know the I as "Independent" these days since RAID is usually an enterprise feature with enterprise costs.
- AnIdiotOnTheNet 8y agoModern takes on RAID are built in to home OSs these days, and consumer grade NAS devices are pretty common. It really isn't a fancy enterprise-only technology at all.
- pythonpatrol 8y agoCrucial? I can tell you most of them got spectek's chips inside, no wonder why they fail.
- Waterluvian 8y ago"When a HD died early, you could also imagine undetected manufacturing flaws that finally gave way. With SSDs, at least in theory that shouldn't happen" Why shouldn't it? Isn't it just hardware too? "With spinning HDs, drives might die abruptly but you could at least construct narratives about what could have happened to do that" Why can't you do the same with SSDs? It feels like the author's main complaint is the frustration of not understanding SSD hardware as well. Is this a valid complaint? Are SSDs magical in some way? I'm not an expert but... It's just hardware with pieces that do stuff. Why can't we come up with an understanding of why it fails?
- gpvos 8y ago> Why can't we come up with an understanding of why it fails? Indeed, that is the question that the article's author seems to be asking.
- Severian 8y agoWell, considering it's the cheapest consumer SSD they could afford, and then connecting it to a SAS port might be a whole story in itself.
- NikolaeVarius 8y agoWell to be fair, there is an entire layer of abstraction at the SSD controller level that does tons of black box magic. It allows the OS to treat the SSD as another other storage device without letting the OS know what is going on. So the combination of non-moving parts (making it hard/impossible to debug via physical inspection) combined with a tons of wear leveling/misc magic can defo make it seem like SSD's are magical.
- hanikesn 8y agoThe exact same thing happens hard drives. There's a ton of magic going on.
- NikolaeVarius 8y ago
- CosmicShadow 8y agoI've had a few SSD's give me random issues, and they are so hard to pin down, sometimes they just work, other times they abruptly stop, or just aren't detected until like 3 reboots later and they work fine. After you've had troubles they make you feel like you are hanging on a hope that the ground won't fall out from under you. You also CAN'T HEAR if there is an issue, which acts as another warning sign that something might be going wrong or will go wrong soon. Loud tickings or clickings or overwork is a sure sign to start backing up and get ready to buy a new drive!
- HelloNurse 8y agoTL;DR Lack of noises makes SSD drives bad at motivating users to do backups or use redundant storage: they don't seem to be on the verge of catastrophic failure.
- cm2187 8y agoI think operating systems should be programmed to wipe out a drive completely once early in the life of every user (around age 20-ish) to burn in their brain the need to back up!
- SomeHacker44 8y agoMy father had the same concept in getting into a car crash early in my driving life. "Now that you have gotten that out of your system (and I'm glad you're fine), don't ever do it again."
- cm2187 8y agoActually that did happen to me early. Luckily enough no harm done. And a lesson for the rest of my life.
- romland 8y agoMy mom always told me that once I've fallen off horses one hundred times, I will never fall off again. (I filed a request for a bike in my early life, so never got to that 100).
- gammateam 8y agopaying the premium for SSDs made me want to do backups more I use arq w/ backblaze
- vxNsr 8y agoAre you saying you use two different backup solutions or that you pay for the enterprise versions of arq and backblaze?
- niftich 8y agoNot that spinning HDDs are really any different, but SSDs are a perfect example of an entire computer that you attach to yours, and speak with through one of the (many) storage-oriented protocols. The device itself is a black box, and complex transformations take place between the physical persistence of the data and the logical structures that are exchanged on the wire. There are many layers of indirection, and many things that can go wrong, from fault with the underlying physical storage, a physical fault in the controller, or a logical (software) condition in the controller that puts it in an unrecoverable state. Spinning platter drives have parts that form a more relatable metaphor to humans' notions of wear and tear: skates of magnetic readers flying on a cushion of air above a rapidly rotating disc, with the gap separating a few dozen nanometers, often smaller than the process size in the controller's silicon. They have arms that can move the head over a particular disc radius, and a motor that spins the entire stack of platters. These mechanical components exhibit wear proportional to their use -- this makes intuitive sense, and is also recorded in the SMART attributes, so drives in old age and of many park cycles can be replaced preemptively before they catastrophically fail. SSDs are missing many of the usual mechanisms that would contribute to physical wear leading to sudden catastrophic failure in advanced age. This means that irrespective of their failure rate vs. HDDs, a higher proportion of their catastrophic failures are the fault of the controller. This is discouraging: essentially, the "storage layer" is now quite reliable, so the fallibility of the human-programmed controller is brought into light.
- cyphar 8y ago> skates of magnetic readers flying on a cushion of air above a rapidly rotating disc, with the gap separating a few dozen nanometers, often smaller than the process size in the controller's silicon. Complete aside, the fly-height of a magnetic head is actually fractions of a nanometer (i.e. hundreds of picometers). EDIT: I got this from a talk by Bryan Cantrill[1]. The fly-height is allegedly 0.8 nanometers (800 picometers). [1]: https://youtu.be/fE2KDzZaxvE?t=1551 https://youtu.be/fE2KDzZaxvE?t=1551
- DoctorOetker 8y agoI didnt know they where that close, isn't that similar distances as an scanning tunneling microscope tip to an object? or even closer? Could you provide a reference to a scientific article stating this?
- bluejay2387 8y agoMaybe I am being overly simplistic, but shouldn't it not matter? Who in the modern age doesn't back up everything all the time? Don't we all operate with the assumption these things are going to blow at any time? 90%+ of my data is on cloud storage now anyway. When a SSD goes out don't you just chunk it in the drawer of old drives that you promise to take to the disposal center this weekend (and never do) and then take a quick trip to your local computer store for a new one? This reminds me of something an IT support staffer told me a long time ago... "The difference between a IT pro and a user is that to an IT pro hard drives are a consumable resources".
- Kye 8y agoReplacing an SSD is not free, and in most cases it's not easy. Maybe an IT pro can just roll down to the computer store for a new one, put it in their laptop (for free!), and throw a $100+ drive in a drawer without even thinking about warranty, but most people can't. A backup doesn't excuse excessive rates of failure and weird glitches.
- SomeHacker44 8y agoReplacing an SSD in a modern Apple laptop is literally impossible. You need to replace the whole dang laptop (or motherboard, whatever they call it these days), which is not something a user can do. Thank goodness for Backblaze, Time Machine, Carbon Copy Cloner, Drobo and Synology. Maybe I have gone overboard, but I have not lost any data in 12+ years.
- PeterisP 8y agoThe post is about predictability and warnings before a drive dies. The work and cost to replace it doesn't change anyway (since you do replace the drive at the first sign of warnings, right? otherwise what's the point of wanting them?). The only difference is if you get an extra chance to copy the data before you replace the drive - which is no difference at all if you have proper backups. If we'd be arguing about mean time between failure or total cost of ownership, then it'd be relevant, but this post isn't even claiming that the rates of failure are excessive (compared to what?), just that they are too weird and unpredictable for the author's liking.
- n-gatedotcom 8y agoTwo questions- how do major cloud providers (azure,aws,heroku)handle storage failures? What are some best practices for personal hard drive crash warly-warning?
- Kye 8y agoRedundancy, replication (being able to recreate one failed drive from a certain number of other drives), reliability data, and a replacement budget. That's difficult for personal use.
- nneonneo 8y agoA major problem with SSDs seems to be “firmware death” - where the flash chips are physically fine (or mostly fine), but the firmware (or firmware memory) has gotten corrupted due to some programming error, electrical glitch, or cosmic ray. I’ve had scores of older SSDs die after things like power outages and sudden shutdown events. This is super frustrating because the data is physically OK but the controller just isn’t responding to any requests anymore. I wonder if there’s an easy way to distinguish a controller failure from a flash failure from the behavior of the device over the last few seconds/minutes of operation. In theory a controller failure should cause a fairly abrupt loss of service, but I’m sure there are soft lockup failure modes too.
- darkmighty 8y agoIf that's the case, I wonder if controller failure could be prevented by ECC controller memory? Or would software failure recovery be sufficient to make a highly reliable controller?
- astrodust 8y agoWith drives you used to be able to rip off a controller from an identical model and wire it back on to read the data. With SSD or NVMe the controller isn't really a separate component you can just replace. Maybe it's possible to saw off the broken part and bodge-wire it to a working surrogate, but that would be extreme. A tear-down of a broken SSD might reveal more about what could be done.
- mkirklions 8y agoDoes this explain why I often can access my 'dead' SSDs with my Ubuntu install rather than Windows? I havent run into this issue for ~4 years, so I'm not sure if this is a solved problem or I got lucky a few years back.
- soundwave106 8y agoSeveral years ago I was able to revive a "dead" SSD simply by updating the firmware to the latest version. I haven't had a dead SSD problem in a while though, so I don't know how common firmware issues are now.
- JohnFen 8y agoIt may be irrational, but I remain very distrustful of SSDs, in part for reasons like this. I use them occasionally as temporary storage, but I don't use them for anything that would cause me a headache if the drive died without warning. So far, my observation is that their lifespan is considerably shorter than spinning platter drives, and spinning platter drives typically give plenty of warning before actually dying. Perhaps I'll grow more comfortable after another decade or so, when there is enough real world experience to go by.
- soneil 8y agoI'm just distrustful of drives. All storage is essentially cache, and should be treated like it. I'm of the opinion that harddrives don't actually function, they just maintain the illusion while they wait for a more interesting moment to die.
- anticensor 8y agoWhy do their motors move, then? For making noise?
- MrEldritch 8y agoFor scratching the platter, obviously.
- pinebox 8y agoI actually much prefer this SSD failure mode: Unlike failing spinning rust which will happily linger around coughing up bad data (which will then be written to backups, mirrored drives, etc. potentially creating a huge mess) an SSD going out like a light is comfortingly binary.
- starbeast 8y agoIs the thorny problem of elegant vs graceful degradation. In a raid system you want something elegant but not synchronized. In a single drive, some sort of graceful degradation is usually preferable. http://www.assetinsights.net/Glossary/G_Elegant_Degradation.html http://www.assetinsights.net/Glossary/G_Elegant_Degradation.... http://www.assetinsights.net/Glossary/G_Graceful_Degradation.html http://www.assetinsights.net/Glossary/G_Graceful_Degradation...
- MarkusWandel 8y agoFor my home setup, at least, it's simple: Put the OS on a dirt cheap 120GB SSD, and all the user data on a multi-terabyte hard disk. You can always selectively migrate other performance critical, but can afford to lose, stuff onto the SSD later. If it breaks, I just buy another one and reinstall the OS. On laptops that can only take one drive, the SSD is it, but so is awareness that the data on them has to be considered ephemeral. I've had assorted hard disks die over the years, from old age, and so far without exception they've been "mostly" recoverable - might have to give up on a few files that got hit by bad sectors, that sort of thing. And have been warned about impending failure by SMART diagnostics.
- MarkusWandel 8y agoQuick to add that I also have a backup strategy! Still, a catastrophic failure of a storage device is very inconvenient.
- Rafuino 8y agoKeep getting a 403 Forbidden error. Anyone have an archive link they can send my way?
- lisper 8y agoThis is not a technological problem, it's a cultural one. These problems are easily fixed ("easily" by the standards of technical problems that regularly get fixed in other regimes). The reason they don't get fixed is that the customer reaction to failures like this is to rant at the mysterious storage gods that are making their lives miserable. Needless to say, there are no mysterious storage gods. These are artifacts made by humans, and somewhere out there, there is an engineer who either understands why these failures are happening, or knows how to engineer these devices in such a way that when these failures happen, the cause can be determined, and then a design iteration can be done to reduce the failure rate and make the failure modes more robust. The reason this doesn't happen is that customers aren't demanding it. If major purchasers started demanding, essentially, an SLA from their SSD manufacturers, with actual financial consequences for violating it, you would be amazed how fast all of these problems would get fixed. But instead we vent our frustrations in blog posts and HN comments :-(
- tzs 8y ago> Needless to say, there are no mysterious storage gods What about Consus, the god who protected grain storage in the ancient Roman religion? [1]. Or Eopsin, the Korean goddess of storage? [2] [1] https://en.wikipedia.org/wiki/Consus https://en.wikipedia.org/wiki/Consus [2] https://en.wikipedia.org/wiki/Eopsin https://en.wikipedia.org/wiki/Eopsin
- notatoad 8y agoPhysical devices don't have SLAs, because they aren't services. SSDs have the physical equivalent of an SLA, a warranty. I haven't seen stats, but in my experience the odds of an SSD dying within the warranty period is very very low. If you want your storage to have an SLA, storage service providers exist, and will be happy to give you an SLA if you're willing to pay. But it isn't cheap.
- lordnacho 8y agoThis seems like a the very human problem of trying to grapple with probability. We have all sorts of knowledge about about it but when something happens we're still looking for an explanation for each instance. If you think of it like nuclear decay you'll still be able to say things about the ensemble, but not each individual member.
- bitL 8y agoDid you try to bake it in the oven ("reflow")? Sometimes you can add a few more hours to its life, enough for backing it up.
- LeftTurnSignal 8y agoI've had moderate success with sticking failing HDs in the freezer overnight in hopes of getting it to spin one last time. Never tried baking a drive (ssd or hd), but I have with a red ring'd xbox360 mobo. Sometimes the "low tech" solutions still work.
- yeukhon 8y agoCurious what is the rationale?
- LeftTurnSignal 8y agoI don't know the technical side enough to give any real answer, but tossing them in the freezer (properly sealed of course) always seemed to help "loosen" them up enough to get data off. I've also had some hard drives that you could bring back to life by giving them a firm knock with your knuckles too. Doesn't really answer much, but it's a last ditch effort that has saved me more times than not.
- Shivetya 8y agohaving recently swapped 100tb of spinning media to ssd I am awaiting the first failures. now being a business environment it is all mirrored capacity. so I guess my question is from the article, are they running on a single device? No raid or mirror? I am loathe to even keep my personal data at home on one drive and since I use an iMac that requires me to have time machine as mirroring/etc of the internal drive is not truly possible; at least I did not spend enough time researching it
- dogben 8y agoCrucial is using low grade NAND on some of the products: https://www.reddit.com/r/hardware/comments/a4uwag/spectek_flash_without_logo_grade_marking_low/ https://www.reddit.com/r/hardware/comments/a4uwag/spectek_fl...
- loeg 8y agoI recently had a similar SSD failure, although it wasn't in a "new fileserver" but my daily use 2013 desktop. It was working, then it was producing write errors corrupting my filesystem, then the whole system died, very quickly. Fortunately for me, some data was recoverable from the corrupted disk; I had a local backup from 12h prior, and a tarsnap backup from about the same time back. (Um, here's where I have to be critical of tarsnap: their recovery performance is absolutely abysmal for small files. They're latency bound between you, their EC2 instance, and the backing S3 store. Think single or double digit kB/s and then think about how much data you back up with tarsnap. I can't recommend any other backup provider better, but this is an experience where tarsnap left me very disappointed.) Looking at that SSD and my other SSDs' SMART data, they report extra blocks remaining in SMART, and you can monitor that as it goes down. Ideally you replace the drive before it gets to zero. My primary mistake was simply not monitoring that data in an effective way. I don't think anyone who monitors HDDs has any real expectation that the high-level SMART yes/no is going to protect them from data loss. Instead they look at highly predictive factors like "Reallocated_Sector_Ct" or "Raw_Read_Error_Rate" (or even plain old "Power_On_Hours"). For SSDs it's quite similar: Reallocated_Sector_Ct, Power_On_Hours_and_Msec, Available_Reservd_Space, Uncorrectable_Error_Cnt, Erase_Fail_Count, Workld_Media_Wear_Indic, Media_Wearout_Indicator. Maybe NAND_Writes_1GiB. NVME SSDs provide SMART-like data on logpage 2 ("Available spare", "Percentage used", "Power on hours"). For some reason the NVME spec does not require media to accept host-initiated self-checks, so most NVMe drives don't have the same functionality as smartctl --test. :-(
- pkaye 8y agoI worked on SSD firmware for quite a long time and here is my perspective. Early flash used to fairly reliable with almost minimal error correction. However with increasing density, smaller processes and multi level cells, it has gone progressively less reliable and slower. Here are some of the things that we need to worry about: https://www.flashmemorysummit.com/English/Collaterals/Proceedings/2016/20160808_PreConfH_Parnell.pdf https://www.flashmemorysummit.com/English/Collaterals/Procee... To compensate for all these deficiencies, the SSD architecture and hence the entire FTL becomes very complicated because any part of it can become damaged at any time. We always have to have backup algorithms to recovery from any scenario. Its difficult to build algorithms that can recovery from arbitrary failures in a reasonable time. I cannot have a drive sitting around for 20 minutes trying to fsck itself. Another problem is that the job while rewarding is not very lucrative. The chance of a multi million dollar payoff for an employee is low. I have a higher chance working on a web connected gadget to become a millionaire. So that means it is really hard to recruit those who are top notch programmers who known how to figure out the algorithms, write the code, debug the hardware. Most new grads these days are interested in python, javascript and machine learning.
- loeg 8y agoUsers and administrators almost certainly prefer a 20 minute IO latency over data corruption. Host operating systems should probably flag an IO as failed long before 20 minutes and then you know 1) nothing made it to disk and 2) have some chance to avoid introducing additional corruption, if e.g., the OS is smart enough to kick out the drive when this happens. > Another problem is that the job while rewarding is not very lucrative. Do you mean it's lower paying than typical bigcorp software jobs outside of FAANG, or just that there aren't a lot of startups with astronomical valuations in the media FTL space?
- godzillabrennus 8y agoAs someone that identified a bug in a Drobo firmware once and was offered a job on the spot I think the problem with attracting talent is two fold. The first problem is really two parts, not only is it rare to find people who have passion for storage related technologies but very few will gain exposure to these technologies to develop that passion. Kids don't routinely grow up with a SAN in the house. They do tend to grow up with lots of internet connected consumer caliber devices and can easily gain exposure to working with these technologies. I was fortunately able to explore this type of technology in depth because a family owned business let me tinker with their server equipment in high school. After college I then co-founded a startup back before the cloud became big. That meant we needed to make use of old hardware to provide service to our customers at a price point that made our service profitable. Old drives were not a reliable way to do that. New drives were extremely expensive for old servers back in the day when SCSI was the interface that you expected for a server. We had to get creative and play with JBOD devices. ZFS was an amazing tool for us in those days, and it still is for anyone who wants to tinker. The other aspect is that while these skills are valuable for creating a "job" they do not have potential for creating "massive wealth". Why learn about storage if you aren't going to be part of the first 10 employees at a company that has a $10B exit? Let Amazon and the other cloud vendors worry about that stuff. Knowledge is power though. I recently came across an AI startup that I'm now helping. They were spending significant money using GPU computational power to provide artificial intelligence training through a cloud provider. They blew through about $300k in credits within the first year to give you an idea of how much money that type of power can cost. I am now helping them cut over to their own co-location facility. The first year alone they will save so much money it will pay for the next three years. Then you read articles like this: https://www.newyorker.com/magazine/2018/12/10/the-friendship-that-made-google-huge https://www.newyorker.com/magazine/2018/12/10/the-friendship... Reading that helps reinforce the idea that no matter what path you are on in the field there is potential that some random thing you learned about an SSD firmware helps you optimize some growth stage companies product and ultimately that helps you build wealth.
- XorNot 8y agoThis post, more then any other, just convinced me to pull out my old Unison file sync configuration (which was really good, looking at it) and get regular syncs to my NAS (which in turn uploads to cloud storage) working properly again.
- docker_up 8y agoI worked at a storage company, and they reinforced to us how not only does the OS lie to us, but the hard drives also lie to the OS. So you can't take anything you get from a hard drive as reliable, you have to test the data once you get it, ex through CRC, etc. Data can get corrupt at any time. As densities of data get higher and higher, it doesn't take much to have a catastrophic data failure. The only way to protect against this is having multiple replicas of your data.
- blattimwind 8y agoApplication to OS: Did you write that data out to disk? OS: Yes, I did. OS' inner voice: Nah, I didn't, but I'll do it soon, I think. OS to drive: Those write commands, they're durable yet? Drive: Sure! Drive's inner voice: Nah, they're still in my RAM, but I'll probably write them out any time now.
- dooglius 8y agoRelevant: there is a project called LightNVM [0] which is pushing for a much lower level API to SSDs, that allows most of the complexity to be moved into the host OS (namely, Linux). [0] http://lightnvm.io http://lightnvm.io
- __x0x__ 8y agoTo add to the anecdata: My most recent SSD failure happened when I did the firmware upgrade. It worked before the upgrade, the upgrade binary said 'upgrade failed' and the disk vanished and never returned after the 'upgrade'.
- tuzakey 8y agoI had a bunch of Crucial SSDs die a few years back, they'd work for an hour then disappear from the bus. Reboot and they'd work again for an hour. It turned out Crucial had a small counter tracking uptime by the hour, it would increment the counter to an overflow and crash. This failure could just have easily occur on a spinning hdd.
- saidajigumi 8y agoThat this was a bug is utterly unsurprising. How it passed device & firmware QA is an utter bafflement to me, however.
- bepvte 8y agoAnyone have a good guide on buying reputable ssds?
- rkagerer 8y agoI've done a bit of ad-hoc reliability testing with SSD's. Some years ago I got a great deal on several Pacer disks and wrote a program to write a pseudo-random sequence of data (using a known initial seed) across the entire disk and read it back and compare. Part way through, the data didn't match. No ECC errors, nothing raised by the filesystem, just mismatched bits which came back in a manner which tried to "trick" me into thinking they were good data. This happened on like 5 of the 8 disks. Needless to say I sent those crappy SSD's back to the manufacturer (unfortunately only got a 2/3 refund) along with some harsh words for their engineers. I've had more name-brand SSD's fail, in various manners (even on well-reviewed Kingston drives). Sometimes in ways that can't be accessed at all, other times (at best of times) in a manner which doesn't allow writes but still allows reads (albeit at a trickle of a datarate). These days I use solely Intel-based, top-line SSD's, and some (very limited) Samsungs. The choice isn't based on empirical data, but rather and impression their bar is a little higher (or more conservative) in terms of reliability, and simply not wanting to deal with the apparent issues I've seemed to encounter with other brands. The downtime lost from restoring / reconstructing just isn't worth it to me. Maybe I'm paying twice as much as I ought to, but since making the switch many years back it's worked out pretty well and I've been happy / fortunate. I run my SSD's in RAID10 using high-end controllers (aside from a few in ZFS). Just my own subjective experiences, again I'm not doing this at scale.
- coreyoconnor 8y ago"When a HD died early, you could also imagine undetected manufacturing flaws that finally gave way. With SSDs, at least in theory that shouldn't happen" This is incorrect. As much of the argument seems predicated on this I don't see a real issue.
- mirimir 8y agoMy first experience with drive failure was a ~40MB HDD expansion card in a 386. The bearings got "sticky", so the spindle wouldn't start rotating. But there was a Al tape covered hole, and you could insert the eraser end of a pencil, and nudge it. So yes, very understandable. Not too much later, I used Iomega ZIP drives, and experienced the "click of death". That was sudden, and irreversible, but also very understandable. For the past couple decades, I've consistently used RAID arrays, mostly RAID1 or RAID10 (and RAID0 or RAID5-6 for ephemeral stuff). I've had several HDD failures, but they were usually progressive, and I just swapped out and rebuilt. I recently had my first SSD failure. And it was also progressive. The first symptom was system freeze, requiring hard reboot, and then I'd see that one of the SSDs had dropped out of the array. But I could add it back. At first, I thought that there was some software problem, and that the RAID stuff was just caused by hard reboot. But eventually, the box wouldn't boot, so I had to replace the bad SSD and rebuilt the array. It was complicated by having sd1 RAID10 for /boot, and sd5 RAID10 for LVM2 and LUKS. So I also had to run fdisk before device mapper would work.
- linsomniac 8y agoFrom reading that blog and it's sister post about "flaky SMART data" on those same Crucial MX500 drives, reminds me that not all SSDs are created equal. Just like not all hard drives are created equal. My previous job involved a decade running 10 cabinets of servers an hour away with very little manpower: we eventually came to find that IBM/HGST drives were a lot more reliable than others. We also evaluated some early SSDs, and they were terribly unreliable. We eventually settled on the Intel drives and they were superb. My new job we've been using mostly Intel and Samsung Pro drives, they work great. But Dell sent us a server with some "enterprise SSDs" in it, that we eventually found were Plextor drives. Those things were terrible. We replaced them immediately with Intel, but used some of the Plextor drives and had all of them fail within a year. I'd put the Intel 64GB SLC drives from our 7 year old database server in a system before I'd put one of those brand new "enterprise" Plextor drives in. I love Crucial, I buy a lot of RAM from them, but I'm skeptical of switching to other brands of SSDs. The more experience I have, the more conservative I get with systems that matter.
- massafaka 8y agoI think those drives dying quickly is actually a Good Thing™, because chances you're backing up corrupt data might become smaller… With the older drives you sometimes would have a drive die, replace it, restore your backup only to find that in the process of dying the drive was actually corrupting some of the data which went into the backups, now you've got to hunt down the last uncorrupted versions of the data in the backup…