D'oh

This is a discussion on D'oh within the Tech Board forums, part of the Community Boards category; Rule #1: never admin a NAS when overtired. I just wiped out 2 terabytes of data in the blink of ...

  1. #1
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875

    D'oh

    Rule #1: never admin a NAS when overtired.

    I just wiped out 2 terabytes of data in the blink of an eye. Took 5 years to accumulate. Since I had to put off getting backup storage for this until I got a job, I never did. Thought I was deleting a user from a share and removed the share itself. %^&* web interface.
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

  2. #2
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,171
    I feel your pain.

    I did something similar a few years ago.

    Who would have guessed "reconstruction" in reiserfs means corrupting half the files?!

    I have since been running the server on RAID with snapshot backups. On ext3.

  3. #3
    chococoder
    Join Date
    Nov 2004
    Posts
    515
    just think about the money you saved by not having to rent those 2TB of diskspace from the hosting company for a while!

  4. #4
    Just a pushpin. bernt's Avatar
    Join Date
    May 2009
    Posts
    426
    I also did something similar. I was playing around with GParted and found the "Create Partition Table" button. Click. A window comes up:
    WARNING: Clicking "create" will immediately create a new table, blah blah...

    Create Cancel
    Well I didn't read the window because I was just fooling around and I figured it would just add "create table" to the queue but that wasn't the case - so my table was wiped.
    EDIT: On my only hard drive. With all of my stuff.

    Thankfully, though, it was an easy fix. I popped in my Knoppix CD and ran TestDisk. It took all of 1 minute to get my table back.

    I just wiped out 2 terabytes of data in the blink of an eye.
    And by the way TestDisk can fix filesystems too.
    It sounds like the data is still on your storage ("blink of an eye" is too fast for an actual zero-out) so maybe recovery tools can get that share back.
    Last edited by bernt; 06-18-2010 at 09:54 AM.
    Consider this post signed

  5. #5
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875
    Well it might have been a longer blink;it was one of those US Robotics NAS units that sports a web interface.I was in the process of adding a new user to the access list and decided that it was time to get rid of access for machines I no longer own.I thought I had high-lighted a user and clicked delete when.....well this NAS is our main video server for the house and the wife was watching Harry Potter or some such and accidentally dropped and grabbed the remote, mashing the buttons. By the time she got it back on the right channel, the top-level directory was toast and the set-top box I use for this had lost the connection to that share which made me waste more time looking for a network problem....by the time I tumbled to the real problem (waaaay overtired) it was far too late. Ugh. This weekend begins operation restore from...DVD. Meh.
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. doh array inversion
    By curlious in forum C++ Programming
    Replies: 1
    Last Post: 01-04-2004, 12:54 AM
  2. Doh!
    By Luigi in forum C++ Programming
    Replies: 6
    Last Post: 04-23-2003, 10:41 PM
  3. d'oh
    By Brian in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 05-18-2002, 03:47 PM
  4. Tic Tac DOH!
    By Invincible in forum C++ Programming
    Replies: 14
    Last Post: 04-23-2002, 03:38 PM
  5. I need some help for my game
    By valar_king in forum Game Programming
    Replies: 0
    Last Post: 12-27-2001, 10:35 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21