9 ms·
“When all your engines stop, the flight is over”
- ronilan 13y agoLosing data s but the analogy is flawed. “When all your engines stop, the flight is just starting"
- bdonlan 13y agoWhen your engines stop, you trim for best glide ratio, point yourself at an open field, and fly the plane all the way to the ground. Failure to do so is a great way to get yourself killed.
- xb95 13y agoNice to see a fellow pilot -- well, I'm still in the student phase, but I've been doing lots of "glide, grass, gas!" lately, as my instructor likes to say. Sadly, the number of open fields to aim for in the SF Bay Area is pretty small. It's either hillsides, bay, or city. Oh, and a couple of thin dikes you could land on. ("That's why nailing the centerline is so important. Someday you might need to land on something like that dike wall -- and if you nail it, you walk away fine.")
- lloeki 13y agoNot in a helicopter (although you can try autorotation, which is akin to trying to make a brick fall like a maple seed)
- nknighthb 13y agoEither those drives are all from the same bad batch, or this isn't a drive problem. I would be thinking either a cooling problem or flaky controllers, and a drive swap in that case is not the solution.
- akg_67 13y agoDoubt those drives were from bad batch. As these were SSDs, most likely write wear. Two SSDs should never be in RAID 1 pair or replace at least one SSD in RAID 1 at predetermined schedule instead of replacing on failure only. They are going to wear off at same pace and will fail about the same time.
- rxp 13y agoOuch, sounds like somebody got hit by a really bad batch of drives. Always a risk when you buy a bunch at the same time. :/
- nbevans 13y agoIn my experience, all SSDs are a bad batch unless they're Intel 520 or Samsung's high end range. A big mistake to make is to fill an SSD drive completely up with data. This is a huge no-no unless it's an enterprise drive which usually use a totally different design.
- anigbrowl 13y agoBTW I should add that I'm still a fan of TOR and have no plans to switch away. In fact, their upfront explanation of what went wrong and how has improved my opinion of the project.
- achille 13y agoStorage is cheap compared to engineering labour. That's a massive migration (from one DB to another), definitely not worth saving that 300gb. It's still unclear how the storage failure was related to the migration. Was the new engine/fs disruptive to the SSD?
- Narkov 13y agoThey mentioned pretty explosive growth so 300GB today may be 3TB next month and 100TB in a few years.
- nknighthb 13y agoThe Old Reader is not a commercial venture. Time and money are not fungible when they're donations. Edit re migration connection: Anything that stresses hardware already close to the edge can trigger a failure.
- bigiain 13y agoReminds me of this (from many years ago): "But even today a 7 drive RAID 5 with 1 TB disks has a 50% chance of a rebuild failure. RAID 5 is reaching the end of its useful life. " http://www.zdnet.com/blog/storage/why-raid-5-stops-working-in-2009/162 http://www.zdnet.com/blog/storage/why-raid-5-stops-working-i...
- tjoff 13y agoAlthough the fail characteristics and sizes of SSDs are not the same as conventional harddrives so you can't really make much out of that article in an SSD context.
- xb95 13y agoHonestly, this doesn't sound like a bad batch of drives or the like -- sounds like they weren't doing scrubbing on their RAID. In case it's helpful, and for general knowledge dissemination: What likely happened is that a drive "failed". This is usually when the RAID card decides that a drive has had enough command errors that it fails the drive. It may actually be fine, and just had a spate of bad responses. You might try to online the drive again and let it rebuild, but that's debatable. At any rate, so they replaced the drive. That's fine. But then, to rebuild the RAID back to optimal state, it has to read all of the data off of the other drives. Here's where a bad scrubbing policy bites you -- because if those drives have any sectors that have gone bad or problems with the hardware, those drives might fail as soon as the rebuild runs. Scrubbing should be done regularly (weekly?). What it does is, in essence, test every sector on all of the disks in the array to make sure that all of them are still fully functional so that -- if there is a failure -- you're pretty sure you can rebuild. The downside of scrubbing is that, for better or worse, it does exercise your disks fairly heavily. Also, if you don't have a suitable trough period then you might even find it difficult to have the available I/O bandwidth to do it. That said, you should do it if you're not.
- achille2 13y agoNote that they did periodic backups, which would have scrubbed the same sectors as a full resync, so that's not the case.
- xb95 13y agoNot really. A backup would be a filesystem level event, so at best it would only access 1/N of the sectors (where N is the duplication level). It isn't guaranteed to access all of the sectors the data resides in -- and also, it may have hit the kernel's filesystem cache or the on-disk cache or something like that, too, bypassing the physical media entirely. Also keep in mind that a RAID rebuild is a media level event, it doesn't just copy files. It will copy over the "empty" sectors, too, because it just has no idea what's what on the disk. It faithfully recreates the raw bytes on the media. The disk might have failed in a part of the disk you aren't actually using and never noticed because all of your actual data is intact -- the the RAID can't really rebuild without them.
- skore 13y agoIf your service goes down, be sure to at least have some notion of what your service does on the homepage. Right now, it's only an error report and I had to skim through the blog for a while to figure out that it's a kind of Google Reader replacement. When your engines stop and you're getting lots of eyeballs, don't assume they all know you.
- ck2 13y agoIf you aren't using Intel SSD in a server environment, you are going to have a bad time. They are too relatively slow for home computer use but for servers, much more reliable. That said, this chart concerns me: http://www.ssdaddict.com/ss/Endurance_cr_20130122.png http://www.ssdaddict.com/ss/Endurance_cr_20130122.png 25nm Vs 34nm http://google.com/search?q=cache%3Ahttp%3A%2F%2Fwww.xtremesystems.org%2Fforums%2Fshowthread.php%3F271063-SSD-Write-Endurance-25nm-Vs-34nm http://google.com/search?q=cache%3Ahttp%3A%2F%2Fwww.xtremesy... My first personal computer SSD is going to be the Samsung 830 from different batches in Raid1 Also, when someone else builds your servers, you should query the smart info from the drive to make sure they aren't used SSD.
- pja 13y agoSSDs still seem to have a bunch of nasty failure cases. Right now, for production use I'm not sure I'd trust the things for reliable storage. As a fast cache for spinning rust? Definitely. As my only live copy, even duplicated in a RAID? Hmm. Not even Intel SSDs are immune: One of the Debian developers has reported that the SSDs shipped in the latest Thinkpads die if you try and construct an encrypted filesystem on them. Somehow they corrupt themselves during the initial write of random data to the disk. (Interesting that these SSDs died whilst under high write load too: is this a particular weak point for some reason?)
- coldtea 13y ago>SSDs still seem to have a bunch of nasty failure cases. Right now, for production use I'm not sure I'd trust the things for reliable storage. You should not trust anything for "reliable storage". That's what backups and redundant drives are for.
- coldtea 13y ago>When all your engines stop, the flight is over Pedantic and off-topic as it is, this is incorrect. At least for airplanes. When all your engines stop you continue to glide, and you can even manage to land succesfully with a little skill and luck.
- tjoff 13y agoSo, a glide to an emergency landing means that the flight is not over? Similarly just because a rebuild fails doesn't mean that the data is lost. Just pop in the drives individually and fetch whatever you can from all of them, it is seldom the case that the exact same parts of them become irretrievable at the same time or that the drives stop function completely. It's just some more work than a regular rebuild.
- praptak 13y agoA notable case thereof, involving a Boeing 767: http://wikipedia.org/wiki/Gimli_Glider http://wikipedia.org/wiki/Gimli_Glider
- deleted 13y ago[deleted]
- chiph 13y agoSympathies. We had a similar thing happen at a previous job in the days of the "deathstar" drives. Lost a drive, no biggie. Tell the DC guy to replace it. Lost a second drive, told him to start running towards our cage. Lost a third drive, uhh - how current are our backups? Different job - had a developer accidentally run a where-clause-less delete in production. Same net result. RAID and SANs are definitely not backup solutions.
- tetha 13y agoVery much so. For us, raids are mostly time we can use to move all the important data off of that raid. It might be drastic, but it's safe and our data isn't too big.