Filesystem errors !! How to fix ???

Thilo Six T.Six at gmx.de
Sun Apr 30 02:52:01 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Reon Toerien wrote the following on 28.04.2006 10:11:
> Ok, I edited the fstab file to mount /dev/sdb10 as ext2. So far I have
> had no problems which is great news.
> 
> Now I just need to figure out how to move or delete the journal and put
> it back.
> 
> Will keep you all posted
> 
> Thanks
> Reon

<snip>

For this you *must* unmount it. Then:

re-indexing the directory structure if it's unmounted
$ sudo /sbin/e2fsck -Dy /dev/hdXY


checking the current settings of the partition using tune2fs:
$ sudo tune2fs -l /dev/hdXY


force check:
$ sudo e2fsck -f /dev/hdXY


And also check your Output from sudo sfdisk -lV /dev/sdb.

Device Boot     Start   End   #cyls    #blocks   Id  System
/dev/sdb1          0+  19456   19457- 156288321    f  W95 Ext'd (LBA)
[...]
/dev/sdb10      6708+  19456   12749- 102406311   83  Linux

                        ^^^^ These are the same.


Here is mine:
# LANG=C sudo sfdisk -lV /dev/hda

Disk /dev/hda: 39761 cylinders, 16 heads, 63 sectors/track
Units = cylinders of 516096 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/hda1   *      0+    194     195-     98248+  83  Linux
/dev/hda2        195   10463   10269    5175576   83  Linux
/dev/hda3      10464   12694    2231    1124424   82  Linux swap / Solaris
/dev/hda4      12695   39760   27066   13641264    5  Extended
/dev/hda5      22384+  26352    3969-   2000344+  83  Linux
/dev/hda6      26353+  34197    7845-   3953848+  83  Linux
/dev/hda7      34198+  39760    5563-   2803720+  83  Linux
/dev/hda8      12695+  22383    9689-   4883193   83  Linux


HTH Thilo
- --
i am on Ubuntu 2.6 KDE
- - some friend of mine

gpg key: Ox4A411E09

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEVCZOgkdHiUpBHgkRAwUlAKDOlpK1o9uCIYZIl2G5oubAU0n67wCgn0P4
uaZrLopHzbY+aPLG4S8YoUE=
=1C8t
-----END PGP SIGNATURE-----





More information about the ubuntu-users mailing list