gjournaled UFS2 filesystem is gone after power outage

Fluffles etc at fluffles.net
Fri Nov 10 09:56:02 UTC 2006


Andrei Kolu wrote:
> My /etc/fstab contents:
> /dev/ad0s4.journal      /mnt/ad0s4              ufs     rw,noauto       0   0
>   

The noauto option means that it won't be mounted at boot time. The two
zeroes behind that, means that it won't be checked by FSCK. If you had
an unclean shutdown and you want to mount the journaled volume again,
you will need to fsck it manually with "fsck -t ufs /dev/ad0s4.journal",
and then mount it. If you'd like to the fscking automatically, change
the two "0" to two "2", like this:

/dev/ad0s4.journal      /mnt/ad0s4              ufs     rw,noauto       2   2


- Veronica


More information about the freebsd-geom mailing list