Hacker News new | past | comments | ask | show | jobs | submit login

NBD is a simple protocol, I used it to recover a RAID5 hardware array that lost parity [0] [1], in just a few lines of C.

[0] https://dev.to/rkeene/raid5-lost-raid5-recovered-3kld

[1] https://www.rkeene.org/projects/info/resources/diatribes/blo...




That is an amazing story! How did you write the userspace driver? Was the enclosure running a well-known RAID5 system?


It was a Sun enclosure, so proprietary and no documentation on the raw disk layout.

I'm not sure what you mean regarding how I wrote it, it's a single C file I wrote on my workstation that I had attached the enclosure to in JBOD mode so I could read every disk directly.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: