From owner-freebsd-questions@FreeBSD.ORG Wed Sep 10 20:37:26 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 227599F0 for ; Wed, 10 Sep 2014 20:37:26 +0000 (UTC) Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE62E9BF for ; Wed, 10 Sep 2014 20:37:25 +0000 (UTC) Received: from slackbox.erewhon.home (slackbox.xs4all.nl [83.162.243.5]) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id s8AKbMkU072023; Wed, 10 Sep 2014 22:37:22 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.home (Postfix, from userid 1001) id 4C2D512426; Wed, 10 Sep 2014 22:37:22 +0200 (CEST) Date: Wed, 10 Sep 2014 22:37:22 +0200 From: Roland Smith To: "O. Hartmann" Subject: Re: S + J for /tmp and /var and /? Message-ID: <20140910203722.GB20274@slackbox.erewhon.home> Mail-Followup-To: "O. Hartmann" , FreeBSD Questions References: <20140910090947.4941336b.ohartman@zedat.fu-berlin.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eAbsdosE1cNLO4uF" Content-Disposition: inline In-Reply-To: <20140910090947.4941336b.ohartman@zedat.fu-berlin.de> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2014 20:37:26 -0000 --eAbsdosE1cNLO4uF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 10, 2014 at 09:09:47AM +0200, O. Hartmann wrote: >=20 > On a CURRENT 11.0 box (most recent version) I run into problems when rebo= oting 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 u= p at the console > complaining about unclean /tmp filesystem (bot systems do have a GPT layo= ut and UFS/FFS > filesystem for the OS/base system). >=20 > On "/" and "/tmp" as well as "/var" I have enabled soft-updates and journ= aling (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 pr= oblem or not. >=20 > Box number one (first box I mentioned above) is a gateway system, operati= ng with PPPoE and > this seems to make problems when crashing (power loss) or "reboot"-ing th= e box (normal > "shutdown -r now" works fine). Disabling the PPPoE facility makes the sys= tem 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 us= ing shutdown(8). I tend to only use reboot in single-user mode, which also does= n't give any problems. > Are there any suggestions for UFS/FFS regarding S+J were to enable and we= re better not to > eanble? You should definitely disable journaling when you want to make snapshots, e= =2Eg. 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 --=20 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) --eAbsdosE1cNLO4uF Content-Type: application/pgp-signature -----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----- --eAbsdosE1cNLO4uF--