LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-07-2014, 12:06 AM   #16
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146

Accidentally wiped a 250Gig partition with my entire music and video collection on it and about 3 years worth of emails and ICQ logs.
 
Old 07-07-2014, 01:07 AM   #17
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
Quote:
Originally Posted by salparadise View Post
Accidentally wiped a 250Gig partition with my entire music and video collection on it and about 3 years worth of emails and ICQ logs.
done that too
did it to a friend of mine by accident with a 1TB hard drive with irreplaceable photos of friends of his that had passed on, not pretty.
 
Old 07-07-2014, 07:31 AM   #18
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: Slackware®
Posts: 13,610
Blog Entries: 34

Rep: Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793
Member Response

Hi,

I told my students to always 'Measure twice & cut once'. Check & re-check are both good rules to use everyday if you do not want a 'gotcha moment'. ©

Have fun & enjoy!
 
1 members found this post helpful.
Old 07-07-2014, 11:06 AM   #19
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,811
Blog Entries: 58

Rep: Reputation: Disabled
Hey, Gary! You seem to have become obsessed with copyrighting everything. ©
©
 
Old 07-07-2014, 11:33 AM   #20
PrinceCruise
Member
 
Registered: Aug 2009
Location: /Universe/Earth/India/Pune
Distribution: Slackware64 -Current
Posts: 890

Rep: Reputation: 185Reputation: 185
I once wiped Slackware 13.1 from my laptop just because I couldn't get the Broadcom wireless to work on that. It took me almost an year to come back to 13.37. I was an idiot.

Oh and once I logged in to one of my organization's production DB server using root and did some unspeakable things.

Regards.
 
Old 07-07-2014, 11:36 AM   #21
Germany_chris
Senior Member
 
Registered: Jun 2011
Location: Wiesbaden, Germany
Distribution: Arch
Posts: 1,053

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
I tend to make myself feel like an idiot every day at least once.

Two fridays ago I was trying to get home (180km away) but I needed to print a 7' banner I'd made before going home and the f'ing thing would only print partially half to be exact. I futzed and futzed eventually I turned the banner into a poster figuring I'd just print 3 and it still would only print half the image. I finally said F'it and I went home about half way through the drive home I realized I was trying to print to my plotter at 600 dpi which it won't do ( thanks Ps for keeping the last setting) so the Sunday before my daughters birthday I got to make the 360km commute to print off that stupid banner. Needless to say my wife was less than pleased and there is nothing worse than a pissed off German woman.
 
Old 07-07-2014, 12:06 PM   #22
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Quote:
Originally Posted by onebuck View Post
I told my students to always 'Measure twice & cut once'. Check & re-check are both good rules to use everyday if you do not want a 'gotcha moment'. ©
Yes, that's what I always do. Being mildly obsessive, I'm naturally a double-checker (and even triple-checker). But even so, I've had a few dumb moments .
 
1 members found this post helpful.
Old 07-07-2014, 12:46 PM   #23
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: Slackware®
Posts: 13,610
Blog Entries: 34

Rep: Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793Reputation: 2793
Member Response

Hi,

Quote:
Originally Posted by brianL View Post
Hey, Gary! You seem to have become obsessed with copyrighting everything. ©
©
And the problem is....
 
Old 07-07-2014, 12:58 PM   #24
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,811
Blog Entries: 58

Rep: Reputation: Disabled
No problem...a bit strange, that's all. ©
©
 
Old 07-08-2014, 11:59 AM   #25
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
I've pulled every bone head move there is.
It's what has made me the SysAdmin I am today.

Luckily for me, I fix way more than I break.
 
Old 07-10-2014, 09:57 PM   #26
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Rep: Reputation: 265Reputation: 265Reputation: 265
Using --checksum with rsync...my server is slow to begin with, and that one little flag made it a whole lot worse.
 
