335 points · by TangerineDream · 5y ago · 175 comments
If every drive type, new and old, big and small, did better this year, maybe they changed something in their environment this year? Better cooling, different access patterns, etc.
If this change doesn't have an obvious root cause, I'd be interested in finding out what it is if I were Backblaze. It could be something they could optimize around even more.
I'm not sure if they have a measure of the disk utilization or read/write load along with the failure rate.
> I'm not sure if Backblaze has a measure of the disk utilization or read/write load along with the failure rate.
We publish the complete hard drive SMART stats for anybody to attempt these analysis. Most of us in Backblaze engineering get giddy with excitement when a new article comes out that looks at correlating SMART stats and failures. :-) For example, this article circulated widely at Backblaze a few days ago: https://datto.engineering/post/predicting-hard-drive-failure...
Thank you guys for putting out so much data and writing so much about your findings- it was HUGE in helping me come to conclusions about what's realistic to assume from SMART stats. Y'all are doing some really really cool stuff.
I'm really super curious about the dip in errors over the past year :)
Less movement, less vibration, less breathing, datacenter doors staying closed longer, generally less planned maintenance, etc etc.
There’s also just the possibility that failure rates are bimodal and so they’ve hit the valley of stability.
Are they tracking wall clock time or activity for their failure data?
> If they've hit on a different access pattern that is more gentle, that might be something useful for posterity and I hope they dig into that possibility.
Internally at Backblaze, we're WAY more likely to be spending time trying to figure out why drives (or something else like power supplies or power strips or any other pain point) is failing at a higher rate, than looking into why something is going well. I'm totally serious, if something is going "the same as always or getting better" it just isn't going to get much of any attention.
You have to understand that with these stats, we're just reporting on what happened in our datacenter - the outcome of our operations. We don't really have much time to do more research and there isn't much more info than what you have. And if we stumbled upon something useful we would most likely blog about it. :-)
So we read all of YOUR comments looking for the insightful gems. We're all in this together desperate for the same information.
I do think access patterns in general should contribute to the numbers so that kind of thing can be determined.
Also note that Backblaze does backups -- by definition, these are infrequently accessed, usually write-once-read-never. I've personally been a customer for three years and performed a restore exactly once.
It can also be the case that newer drives this year are better than newer drives last year, while older drives are over a "hill" in the failure statistics, e.g. it could be the case that there are more 1st-year failures than 2nd-year failures (for a fixed number of drives starting the year).
Although the helium drives are more sealed up, which also might be a factor?
I'm not sure how more B2 access pattern would improve the stat though.
> I guess these Hard Drive Stats post cover disks used for their B2 service as well?
Yes. The storage layer is storing both Backblaze Personal Backup files and B2 files. It's COMPLETELY interleaved, every other file might be one or the other. Same storage. And we are reporting the failure rates of drives in that storage layer.
We THINK (but don't know for certain) that the access patterns are relatively similar. For example, many of the 3rd party integrations that store files in B2 are backup programs and those will definitely have similar access patterns. However, B2 is used in some profoundly different applications, like the origin store for a Cloudflare fronted website. So that implies more "reads" than the average backup, and that could be changing the profile over time as that part of our business grows.
I have mentioned this on HN a couple times now[2][3], including again just yesterday. I really dislike doing this because I feel like I am piling on—but as much as I hate it, I feel even more strongly that people deserve to be informed about these serious ongoing failures at Backblaze so that they can make more informed choices about what storage/backup provider to use. I also genuinely hope that I can incentivise them to actually start following software development best practices, since they do provide a valuable service and I’d like them to succeed. If they keep doing what they’re doing now, I absolutely expect to see a massive data breach and/or data loss event at some point, since they are clearly unwilling or unable to properly handle security or user privacy today—and I’ve gotten the impression over time that some prominent people at the company think these criticisms are invalid and they need not make any substantive changes to their processes.
[0] https://twitter.com/zetafleet/status/1304664097989054464
[1] https://twitter.com/bagder/status/1215311286814281728
Edit -> I just noticed the Daniel Stenberg libcurl citation. Oof, yea that certainly a whiff on our end. Luckily though we were able to make up for it (he has a write-up here: https://daniel.haxx.se/blog/2020/01/14/backblazed/).
OK, that’s good to hear. Nobody from the company has reached out to me so this is the first time I’ve been made aware. The only public replies I’ve seen up until now seemed to focus exclusively on just the public bug bounty part, which is really the least important part of this whole thing.
> I believe the bugs you mentioned were cleared/fixed with version 7.0.0.439 which was released in Q1 of 2020.
It’s really critical to be transparent about this stuff and tell your users. You published release announcements for subsequent versions and there were no mentions of security issues being fixed. When you don’t do this, it looks like you’re intentionally trying to hide vulnerabilities from the public. This is not how any company should act, especially not one that promotes how radically transparent it is[0].
> I just noticed the Daniel Stenberg libcurl citation. Oof, yea that certainly a whiff on our end. Luckily though we were able to make up for it […]
I reported license violations in a ticket and nobody replied.
You did fix the libcurl violation, which is great, but it took a letter from the author, which is less great.
You are still violating the OpenSSL license.
It honestly baffles me that nobody at Backblaze thought to check the licenses of the other OSS libraries that you’re distributing after receiving a notice that one of them was being violated. It’s not like there’s a huge compliance burden or complicated dependency tree to evaluate—as far as I can tell, it’s zlib (which requires no acknowledgement), libcurl (which does), and OpenSSL (which also does, for the version you are using[1]). This would’ve taken like 30 seconds.
[0] https://www.backblaze.com/blog/transparency-in-business/
[1] https://www.openssl.org/source/license-openssl-ssleay.txt
> as much as I hate it I'm following Backblaze around and posting incorrect information about them
I get the impression Backblaze did something to upset you. Can you let me know what it is so I can try to fix it?
If there wasn't a pandemic on I would invite you to come to our office and I could buy you lunch and I could try to make up for whatever we did to upset you.
I'm not the person you responded to and I'm a happy user of both Backblaze and B2, but I wanted you to know that this response by you reads as quite disingenuous. You seem to want to shift the reason for his disgruntlement with Backblaze from all the reasons he already mentioned to some other, imaginary slight that you indicate you'll do your very best to fix. How about just reading his very real gripes and responding to those?
Let's take his twitter thread for some highlights, these seem like very real reasons to get upset, maybe you "can try to fix" those? * Backblaze changed their client to add an allowlist some time after my report, while also intentionally breaking their TLS code so it would accept INVALID TLS certificates. Thereafter, the local code execution vuln became a full blown RCE vuln.
* When I submitted my report 11 months ago, they told me they already knew about the problem, downplayed its severity, dodged follow-up questions, didn’t seem to understand how CVE IDs work and refused to issue one after being asked four times. It was not confidence-inspiring. The CVE ID for the vulnerability I gave to them is CVE-2019-19904. They should’ve announced it, but they never did. Actually, they never seem to voluntarily disclose any security bugs… there are a lot of verified, closed, undisclosed bugs on their HackerOne account.
* This is all in stark contrast to their security page (https://backblaze.com/security.html) which makes many claims about best practices, and their blog & social media which present a sense of radical openness. I used to like their blog, but it all feels so gross and dishonest to me now.
* Backblaze mislead users about PEK. The decryption key is sent to their server, and so is your password. The only way to restore data is to decrypt it on their servers first. It is not a zero-knowledge system. PEK data is not ‘inaccessible’ to them. They don’t care.
At face value (and I haven't done any digging of my own) these all seem like valid reasons to distrust Backblaze. Not necessarily because they happened, but because of the way Backblaze has addressed them (read: apparently not)
I read thru your HN posts and twitter and I completely understand where you're coming from. Very good points.
But here's my response to you: You're paying them $6 per month. That's not enough money for them to do better than what they're doing now. They literally can't afford to do better, given their paltry income stream. (Just my guess, I have no insider info about them).
If they keep doing what they’re doing now, I absolutely expect to see a massive data breach and/or data loss event at some point
I guess that's a chance they're prepared to take, though they probably haven't thought about it in such stark terms. I'm sure their development practices will improve, maybe in time to prevent a massive breach or loss.
> they probably haven't thought about it in such stark terms
Backblaze takes security incredibly seriously, and I assure you we have thought about it in such stark terms.
Expounding on that: Backblaze never raised any significant VC funding, we survive entirely on sales of our products, and most of that is keeping our customer's data utterly private, confidential, and safe. As this is the business we are in, our reputation is INCREDIBLY important to us. If we have a major breach we'll most likely lose our customer's trust, lose all our customers, and go out of business.
Since this is all I've done for the last 14 years, and my income and life savings is all wrapped up in Backblaze, I take this issue as seriously as a heart attack. So do my business partners (Backblaze was founded by 5 equal partners.) We're also up to around 200 employees who all would suffer greatly if we lose the trust of our customers.
Internally, Backblaze has a "Security Council" of software engineers and technical operations people with something like a combined 150 years of security experience and obsession. One of these council members got his CS degree from MIT and is both one of the smartest people I've ever worked with (we've worked together at 3 separate companies so far over 25 years) and also deeply paranoid and stressed out all the time. Another of the security council members has a PhD in computer science. And so on... They watch over all the design proposals, the APIs, the technical infrastructure, everything at Backblaze. They propose and implement new procedures, new programs like our BugCrowd program where we have external white hat hackers constantly trying to break in. We are also going through an internal security audit right now paying consultants to get yet another perspective.
In addition to the Security Council, all software engineers and all technical operations people are expected to worry about security all of the time. It is quite possibly our most talked about, most worried about, most important thing we do.
> I'm sure their development practices will improve
We always, ALWAYS strive to do better and do more.
https://news.ycombinator.com/item?id=25147951
And I must apologise, I was wrong when I said they didn't update their status page during the outage. They don't have a status page.
Would love to see SSD stats like this in the future. Recently was talking to some friends about what SSD to buy. I personally really like my HP EX950 - one friend said he'd never buy HP hardware. He said he was getting an Intel - I said I had an early Intel SSD fail on me, and I don't think QLC is the best option, but it is a nice value play. For performance, I do like Samsung, though they are expensive. Another friend said he'd never buy a Samsung SSD, as he had a reliability issue, and found lots of similar stories when he was researching it.
Of course these are all anecdotes and they aren't useful in making an informed choice. I suspect most SSDs are reliable "enough" for most consumer use, and not nearly reliable enough for certain kinds of critical storage needs. But it would still be nice to see the big picture, and be able to factor that into your SSD purchase decisions.
I was reading the Q3 2020 stats yesterday because I'm looking for a new drive.
It was somewhat annoying to have to type the HDD-model into the Google search bar instead of just double-clicking and selecting search from the context menu. It irritated me that it was an image.
Do anyone have anecdata on Toshiba MD/MG/MN 7K2 drives(excluding DT because those are HGST OEMs)? They are always less price competitive and thus always light on real-world stories though they seem comparably reliable as HGST.
Drives deployed below 400, usage exclusively NAS (raid 1, raid10 and raid 6) inside below 50 employees companies. They appear to be insanely reliable and high performers, to the point the +15% price tax for them in french store seems highly justified for me.
Purely anecdotal results, of course.
They try to get rid of the HGST brand but failed. And had to go back to HGST branding specifically for HDD coming from the acquired HGST Factory.
i.e AFAIK HGST is still HGST.
Is HGST still a separate department or “just” their luxury brand now?
What's the best medium for this? SSD or HDD?
SSDs don't have this archival longevity yet, and hard drives are better when powered up and the data is always hot for scrubbing and migrating when indicators of drive failure present.
But HDD isn't your only other option. How important is the data, How often will you need to access it, and will you need to rewrite to the storage medium? You might want to consider Blu Ray. Or both, stored in different locations. Also look into LTO tape drives. LTO 6 drives should be cheaper than 7/8 (though still not cheap) and have a capacity around 6TB.
AFAIK a post on /r/datahoarders says that the breakeven point for tapes vs shucked hard drives from a pure storage perspective is around 50TB. Given the hassle associated with dealing with tapes, it's probably only really worth it if you have 100+TB of data to store.
The amount of hassle depends on your workflow. If you create a backup every day and then bring the media off-site, tape is easier. Easy enough to put a tape in your drive, make the backup, and eject. Tape is not sensitive to shock and you can just chuck the tapes in your care or shove them in your backpack.
If you really need it to last and re-writability isn't an issue, M Disc claims 1,000 years.
Those extra bits they squeeze into QLC etc literally do make SSDs worse at power off retention
Personally I think safe is.. unnecessary. What is it protecting you from when your data is encrypted? If you put it in a safe then you probably care enough about the data not to have it in a single location no matter how secure it seemingly is.
various forms of physical damage, including fire and accidental crushing
where do you think they ought to store their drives?
a little safe that will hold easily 100TB costs $50 and can hold your passport and such too.
I think there was a French study that compared DVDs, M Discs and BDs and the HTL BDs fared very well. Can't find the document though.
Mechanically and electrically, everything is rated to last several times longer than the head
In other words, you just need to buy two used drives (one as spare) and verify they can write a full tape and their head hours and other error counters are sane. There is no reasonable need to refurbish a tape drive other than a head replacement, which is easy to do at home but so expensive (for older generations) that you might as well buy a new drive. All the testing you could hope for is done in POST and by LTT/equivalent (writing a tape and reading logs is good enough)
1. Backup to external SSD or NAS. This is the backup you will rely on if your PC loses all data. It will be fast to replicate to.
2. Mirror the external backup to a second external SSD. And sync it every week or month. Sync more often if your data is changing a lot.
3. The third layer is an external HDD mirror for the long term off-site backups. HDD are cheaper and more suited for being switched off long term.
4. If you can afford the expense of a forth step, every year buy another external HDD and put the previous one aside as an archive to be brought into service if the current one fails to boot.
I recommend separating your data into some short of hierarchy and choose what needs to be backed up to what level. So if you have some software ISOs that you could repurchase/redownload, then have a separate drive for junk like that and don't have it go all the way through the backup steps listed above.
Save the rest on two of Google Drive, OneDrive, iCloud, some other cloud storage, a backup service or copy to a computer in your home. Make your selection based on things that you will "touch" in some way at least every 12-24 months. Everything else will fail in a few years.
Don’t save crap you don’t need. Don't futz around with optical media, tape or other nonsense. Don't buy safes or safe deposit boxes unless that's going to be part of your routine in some way.
I tend to agree with this although it can be hard to determine what you won't want/need in advance and it probably takes at least some effort to winnow things down.
That said, I'm in the middle of going through my photos right now and deleting a bunch of stuff. (Which is a big job.) It's not so much for the storage space as I'll "only" be deleting a few hundred GB. But it's a lot easier to look for stuff and manage it when you don't have reams of near-identical or just lousy pics. One of my takeaways from this exercise is that I should really be better at pruning when I ingest a new batch.
I think that effort is worth it. As it stands, we've all become digital hoarders as the up-front cost to accumulate stuff like photos and documents goes to zero. The problem is you're dumping LOTS of cost into the future.
Photos are a big thing for me.
Initially, I used applications (Picasa and later iPhoto) to tag photos with metadata to indicate importance, etc. Applications tend to have zero respect for to commitment to preserving metadata. So by the time my kids are going to college, my family is going to have 200,000+ photos alone. What's the point? Am I getting pleasure (or to borrow from the Netflix organizational guru "Does it bring joy?") from this data?
Personally, my new strategy, having been burned by the tools is a pyramid:
1. Print and Frame/preserve important or significant pictures (Say 20-30/year)
2. Curate others that we care about. (Say 500/year or 5-8%)
3. Purge stuff of no value. (Say 2500/year or ~25%)
Based on my "performance" today, if I keep at it, I'll be able to reduce the rate of growth.
Otherwise HDD.
Archiving is not a one-time thing, but a process.
If you care about the data, you should periodically check the media and at some point replace the media as they age.
I've had three external hard drives for 7 years, and none have stopped working. I have one, and keep two somewhere else (office, family). I connect one for a few hours every week/month to update, then leave alone until needed, or rotated with one elsewhere.
Sounds like a good fit for SMR archive HDD.
Modern SSDs not only sacrifice endurance and sustained performance, they also sacrifice power off data retention
Also, kudos to Backblaze. I'm sure there's some side brand benefit to all the work that goes into making this public, but it's clear it's mostly just altruism.
What is the most reliable hard drive of all time, and why?
In other words, let's say I didn't care about capacity, and I didn't care about access time or data transfer rate, and I'd like a drive to store data 100, 200+ years into the future and have it have a reasonable chance of getting that data there -- then what kind of hard drive should I choose, and why?
It's a purely philosophical question...
Perhaps I, or someone else, should ask this question on Ask HN... I think the responses would be interesting...
That's flat out impossible given current drives. So many mechanical parts. So much to go wrong, such as air seals, bearings, etc. Even if the drive survived, will you be able to connect to its interface? No!
If you want to store data for 100 years, you will need to copy that data over, approximately every 5 years, onto the then current storage medium.
After an experiment with their helium-filled drives, I've gone all-in to great success.
> I wonder why Western Digital is almost absent, does anyone know why?
Most of the time the answer comes down to price/GByte. But it isn't QUITE as simple as that.
Backblaze tries to optimize for total cost most of the time. That isn't just the cost of the drive, a drive that is twice as large in storage still takes the same identical amount of rack space and often the same electricity as the drive that is half the storage. This means that we have a spreadsheet and calculate what the total cost over a 5 year expected lifespan will turn out to be. So for example, even if the drive that is twice as large costs MORE than twice as much it can still make sense to purchase it.
As to failure rates, Backblaze essentially doesn't care what the failure rate of a drive is, other than to factor that into the spreadsheet. If we think one particular drive fails 2% more of the time, we still buy it if it is 2% cheaper, make sense?
So that's the answer most of the time, although Backblaze is always making sure we have alternatives, so we're willing to purchase a small number of pretty much anybody's drives of pretty much any size in order to "qualify" them. It means we run one pod of 60 of them for a month or two, then we run a full vault of 1,200 of that drive type for a month or two, just in case a good deal floats by where we can buy a few thousand of that type of drive. We have some confidence they will work.
Guessing shit like the ST3000DM001 is a whole different thing entirely.
:-) Yeah, there are times where the failure rate can rise so high it threatens the data durability. The WORST is when failures are time correlated. Let's say the same one capacitor dies on a particular model of drive after precisely 6 months of being powered up. So everything is all calm and happy and smooth in operations, and then our world starts going sideways 1,200 drives at a time (one "vault" - our minimum unit of deployment).
Internally we've talked some about staggering drive models and drive ages to make these moments less impactful. But at any one moment one drive model usually stands out at a good price point, and buying in bulk we get a little discount, so this hasn't come to be.
The rest of us don’t have that, so a single disk loss can ruin a whole Saturday. Which is why we appreciate that you guys post the numbers as a public service/goodwill generator.
TOTALLY true. We staff our datacenters with our own datacenter technicians (Backblaze employees) 7 days a week. When they arrive in the morning the first thing they do is replace any drives that failed during the night. The last thing they do before going home is replacing the drives that failed during the day so the fleet is "whole".
Backblaze currently runs at 17 + 3. 17 data drives with 3 calculated parity drives, so we can lose ANY THREE drives out of a "tome" of 20 drives. Each of the 20 drives in one tome is in a different rack in the datacenter. You can read a little more about that in this blog post: https://www.backblaze.com/blog/vault-cloud-storage-architect...
So if 1 drive fails at night in one 20 drive tome we don't wake anybody up, and it's business as usual. That's totally normal, and the drive is replaced at around 8am. However, if 2 drives fail in one tome pagers start going off and employees wake up and start driving towards the datacenter to replace the drives. With 2 drives down we ALSO automatically stop writing new data to that particular tome (but customers can still read files from that tome), because we have notice less drive activity can lighten failure rates. In the VERY unusual situation that 3 drives are down in one tome every single tech ops and datacenter tech and engineer at Backblaze is awake and working on THAT problem until the tome comes back from the brink. We do NOT like being in that position. In that situation we turn off all "cleanup jobs" on that vault to lighten load. The cleanup jobs are the things that are running around deleting files that customers no longer need, like if they age out due to lifecycle rules, etc.
The only exceptions to our datacenters having dedicated staff working 7 days a week are if a particular datacenter is small or just coming online. In that case we lean on "remote hands" to replace drives on weekends. That's more expensive per drive, but it isn't worth employing datacenter technicians that are just hanging out all day Saturday and Sunday bored out of their minds - instead we just pay the bill for remote hands.
Disclaimer: (I’m a customer)
WD had to sell and license some HGST assets for Anti-Trust reasons, but there was never a requirement for them to be a seperate company
HGST Websites and other things today just redirect to WD, there is no new HGST branded things being made as far as I am aware
> one should stick to SSDs for sound
I think you should stick to SSDs for performance reasons. :-) I can't go back to spinning drives for my desktop computers.
But here is one idea for you... Backblaze started in my dive one bedroom rental apartment in Palo Alto, California. Here is what that looks like with cubical walls setup in my living room: https://i.imgur.com/twu5vKe.jpg
Ok, so my desk in that picture is the one on the far right. I positioned my desk in the living room against a wall carefully so that my gas furnace room (with a door) was DIRECTLY on the other side of the wall. Then I put the computer inside the furnace room, drilled a hole through the drywall large enough to run the monitor cables and USB for the keyboard and mouse, and my desk was SILENT.
I caught SO MUCH grief for putting my computer in a furnace room, but the silence was worth it. I still claim to this day that if the furnace pumped out all of it's heat into the closet surrounding the furnace that would be a terrible design, that's not how it works at all. :-) But if it bothers you deeply, find a wall where there is a coat closet on the other side.
Here are more pictures of the original combination furnace room and machine room in the first Backblaze Corporate Headquarters: https://www.ski-epic.com/2007_small_business_setup/dell_xps_...
Also wow you founded Backblaze, super exciting to meet you here. I am a happy customer and also got my family members to sign up so that they don't have to worry about losing pictures.
Heard about Backblaze from one of the professors at university. Can't imagine unsubscribing ever, it's definitely a part of essential software package for me.
Also if BackBlaze founder recommends to stick to SSDs I will stick to SSDs :)
If I were you I’d be looking at slow ones, 5400 WD drives.
Yes, buying a basic backup solution is going to set you back a few hundred dollars minimum (or not, if you go for BB or similar) but it seems like a basic minimum.
I don’t know how you change the culture but it’s bad among those I have worked along side.
I haven’t bought large drives in years and recently started doing so. I have been really impressed with how good they are and how well they perform in an always-on NAS. I’m so impressed with the Synology I got and can’t speak highly enough of it. I just wish I’d bought one with more bays.