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

Re: journal corrupted on / filesystem



Hi,
Yes it did not work on a live system, you need to reboot it, after the procedure you must reboot.

For the record what I did was:

Mark the filesystem as it does not have a journal (take it to ext2)

tune2fs -O ^has_journal /dev/cciss/c0d0p2

fsck it to delete the journal:

e2fsck /dev/cciss/c0d0p2

Create the journal (take it back to ext3)

tune2fs -j /dev/cciss/c0d0p2

and finaly, remount it. On a live system, just reboot it.

Thank you all,
Jordi


Andreas Dilger wrote:
On Jul 03, 2007  15:01 -0500, tweeks wrote:
On Tuesday 03 July 2007 02:31, Jordi Prats wrote:
I'm getting this errors on the / filesystem:
[...]
I supose I should remove the journal (get it back to ext2) and recreate
it (tune2fs -j /dev/...) It's possible to do it without rebooting it?
It's no problem to turn it to read-only (it already is on that mode)
Whitch command I should do to achive his?
Just remount as ext2:

# mount -t ext2 -o remount /

Won't work.

You need to unmount the filesystem at least, at which point recreating
the journal with tune2fs is easy.

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.

_______________________________________________
Ext3-users mailing list
Ext3-users redhat com
https://www.redhat.com/mailman/listinfo/ext3-users




--
......................................................................
        __
       / /          Jordi Prats
 C E / S / C A      Dept. de Sistemes
     /_/            Centre de Supercomputació de Catalunya

 Gran Capità, 2-4 (Edifici Nexus) · 08034 Barcelona
 T. 93 205 6464 · F.  93 205 6979 · jprats cesca es
......................................................................
[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]