[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: e2fsck says it fixed corruption, but it didn't



Michael Shiloh <michaels@wrs.com> wrote:

>  I have a corrupted superblock.

Have you tried comp.os.linux.sex.reabilitation? :)

>  So I log in as root and run e2fsck using a spare superblcok:

Have you tried running e2fsck with the default superblock manually?

>  e2fsck -b 8193 /dev/sdb2

>  So then I shutdown and reboot, thinking I've solved the 
>  problem, but NO! When I reboot, I get exactly the same problem. 

Why does it check the file system *at all* after a clean reboot?!

>  So my question is, how come e2fsck says it fixed my problem,
>  but it seems to not have?

What if you run e2fsck again immediately after it's finished fixing the
partition?

>  
>  Here is my /etc/fstab, in case this is useful:
>  
>  /dev/sdb1   swap    swap     defaults   1   1
>  /dev/sda1   /       ext2     defaults   1   1
>  none        /proc   proc     defaults   1   1
>  /dev/sdb2   /u1     ext2     defaults   1   1

It should look like

/dev/sdb1   swap    swap     defaults   0   0
/dev/sda1   /       ext2     defaults   1   1
none        /proc   proc     defaults   0   0
/dev/sdb2   /u1     ext2     defaults   1   2

(BTW, when you swap the disks, you don't forget to adjust SCSI termination
accordingly, do you?)

Regards,

Evgeny


--
   ____________________________________________________________
  / Evgeny Stambulchik  <fnevgeny@plasma-gate.weizmann.ac.il>  \
 /  Plasma Laboratory, Weizmann Institute of Science, Israel \  \
 |  Phone : (972)8-934-3610  == | == FAX   : (972)8-934-3491 |  |
 |  URL   :    http://plasma-gate.weizmann.ac.il/~fnevgeny/  |  |
 |  Finger for PGP key >=====================================+  | 
 |______________________________________________________________|