The Palangi Files |
|
11.23.2005Some RAID 5 Linux jubilation!
First, some apologies for the geek-speak...
About a week ago, while trying to cleanup my folders and hard drives assorted here throughout school I can upon a bit of a problem. I couldn't delete a certain file in my backup directory through my GUI. I loaded up my scalpel of administration (putty) and proceeded to throw away already duplicated directories and files. For those of you unfamiliar with the command, it goes something like this: rm -rf [name of folder to delete] Well ironcally, I had a folder named etc in the directory I was cleaning. And, can you see where this is going... I ran this command: rm -rf /etc instead of... rm -rf etc/ Yeah. Its that little of a mistake. Well I deleted the linux equivalent of my registry, trashing all of my config files and causing our backup server to belch in disgust, throwing up and spitting out all of the schools movies and music. I'm talking almot 150GB's of aforementioned media. It was a crying shame. I actually cried. It was a shame. Well today there is reason to celebrate! This man hath saveded me! One of the most annoying things about linux is finding answers on the net. Since there is so much software and so many versions of tools depending on your distro and how strong the pull of aquarius is when it crosses Saturn, there could literally be 100 different ways of solving the simlar problem. Its getting better faster and that's good news and when you do finally find the answer, it works generally works. Note to potential employers: I am a Certified Linux Software RAID Masta® now, having earned my RAID stripes through 4 days of intensive research. Anyway, I'm pumped. I'll be bringing home a pretty sweet music library and can still share the library with all of the Peace Corps Volunteers here in Tonga. Word of advice to all future incoming volunteers. Include and MP3 Player on your Peace Corps Packing list and, if you can afford to, a laptop. Infinitely useful. Also, bring cool stuff for toti. He will be keymaster. Komiputa palapilema? Mise Ey? Io! PS - Code thatith truly saved me... 1 cat /proc/mdstat 2 sudo mdadm --examine /dev/hde1 3 sudo mdadm /dev/md0 -a /dev/hde2 4 cat /proc/mdstat 0 comments - Post a Comment |
E-mail Jim Jawn | Photos & Blog ©2003 Jim Jawn | Updated 02.01.04 |