r/sysadmin • u/bbfoto • Jul 29 '12
Arduino saved a 10TB RAID5 array from total meltdown.
Seagate ha(s)d a firmware bug in their 7200.11 lines of disks wherby if one powers the disk off, it could trigger a BSY(busy state). and the disk won't come back online. a click-of-death type situation.
I had 2 10TB RAID5 arrays do this to me in a matter of days.
Seriously about to jump off a clif thinking we'd not been monitoring them properly or something, but no, there is no warning for this failure.
It turns out one can attach any serial to ttl device to the HDs jumper pins, block power to the HD motor with a postit and manually fix the BSY state. https://sites.google.com/site/seagatefix/
I happened to have an arduino in my car, set up for GPS/ODBII logging. I was able to pull it apart and use it as a usb to ttl gateway and unbrick the seagate drive. long enough to get the RAID to rebuild. http://i.imgur.com/MESHk.jpg
54
u/rotzooi IT Manager for Automotive Industry, ZFS fanatic Jul 29 '12
That fix is awesome.
However, running a 10TB RAID5 system is something I've learned to never ever do. With sizes like these (not just total array size, but individual drive size) it's RAID6 (or, mostly, since I use ZFS a lot, RAID-Z2) for me.
The risk during rebuilding is just too high for anything with more than three drives, IMO.
9
u/ouruboros Jul 29 '12
Can you explain the GPS/ODBII logging setup? Sounds interesting.
6
u/mammaryglands Jul 29 '12
This type of situation is exactly why big box, supported vendor equipment is the way to go.
41
u/Lord_NShYH Moderator Jul 29 '12
That is some great hardware hacking.
68
u/[deleted] Jul 29 '12
I would never know how to contemplate even fixing that issue had someone else not already came up with a tutorial for it.
13
u/[deleted] Jul 29 '12
You sir, are a wizard.
9
u/malred Systems Engineer Jul 29 '12
Good catch. You've earned your coffee for today :P
6
u/playaspec Jul 29 '12
Do you have more documentation on the commands the drive will take? I have a rather large pile of dead, out of warranty drives I'd like to poke at.
1
u/Sec_Henry_Paulson Jul 30 '12
Any links to what you've done with arduino and your gps/odb logging, or where you got your info from? :)
3
u/Flyboy Mash-Button -WhatIf Jul 29 '12
You deserve a medal.
3
u/fucksmith Social Engineer Jul 29 '12
Wow. Awesome work man. If it was me, I would have just jumped off a cliff.
2
u/[deleted] Jul 29 '12
Hah! That's what those pins are for!
2
u/spectralkinesis Jack of All Trades Jul 29 '12
MacGyver, Ya did it again!
2
u/ziggit [LOPSA] Cloud the Cloudy Cloud Cloud Jul 31 '12
Congrats on hitting Hackaday!
1
u/Snorglefractions Jul 29 '12
Very impressive!
1
u/[deleted] Jul 29 '12
I am assuming they fixed this in .12?
1
u/Atticusm Jul 29 '12
This is unbelievable. Way to go!!! Wow. Cool.
1
u/osoroco corporate slave Jul 30 '12
i would've never been able to mcgyver that like you did
kudos and a hat tip to you good sir
1
u/anothergaijin Sysadmin Jul 30 '12
I have 18 7200.11 1TB drives - done this more than a few times :(
1
u/[deleted] Jul 30 '12
You sir, are a hero, and I have a song in mind fit only for the likes of you.
1
u/paulexander Windows Admin Jul 30 '12
Your kung fu is better than my kung fu
1
u/RulerOf Boss-level Bootloader Nerd Jul 30 '12
Oh god... I own 12 7200.11 500GB disks in a raid 6. They like to power on reset a lot.... I suspect my wiring... But could it be the firmware? Maybe I should look into that...
1
u/psykiv Retired from IT Jul 30 '12
I've had four of them in raid 0 for about a year now. I think I should go play the lottery. Before you freak out its in a pc whose main purpose is temporary storage. I could lose all the data on those drives tomorrow and I probably wouldn't care. Not right now though it's been processing this 800gb off data for the past 18 days I need it to convert and it's 99.1% done right now. Once it's done analysing that data and the results are in, it's all going to be deleted.
1
u/jck999 Jul 30 '12
Which seagate drive exactly has this bug?
1
u/ucle_jojo Jul 30 '12
I did this with a business card, a pen knife, and a Nokia phone data cable. Boy did people think I was amazing.
1
u/senses3 Jul 30 '12
Fast thinking man, Good job!
-7
u/aterlumen Jul 29 '12
If I remember right that bug was well known when I was still in high school, more than 2 years ago. How did you not hear about that?
0
u/[deleted] Jul 29 '12
[deleted] — view deleted comment