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

Re: A few quick questions regarding the journal.



On Fri, Jul 13, 2001 at 11:47:04AM +1000, Andrew Morton wrote:
>
> It needs to be performed on a read-only or unmounted
> fs. After that, fsck will clean everything up.
> 
> I had a nasty situation a while back doing this on the root
> filesystem.  Booted the kernel with the `init=/bin/sh' LILO
> option, then ran tune2fs as above, then rebooted.  Then, ext3
> refused to mount root because it didn't have the journal flag
> and ext2 refused to mount root because of 'unsupported features'.
> Stuck.
> 
> I'm not really sure how this happened but I'm fairly sure I can repeat
> it.  The lesson is: when clearing `has_journal' on the root fs,
> be sure to run e2fsck-1.22 in the same session and type `sync' a lot
> before rebooting.

Well, tune2fs *does* say to run e2fsck immediately afterwards..... 

						- Ted





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