LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-30-2004, 07:53 PM   #1
Davus
Member
 
Registered: Jul 2004
Location: Mesquite, Texas
Distribution: currently retired
Posts: 31

Rep: Reputation: 15
... Oh God.


I typed mkswap /dev/hda1 intending to mkswap /dev/hda2 ... Am I screwed now?

-irc.kidindustries.net- *** Global -- from services.kidindustries.net: Can't write to NickServ database nick.db
-
-irc.kidindustries.net- *** Notice -- Davus is rehashing server config file
-
unrealircd.conf Rehashing
-
-irc.kidindustries.net- *** Notice -- Loading IRCd configuration ..
-
-irc.kidindustries.net- *** Notice -- error: Unable to create file 'tmp/E97CED5D.commands.so': Input/output error
-
-irc.kidindustries.net- *** Notice -- unrealircd.conf:32: loadmodule src/modules/commands.so: failed to load: tmp/E97CED5D.commands.so: cannot open shared object file: No such file or directory
-
-irc.kidindustries.net- *** Notice -- error: IRCd configuration failed to load
-

IRC says yes... Server's still up, so to prevent potential failure, uh, what shall I do? :$
(At least I've never /dev/null > /bin/login ...)
 
Old 11-30-2004, 08:13 PM   #2
Optimistic
Member
 
Registered: Jun 2004
Location: Germany
Distribution: Debian (testing)
Posts: 276

Rep: Reputation: 33
Unmount that drive ASAP (I'll assume you already did). Hopefully, you can mount it to a directory and see if your data is still there. If your data is not there, you might be screwed.
 
Old 11-30-2004, 09:13 PM   #3
Davus
Member
 
Registered: Jul 2004
Location: Mesquite, Texas
Distribution: currently retired
Posts: 31

Original Poster
Rep: Reputation: 15
Amazing how much of a flick of the wrist going the wrong way as root can completely mess a server. Any way to just bust in the emergrency disk and convert the partition back to ext2?

(Server offline until then.)

Last edited by Davus; 11-30-2004 at 09:16 PM.
 
Old 11-30-2004, 10:35 PM   #4
black hole sun
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 127

Rep: Reputation: 15
Quote:
Originally posted by Davus
Amazing how much of a flick of the wrist going the wrong way as root can completely mess a server. Any way to just bust in the emergrency disk and convert the partition back to ext2?

(Server offline until then.)
No that will really screw you, formatting with an FS deletes everything on the partition. I really doubt you have anything left after the mkswap
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
My God! How to?!? cthinh Linux - Newbie 3 07-04-2005 10:11 PM
Thank god please help! Prometheuz Linux - Newbie 25 06-28-2005 10:56 PM
Oh My God! What Did I Do?!?! goosie Mandriva 6 06-27-2005 06:53 AM
I had seen GOD! abimanyu007 Linare 2 09-29-2004 12:34 PM
Oh My God...What have i done?! Abe_the_Man Linux - General 9 10-21-2003 11:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:39 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