LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 10-05-2007, 02:24 AM   #1
PeterHK
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Rep: Reputation: 0
External WD500 (ext2 or ext3, Suse 10.2) 'no longer formatted' after hard reset


Hi there. Hope someone can help me.

I have a problem with an external harddisk, a USB MyBook WD500.

Here's the setup of my system (a bit messy but I like to experiment and I usually don't have enough time to clean up after myself, bad programmer's habbit).

-internal HD: WinXP professional
-second interal HD: Suse Linux 10.2
-external WD500 (formatted as ext2 or ext3, I'm not sure), also Suse Linux 10.2

There's a GRUB boot menu allowing me to boot these 3 OS. This means the WD500 external HD has to be connected and online to be able to boot GRUB (= to be able to boot at all), a bit clumsy but OK, the system works.

I access the WD500 ext2/3 disk from WinXP using an ISF driver, works perfectly...

until this morning...

Half asleep, I booted the external HD's Linux. Then I realised I actually wanted to boot WinXP to do some stuff there. Then I did the most stupid thing one can do (but hey, I was half asleep), I hit the RESET button...

-PC restarted properly, I started WinXP this time. Then I tried to access the WD500 external HD, but some folders were 'unavailable' or 'damaged' according to WinXP.

-Then I started Linux from the second internal HD. Same thing happened, this time the folders that WinXP says are 'damaged' simply did not appear.

-Then I restarted WinXP and tried to access the external HD, but this time WinXP told me the HD isn't even formatted...

-There was no time (meetings at work...) to reboot and start Linux from the external HD (which is what I should have done in the first place I guess)...

Does anyone know what went wrong here? I guess me hitting the RESET button caused the ext2/3 filesystem to become corrupted?

Is there anything I can do about this? Some Linux tool that rebuilds the FAT-tables or file system tables or whatever got damaged?

Thank you for your help, much appreciated!

Last edited by PeterHK; 10-05-2007 at 02:26 AM.
 
Old 10-05-2007, 10:33 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
It depends on the filesystem you used.

EXT2 is not a journalizing filesystem, so if you turned the drive off while it was being accessed, there is a good chance that the data is beyond recovery. EXT3 is much better at recovery, and you will probably be alright in that case.

To check the drive you will need to start Linux (from the internal drive) and run fsck on the external. This will go through and repair any filesystem damage it can. In most cases you should have a usable volume after that, but there is no guarantee there at all.
 
Old 10-05-2007, 03:49 PM   #3
PeterHK
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by MS3FGX View Post
It depends on the filesystem you used.

EXT2 is not a journalizing filesystem, so if you turned the drive off while it was being accessed, there is a good chance that the data is beyond recovery. EXT3 is much better at recovery, and you will probably be alright in that case.

To check the drive you will need to start Linux (from the internal drive) and run fsck on the external. This will go through and repair any filesystem damage it can. In most cases you should have a usable volume after that, but there is no guarantee there at all.
Thank you for the reply !!!

The funniest thing happened. I got home after work and booted Linux from the external HD. Got a kernel panic. ...

Then I rebooted WinXP and ... all was fine... all files seemed to be back where they were before...

(oh yea and the filesystem was ext3)
 
  


Reply



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
how to know my current hard disk partition file system ext2,ext3... hocheetiong Linux - Newbie 2 09-09-2007 07:42 AM
Trouble mounting external usb hard drive ufs formatted hexstar Linux - Hardware 1 05-24-2007 04:13 PM
EXT2 -fs warning (device sda1): ext2_fill_super:mounting ext3 filesystem as ext2 snakeo2 Linux - Newbie 6 11-19-2006 07:35 PM
how to mount a external hard drive in ext3 format? kuertensun Linux - Newbie 12 09-06-2005 06:51 PM
formating 120gb external hard drive to ext2 is it possible? enk0d Slackware 3 11-09-2003 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

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