Date: Wed, 10 Sep 2014 22:37:22 +0200 From: Roland Smith <rsmith@xs4all.nl> To: "O. Hartmann" <ohartman@zedat.fu-berlin.de> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: S + J for /tmp and /var and /? Message-ID: <20140910203722.GB20274@slackbox.erewhon.home> In-Reply-To: <20140910090947.4941336b.ohartman@zedat.fu-berlin.de> References: <20140910090947.4941336b.ohartman@zedat.fu-berlin.de>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Wed, Sep 10, 2014 at 09:09:47AM +0200, O. Hartmann wrote: > > On a CURRENT 11.0 box (most recent version) I run into problems when rebooting the system > via "reboot" command. In most cases, the system restarts with a cot clean dismounted "/" > root filesystem. Another box, also most recent CURRENT, very offen ends up at the console > complaining about unclean /tmp filesystem (bot systems do have a GPT layout and UFS/FFS > filesystem for the OS/base system). > > On "/" and "/tmp" as well as "/var" I have enabled soft-updates and journaling (S + J). > I'd like to ask what the official FreeBSD recommendation would be to that matter. I have > disabled for now journaling, looking whether it will help to solve the problem or not. > > Box number one (first box I mentioned above) is a gateway system, operating with PPPoE and > this seems to make problems when crashing (power loss) or "reboot"-ing the box (normal > "shutdown -r now" works fine). Disabling the PPPoE facility makes the system more robust > against power failure/reboot "rougeness". Just as a data-point, I don't have a problem on 10-STABLE with SU+J when using shutdown(8). I tend to only use reboot in single-user mode, which also doesn't give any problems. > Are there any suggestions for UFS/FFS regarding S+J were to enable and were better not to > eanble? You should definitely disable journaling when you want to make snapshots, e.g. to dump a live filesystem. Quote https://wiki.freebsd.org/NewFAQs: If you want to use snapshot (dump -L) then disable the soft updates journal for that filesystem Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 5753 3324 1661 B0FE 8D93 FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0) [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJUELaCAAoJEED21dyjijPgNxUP/jXFOfTNs63hoUscSYZ5ZXQH Y9mtNrVK4/vcYWtmAqIlSUOADlnyFuHPV0+1fivjs27wBdjCRFpFO/nt01G0PO7t 99N6Cryuj6ylCDoa+C7GMYH+HJWmd6XcGv1dhYN4lRrFJZWd2v1IYpeUYXSFb34Y 4PUGubaHkw4rcJge/8fu9t+eY46u0IpN1Cyq/NS/Rmvt7zHIMHQcOLMRHpOhi1qN wncHzqRQNSROAXUqaIoLa8skuD6dnIK39/LFKQdbVOtJd53cff7zzbvLQZRXD4Me yHCbVrYfpSuJwHogEPAVGAlwnLhWEhZkgJuRpvWfm29LZszCLfT+Z0E7AJAMIYb9 yQpCOD9U03wpOeO0dW2q9ViTvD1VMK0JOzVI6ckCvAiEjhFaZkcQ/AogqRupoyVW I0mdmJnKgRwSwMuRRpIDbox5l/LhxUNv4VeMa1u4Qz3tV10KHT2zvjq2VZCvsPyf iN5V22y2jNOvu12NZl85hjyukZwnP9O3hcNpytGaQagddkeejNKtOlHaqhzLfzuU V1QALldroywD+VVvTxdiKDXmOvg5qKPBKEMgJIN4/B2I26gvMsrU3IwQyQsfAMzx UYVLbx6ZnFURY1XoolwZwPzuW4dmhvPU0ASEqP9RpdrS5fh+1uaQ0jurPRAV9BzQ r+LAPYoujwFPV/j2/oXD =4z+w -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140910203722.GB20274>
