lkml.org 
[lkml]   [1998]   [Dec]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subjectext2fs corruption and how to fix it?
    Hi!

    I resently resized my root partition with partitionmagic, which was
    obviously a mistake. It reported success but afterwards e2fsck
    reported hundreds of errors on that partition, bad/duplicate blocks
    mostly. I now have ~3000 files in lost+found, presumably the new
    inodes created from enlarging the partition since they are all in the
    upper range, 1.4-1.5 million (the partition is ~6 gig). Fsck reports
    the same bad/duplicate block errors each time run and doesn't fix
    it. The errors concern the files in /lost+found, all files previously
    on the partition seems intact since my system is up and running fine.

    I think there is no hardware error involved as this is a disk that has
    held my root partition without problems for almost a year. The kernel
    is 2.1.132.

    The files look like

    ...
    srwxrwxrwt 1 9429 45341 4294967295 Jun 25 1997 #1501217=
    s-wx-wsrwT 1 60966 27605 4294967295 Sep 18 1926 #1501223=
    brwsrwS-wT 1 27821 33357 217, 125 May 20 2004 #1501228
    p--s-w-r-x 1 10685 44497 0 Oct 26 2037 #1501231|
    c--s-wsr-- 1 27976 24879 224, 163 Nov 26 2002 #1501251
    c--xrwsrwx 1 62773 39189 225, 72 Mar 8 2037 #1501258
    srwsrwSr-t 1 28619 4324 4294967295 Jul 24 2002 #1501267=
    prwxrw---t 1 48420 23469 0 Sep 12 1914 #1501269|
    s------rwt 1 47204 38392 4294967295 Mar 12 1983 #1501271=
    p-w--wsrwx 1 46125 49744 0 Jan 9 1922 #1501274|
    sr-x-----x 1 32674 10093 4294967295 Aug 25 1934 #1501308=
    srw-r-xr-t 1 13501 2885 4294967295 Sep 23 1952 #1501316=
    p--Srwsrw- 1 48469 50093 0 Feb 16 2037 #1501324|
    b-wx-wSr-T 1 61906 60067 205, 237 Apr 14 1903 #1501331
    b-w-r-xrwt 1 31210 11133 243, 225 Sep 15 1995 #1501337
    sr----srwT 1 15367 9915 4294967295 Mar 31 1904 #1501348=
    s-w--ws-wT 1 27498 41226 4294967295 Nov 2 1986 #1501356=
    ...

    etc.

    There are a few directories and when trying to remove them I get a
    kernel panic about directories with holes in them. The files listed
    above are also unremvoable (Operation not permitted/File to large).

    If I have left out important information, tell me. How do I go about
    getting rid of these files. I have done a chattr -i * in /lost+found
    but since mose of the files are special that didn't fo any good.

    --
    Jakob Borg <jborg@df.lth.se> Debian GNU/Linux slink, kernel 2.1.132

    N 58° 21' 11.58" ICQ: 17591916
    E 13° 50' 10.03" PGP: 0x9BC6E569
    URL: http://www.df.lth.se/~jborg/
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2005-03-22 13:46    [W:0.025 / U:120.376 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site