Old 07-10-2014, 10:32 PM   #27
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,059
Blog Entries: 2

Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
Originally Posted by maples View Post
Using --checksum with rsync...my server is slow to begin with, and that one little flag made it a whole lot worse.
I did the same thing a couple weeks ago. Tried to sync 3TB of data with the --checksum flag. Woke up 7 hours later to find only about 5 files had been synced.
 
Old 07-11-2014, 09:16 AM   #28
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Rep: Reputation: 265Reputation: 265Reputation: 265
Quote:
Originally Posted by replica9000 View Post
I did the same thing a couple weeks ago. Tried to sync 3TB of data with the --checksum flag. Woke up 7 hours later to find only about 5 files had been synced.
Before I looked at the usernames, I thought for sure that you were the one who started this thread: http://www.linuxquestions.org/questi...on-4175509597/
 
Old 07-11-2014, 11:41 AM   #29
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2138Reputation: 2138Reputation: 2138Reputation: 2138Reputation: 2138Reputation: 2138Reputation: 2138Reputation: 2138Reputation: 2138Reputation: 2138Reputation: 2138
Thought I was in ~/bin once, and wanted to clear it out, so I ran "rm -f *". Turns out I was in /bin, and was logged in as root.

I ctrl+c'd within about 5 seconds, but by then I had already lost basically the entire directory, including cp, mv, vi, etc.

Luckily I had another system with the same OS nearby and was able to scp the contents of /bin over, fixing the problem.




Another stupid issue that I've run into MANY times is a result of auto completion putting a space after the file when it matches it. I would want to remove all files with the same prefix, so I would type
Code:
rm -f prefix<tab>*
When there is more than one file matching that prefix, it's fine. The tab matches out to the end of the common prefix, then the * tells it to match all of the files with that prefix. When there is ONE file matching that prefix, the auto completion puts a space after it, and the command becomes
Code:
rm -f nameoffile *
Which, of course, means "remove nameoffile, as well as everything else in the cwd".

I probably made that mistake 4-5 times before I finally got fed up enough that I modified my bash auto-completion rules so that when I'm running rm, it doesn't put a space after the match.
 
Old 07-13-2014, 06:06 AM   #30
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Current: Debian and OpenSUSE. Past: Arch, RedHat (pre-RHEL). FreeBSD & OpenBSD novice, Hackintosh
Posts: 1,193
Blog Entries: 7

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Seems like the formatting drive thing is the common story, I'll add mine.

I had built a Debian Live image for a USB stick which I use at work. Usually I turn the laptop on, plug in the USB stick, and dd the image. All of my partitions are on the single laptop hard drive (sda)

This time, I threw the USB stick in first, and boot. Everything boots fine. Get to a terminal, and
Code:
dd if=binary.img of=/dev/sdb
Then I realize it's late, and will do this tomorrow instead. I Ctrl+C the dd process, and proceed to shutdown. First, I eject the USB stick.

Code:
$ eject /dev/sdb
umount: /home: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
eject: unmount of `/home' failed
HUH??? WHAT??? That ain't right!!!

run dmesg, and it turns out for whatever reason, the USB stick was detected as /dev/sda. Insert expletive here. Since when???

Turns out I had written about half of a gig to the laptop's hard drive. Yup. That sucks.

Fortunately the EFI partitions were first, followed by the root partition. home, usr and etc were unharmed.

I learned a lot about successfully recovering a GPT the next few days. Reinstalled Debian and was back in business. No data recovery needed as I was able to put the partitions back in place.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 11.10 Freezes short moments Dummy-in-Linux Ubuntu 0 06-02-2012 09:36 AM
my funniest video-game moments newbiesforever General 6 05-21-2009 02:30 PM
LXer: Memorable Linux moments of 2008 LXer Syndicated Linux News 1 12-25-2008 10:53 AM
Geek moments MensaWater General 29 05-26-2007 06:29 AM
Screen blanks every few moments regardless. TitaniumTaz SUSE / openSUSE 11 03-01-2005 06:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration