From owner-freebsd-questions@FreeBSD.ORG Mon Aug 11 15:35:37 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 79F9B621 for ; Mon, 11 Aug 2014 15:35:37 +0000 (UTC) Received: from mail.parts-unknown.org (home.parts-unknown.org [50.250.218.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5331E28F7 for ; Mon, 11 Aug 2014 15:35:36 +0000 (UTC) Received: from mail.parts-unknown.org (unknown [127.0.0.1]) by mail.parts-unknown.org (Postfix) with ESMTP id ADEE6598D55B; Mon, 11 Aug 2014 08:35:35 -0700 (PDT) Received: by mail.parts-unknown.org (Postfix, from userid 1001) id 8B4D1598D4B4; Mon, 11 Aug 2014 08:35:35 -0700 (PDT) Date: Mon, 11 Aug 2014 08:35:35 -0700 From: David Benfell To: Polytropon Subject: Re: operation not permitted on entropy file Message-ID: <20140811153535.GA30506@home.parts-unknown.org> References: <20140810070239.GA80734@home.parts-unknown.org> <20140810103119.GA26958@slackbox.erewhon.home> <20140810124433.da498898.freebsd@edvax.de> <20140810224038.GD24036@home.parts-unknown.org> <20140811101822.41851cc7.freebsd@edvax.de> <20140811142707.GA10186@home.parts-unknown.org> <20140811171653.b7c60e58.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HlL+5n6rz5pIUxbD" Content-Disposition: inline In-Reply-To: <20140811171653.b7c60e58.freebsd@edvax.de> User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Scanned: ClamAV using ClamSMTP on home.parts-unknown.org Cc: Adam Vande More , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2014 15:35:37 -0000 --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 11, 2014 at 05:16:53PM +0200, Polytropon wrote: > On Mon, 11 Aug 2014 09:52:00 -0500, Adam Vande More wrote: > > Try fsck'ing a nearly full TB FS on a production box that has had a dir= ty > > unmount and you will begin to appreciate the adventure a bit more. >=20 > I prefer appreciating my precious data. :-) >=20 On my system, it's a 2TB disk. > > > And if I don't have > > > soft updates by default, then why are they being reported by fsck? > >=20 > > This statement doesn't make sense. Can you post the output you're seei= ng > > along with the mount options in play? Ummm, how could I post this output? In single user, read-only mode, I don't think it got logged anywhere. I didn't take a picture. But I saw lots of messages referring to "unexpected SU+J inconsistencies." I remember the abbreviation sequence because I didn't know what it stood for (and still don't understand 'soft updates'). >=20 > Having _no_ soft updates is probably only true for / when the > traditional partitioned layout has been chosen in the installer > (that is, for sysinstall; I don't know bsdinstall's defaults > from my memory). All other partitions are usually initialized > with soft updates enabled. Okay, this part I'm not remembering. It was FreeBSD 10/stable I was installing (I made a disk with my notebook). I don't know if it was sysinstall or bsdinstall. >=20 > Here's an example (restricted to disks): >=20 > % mount > /dev/ad4s1a on / (ufs, local) > /dev/ad4s1d on /tmp (ufs, local, soft-updates) > /dev/ad4s1e on /var (ufs, local, soft-updates) > /dev/ad4s1f on /usr (ufs, local, soft-updates) > /dev/ad4s1g on /opt (ufs, local, soft-updates) > /dev/ad6 on /home (ufs, local, soft-updates) >=20 Mine: home# mount /dev/ada0p3 on / (ufs, local, journaled soft-updates) devfs on /dev (devfs, local, multilabel) linprocfs on /usr/compat/linux/proc (linprocfs, local) I had understood you to say that neither journaling nor soft-updates were the default for the / partition. I'm not remembering if they were presented as options in the install or if I selected those options. (This isn't stuff I ordinarily think much about.) > As you can see, only / doesn't have soft updates enabled. This > is the choice I made in sysinstall (FreeBSD 8 here) when the > disk was new. If the the installation program presents the options, there's a possibility I ticked the selection. I don't remember. > > > And for reference, I notice that journaling decisions need to be made > > > *prior* to creating the filesystem. > >=20 > > Journaling decisions can be made basically at anytime the FS isn't moun= ted > > or mounted ro using tunefs(1). Ah. Okay. I was only looking at the gjournal man page. > The safest way to change those settings is to enter single user > mode and use tunefs on the unmounted partitions. --=20 David Benfell See https://parts-unknown.org/node/2 if you don't understand the attachment. --HlL+5n6rz5pIUxbD Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJT6OLHAAoJEBV64x4SNmArL28P/1+LY1irfPm74aZVGVygvWsD QbUCdf31R6YVGZWa1Nib3l8P5QAdWFGd9R4YkSe0m2CVL+N5UfYmqkVtX1yMYnAA NmZLavOfJyXbsL+yG3i1jSa1mJ3pXTIUD3VCqY50vfrm98dfHqG4Alq4sWFtwxO6 dXOyIkJ19cwa4F9qRljXdxXstAmohMQXxOpdY8xsHuv8yLfSLa6rFrtXp7Qt4beN BiJYUM6ZSBeifAjK9DoCc033rjs0XN99Vp13cYscKTyMDyrWLAbJst4EXJfPFJza nZsO5IpETlqRUf1s2WcYcrZEc8f6xhMum3NukGiH9oDnlFOGLMHK2++0KjKAdE2V fHOI9MpuwoYqjgUxDnq4Vy5QPZ4NiWrxf6jfHFUDXgYwgA+q3076TURcyqP233/3 PtXvZC7lz8EZFWcpMC+5BPMmfOwUotZM5A/7y/Xhd9d3jkP6/b0HvtgelXQlU9Vc hMb7rzArRdwo3F8qvlYTvwlNEEbMST903nVrjS/mgd2j2uxbHkSihDU2CBZ/a98X ZOaUZQj12vR/56JgMr41UWdwx7XW+qUudeGh/9fcVpvl1tF8OKS9SZf79qLJVx02 +h6GRd4NgFpLdlU8CaRf+WnJFbdX5rHtI36hGatpMTk1/Qxl/1Y4V7PjdIX8CZZG S8i0Xs6Rh+zt+LlRXPBU =T5mN -----END PGP SIGNATURE----- --HlL+5n6rz5pIUxbD--