'rm -rf *' considered harmful

Message boards : Number crunching : 'rm -rf *' considered harmful
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile ivan
Volunteer tester
Avatar

Send message
Joined: 5 Mar 01
Posts: 783
Credit: 348,560,338
RAC: 223
United Kingdom
Message 1697107 - Posted: 30 Jun 2015, 22:28:09 UTC
Last modified: 30 Jun 2015, 22:38:16 UTC

Apologies to wingmen on my older Xeon/CUDA server. In a fit of heat- or svn-frustration-induced fever today I typed the fateful command 'rm -rf *' thinking that I was connected to another computer in another window in another workspace and not in my $HOME directory. :-( By the time I realised that the command was taking longer than it should, and hit Ctrl-C, I'd lost all files (alphabetically) down to boinc* -- which included BOINC, so all my WUs are lost.

Sorry.

boinc_repository was still intact, so I've rebuilt the boinc executables, and the CUDA executable is still in its build directory; so I just need to recreate the app scripts. Now we're up again after maintenance I'll try to reattach, merge with the old instance, and abort/reset so the WUs can go to new homes. I can't actually crunch on the machine at present, the server-room A/C failed yesterday so I shut down all S@H jobs so we can do our "work" work without reaching harmful temperatures.

[Edit] Ah, it looks like the server automagically merged the new instance and abandoned all the pending tasks. Now to wait for the A/C to be repaired before starting again. [/Edit]
ID: 1697107 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 1697115 - Posted: 30 Jun 2015, 22:46:15 UTC - in response to Message 1697107.  

How blue was the air in your room, at the time you found out? ;-)
ID: 1697115 · Report as offensive
Profile ivan
Volunteer tester
Avatar

Send message
Joined: 5 Mar 01
Posts: 783
Credit: 348,560,338
RAC: 223
United Kingdom
Message 1697118 - Posted: 30 Jun 2015, 22:58:05 UTC - in response to Message 1697115.  

How blue was the sky today, at 30.4 C outside (and just a few tenths less in my office...)?
ID: 1697118 · Report as offensive
Profile ivan
Volunteer tester
Avatar

Send message
Joined: 5 Mar 01
Posts: 783
Credit: 348,560,338
RAC: 223
United Kingdom
Message 1697871 - Posted: 2 Jul 2015, 21:36:22 UTC - in response to Message 1697107.  
Last modified: 2 Jul 2015, 21:37:04 UTC

I can't actually crunch on the machine at present, the server-room A/C failed yesterday so I shut down all S@H jobs so we can do our "work" work without reaching harmful temperatures.

I met a service tech in the lift on my way out tonight -- he'd just replaced the faulty thermistor in the A/C unit, so I'll see if I can start bringing up background S@H jobs on all the servers again tomorrow (I have been running just on one that's designated as my "personal" development machine), without overloading the system. My RAC is starting to take a beating...
ID: 1697871 · Report as offensive
Profile HAL9000
Volunteer tester
Avatar

Send message
Joined: 11 Sep 99
Posts: 6534
Credit: 196,805,888
RAC: 57
United States
Message 1697875 - Posted: 2 Jul 2015, 21:39:56 UTC - in response to Message 1697871.  

I can't actually crunch on the machine at present, the server-room A/C failed yesterday so I shut down all S@H jobs so we can do our "work" work without reaching harmful temperatures.

I met a service tech in the lift on my way out tonight -- he'd just replaced the faulty thermistor in the A/C unit, so I'll see if I can start bringing up background S@H jobs on all the servers again tomorrow (I have been running just on one that's designated as my "personal" development machine), without overloading the system. My RAC is starting to take a beating...

It's fine. There is no rush. It leaves a bit of work for the rest of us. :)
SETI@home classic workunits: 93,865 CPU time: 863,447 hours
Join the [url=http://tinyurl.com/8y46zvu]BP6/VP6 User Group[
ID: 1697875 · Report as offensive
Profile ivan
Volunteer tester
Avatar

Send message
Joined: 5 Mar 01
Posts: 783
Credit: 348,560,338
RAC: 223
United Kingdom
Message 1697896 - Posted: 2 Jul 2015, 22:31:51 UTC - in response to Message 1697875.  
Last modified: 2 Jul 2015, 22:32:08 UTC

It's fine. There is no rush. It leaves a bit of work for the rest of us. :)
Cheers, mate, shall I leave it until Monday then?
ID: 1697896 · Report as offensive
Profile HAL9000
Volunteer tester
Avatar

Send message
Joined: 11 Sep 99
Posts: 6534
Credit: 196,805,888
RAC: 57
United States
Message 1697909 - Posted: 2 Jul 2015, 22:49:21 UTC - in response to Message 1697896.  

It's fine. There is no rush. It leaves a bit of work for the rest of us. :)
Cheers, mate, shall I leave it until Monday then?

Either is fine for me. I left work for the holiday weekend & forgot to flip a few machines on myself.
SETI@home classic workunits: 93,865 CPU time: 863,447 hours
Join the [url=http://tinyurl.com/8y46zvu]BP6/VP6 User Group[
ID: 1697909 · Report as offensive
Profile Woodgie
Avatar

Send message
Joined: 6 Dec 99
Posts: 134
Credit: 89,630,417
RAC: 55
United Kingdom
Message 1698423 - Posted: 4 Jul 2015, 11:11:18 UTC - in response to Message 1697107.  

...In a fit of heat- or svn-frustration-induced fever today I typed the fateful command 'rm -rf *' thinking that I was connected to another computer in another window in another workspace and not in my $HOME directory. :-( By the time I realised that the command was taking longer than it should, and hit Ctrl-C...


Ivan, my friend, you are not the first to do that and I doubt very much you will be the last. I have done the same. On a client's server... Unsurprisingly, that one very nearly cost me my job.

No matter how experienced you get and how much you you think you know, the universe knows more and will sideswipe you with the tiniest of reasons :)

At least it's all easy enough to get back up and running again, if a bit time consuming.
~W

ID: 1698423 · Report as offensive

Message boards : Number crunching : 'rm -rf *' considered harmful


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.