View Single Post

   
  #5 (permalink)  
Old 01-19-2008, 08:40 AM
Ant
 
Posts: n/a
Default Re: Accidently ran fsck on a mounted HDD and made problems! What to do?

In comp.os.linux.misc The Natural Philosopher <a@b.c> wrote:
> Ant wrote:
> > Hello.
> >
> > I did something stupid earlier. I accidently ran fsck command on a
> > mounted HDD in Debian. I quickly ctrl-c'ed to get out of it. Now, I am
> > having HDD problems and I can't seem to recover/undo what I did. I
> > rebooted and my box didn't come back (can't check the box since I am at
> > work and doing it via SSH).
> >
> > dmesg showed this after I before I rebooted it remotely with shutdown -r
> > now at: http://pastebin.ca/672751
> >
> > Then, I decided to reboot and nothing came back (can't SSH back in). I
> > think it got stuck somewhere? If it indeed stuck, how do I fix this
> > after I get home to see the console?
> >
> > Thank you in advance.


> You should have let it run...


Leave it running while mounted? Isn't fscking while mounted bad?


> get a spare disk, boot from CD and dd the disk off...then fsck the old disk.
> Chances are it will recover, or you wil be able to patch most of it.


OK. I am going to use KNOPPIX 4.1 CD and fsck both /dev/hda and /dev/hdb
(two HDDs).
--
"He who cannot pick up an ant, and wants to pick up an elephant will
some day see his folly." --African
/\___/\
/ /\ /\ \ Ant @ http://antfarm.ma.cx (Personal Web Site)
| |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
\ _ / Please remove ANT if replying by e-mail.
( )
Reply With Quote