Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ext3 filesystem borked?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ZeNTuRe
n00b
n00b


Joined: 24 Jan 2004
Posts: 69

PostPosted: Sat Oct 16, 2004 7:15 pm    Post subject: ext3 filesystem borked? Reply with quote

Recently I couldn't mount my /home partition.
Code:
mount: wrong fs type, bad option, bad superblock on /dev/hda4, or too many mounted file systems


I did e2fsck:

Code:
amsterdam root # e2fsck /dev/hda4
e2fsck 1.35 (28-Feb-2004)
Group descriptors look bad... trying backup blocks...
Inode table for group 892 is not in group.  (block 18583)
WARNING: SEVERE DATA LOSS POSSIBLE.
Relocate<y>?


If I choose yes, e2fsck makes pass1, and restarts it once and again, never stops. The error isn't fixed. If I choose no, e2fsck starts scanning the filesystem until last pass, when I get:

Code:


SNIP...

Free blocks count wrong for group #6 (0, counted=32254).
Fix<y>? yes

Free blocks count wrong for group #7 (0, counted=32246).
Fix<y>? yes

Free blocks count wrong for group #8 (0, counted=32254).
Fix<y>? yes

Free blocks count wrong for group #9 (0, counted=15949).
Fix<y>?

SNIP...


No matter what I answer, in later runs I get exactly the same errors and the filesystem remains unmountable.


Is there anything I can do, if not to save the filesystem, to save any file inside it?
_________________
Did they touch God or did they touch the Sun?
Back to top
View user's profile Send private message
jmz2
Guru
Guru


Joined: 13 Jan 2004
Posts: 421
Location: Finland

PostPosted: Sat Oct 16, 2004 9:25 pm    Post subject: Reply with quote

You did not have yournaling enabled? There are some recovery tools like e2retrieve. Give it a try.
Back to top
View user's profile Send private message
ZeNTuRe
n00b
n00b


Joined: 24 Jan 2004
Posts: 69

PostPosted: Sun Oct 17, 2004 7:04 am    Post subject: Reply with quote

I'm trying e2salvage, but it is sloooooooooow. What about e2retrieve?

Edit:

Also slow, README says.
_________________
Did they touch God or did they touch the Sun?
Back to top
View user's profile Send private message
jmz2
Guru
Guru


Joined: 13 Jan 2004
Posts: 421
Location: Finland

PostPosted: Sun Oct 17, 2004 5:16 pm    Post subject: Reply with quote

If it was fast, it woudl be a feature in the filesystem itself. The closest you can get is journaling, but that's not quite the same thing.
Back to top
View user's profile Send private message
ZeNTuRe
n00b
n00b


Joined: 24 Jan 2004
Posts: 69

PostPosted: Sun Oct 17, 2004 7:46 pm    Post subject: Reply with quote

I extracted almost everything from my disk, half of it mantaining directory structure, half of it bound to lost+found.

The program I used is e2extract, tricky to set up, but very, very effective.
_________________
Did they touch God or did they touch the Sun?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sun Oct 17, 2004 11:57 pm    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
awaite5
n00b
n00b


Joined: 04 Apr 2005
Posts: 1

PostPosted: Mon Apr 04, 2005 7:09 pm    Post subject: Help with e2extract Reply with quote

ZeNTuRe wrote:
I extracted almost everything from my disk, half of it mantaining directory structure, half of it bound to lost+found.

The program I used is e2extract, tricky to set up, but very, very effective.


I am trying to use this toolset and am finding it "tricky" as well. (And hoping to find it very, very effective as well)

Specifically, just trying to get past the first step, I ran stat_inodes against the raw device and each line reports:
Code:
<NODE> - n - 0 bytes, 1 related, age ,  links - ASCII text


Did you configure anything in that file beyond the following?
Code:
$device = "/dev/<device>";


Thanks for your help.

A
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum