You are not logged in.

#1 2010-06-08 16:19:59

filam
Wiki Maintainer
From: Portland, ME
Registered: 2008-04-11
Posts: 158
Website

Corrupt ext4 Directory

I have an external ext4 hard drive containing files (including numerous Arch Linux torrents), which is connected to a server. I recently switched from a reliable LaCie drive to a larger capacity external Maxtor HD. This morning I came across the following:

[root@lotte usb] ls -al
total 130364685329979
drwxr-xr-x     7 filam filam  4096 Jun  5 13:36 .
drwxr-xr-x     6 root  root   4096 Jun  8 10:47 ..
drwxr-xr-x     7 filam filam  4096 Jun  8 00:03 done
drwxrwxrwx     2 filam filam 16384 Mar 21 19:22 lost+found
cr-Srwxr-t 51589 35052 19468 0, 56 Jul  9  1995 seed
drwxr-xr-x     2 filam filam 12288 Jun  8 11:21 .session
drwxr-xr-x     2 filam filam 12288 Jun  8 00:39 trrnt

The "seed" directory on the external HD seems to be corrupted. The partition mounts normally and the other directories are normal. file indicates that the "seed" file is "setuid sticky character special", rather than a normal directory.

Googling brought up a lot of information about corrupt partitions rather than directories. I have never come across something like this. du -h of /seed tells me that the file is "119P", which is impossibly large. This is also evident in the code above.

Even if the data is not recoverable I would at least like to understand what happened, perhaps how to prevent it and what the best approach going forward is.

edit: Thank you in advance for any help you can provide.

Last edited by filam (2010-06-08 16:20:49)

Offline

Board footer

Powered by FluxBB