gjournal failing to do its job

Bartosz Fabianowski freebsd at chillt.de
Wed Mar 17 18:49:27 UTC 2010


> File system should be placed directly on .journal provider.

I have recreated all file systems, each on its own journal provider. And 
gjournal *still* fails to do it job:

On a normal boot, all journal providers come up as "clean". If the 
system hangs and has to be force-rebooted, the journal providers report 
"consistent" during boot. However, the system still complains that / has 
not been unmounted cleanly. While it only complains about /, all other 
file systems are actually not clean either.

I can return to a consistent state by running fsck on each file system 
and fixing the (numerous) errors it reports. But this surely cannot be 
how journaling is supposed to work...

Am I doing something wrong here? I cannot see what. Each file system is 
UFS2, created directly on its own gjournal provider and with journaling 
flag set.

- Bartosz


More information about the freebsd-geom mailing list