Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2006 10:56:16 +0100
From:      Fluffles <etc@fluffles.net>
To:        Andrei Kolu <antik@bsd.ee>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: gjournaled UFS2 filesystem is gone after power outage
Message-ID:  <45544CC0.4060007@fluffles.net>
In-Reply-To: <200611101127.35700.antik@bsd.ee>
References:  <20061024152308.GG75746@garage.freebsd.pl>	<200611100028.03345.antik@bsd.ee> <4553ACD0.9080405@fluffles.net> <200611101127.35700.antik@bsd.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45544CC0.4060007>