I just deleted all of my personal data at home. Unrecoverably. I think. While attempting to set up a backup system. The irony is no lost on me, even though my data is.
See, I installed Debian Etch on my NAS drive because I was trying to get afp on there so I could use Spotlight and Time Machine. At some point, while telnetted into the NAS box I did:
cd /mnt/HD_a2 mount --bind /mnt/HD_a2 etch/mnt/HD_a2
I did this because I was blindly following instructions, without really knowing what --bind does. Then today I did
rm -r etch
because I was replacing etch with sarge. I had forgotten, though, about that mount --bind. The problem is that /mnt/HD_a2 is the root of my data disk, so even though I thought I was only deleting a folder, that folder had a pointer to the root of my data disk, and deleted everything.
What did I lose? Pretty much all data I had except for mail, since my mail is on my laptop's hard drive. Sigh. I thought I was safe because my data was on a mirrored drive, but sadly, there is no protection from one's own stupidity.
Moving right along...
Posted by Ken Allen at November 2, 2007 11:48 AM