Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Mar 2015 18:47:07 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        George Rosamond <george@ceetonetechnology.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: disabling journaling?
Message-ID:  <FDE574ED-732B-4E0A-991B-470EE53FFAC7@bsdimp.com>
In-Reply-To: <54F5113E.9020405@ceetonetechnology.com>
References:  <54F5102A.10906@ceetonetechnology.com> <54F5113E.9020405@ceetonetechnology.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_B9AFD5B9-02C8-4018-BCB8-55388E87D6FB
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On Mar 2, 2015, at 6:41 PM, George Rosamond =
<george@ceetonetechnology.com> wrote:
>=20
> George Rosamond:
>> Ian mentioned softupdates + journaling is a problem.
>>=20
>> https://marc.info/?l=3Dfreebsd-arm&m=3D142526289401012&w=3D2
>>=20
>>> IMO, there's your problem right there.  People have been reporting =
for
>>> years that softupdates + journaling =3D corruption.  The freebsd =
project's
>>> collective response to all those reports has been a rather silent =
yawn.
>>> The only sane response, IMO, is to not use journaling.
>>=20
>> Should crochet be adjusted for it in lib/disk.sh?
>>=20
>>    # Turn on Softupdates
>>    tunefs -n enable ${NEW_UFS_DEVICE}
>>    # Turn on SUJ with a minimally-sized journal.
>>    # This makes reboots tolerable if you just pull power
>>    # Note:  A slow SDHC reads about 1MB/s, so a 30MB
>>    # journal can delay boot by 30s.
>>    tunefs -j enable -S 4194304 ${NEW_UFS_DEVICE}
>>    # Turn on NFSv4 ACLs
>>    tunefs -N enable ${NEW_UFS_DEVICE}
>>=20
>> I assume journaling should go first. Besides in build scripts, don't
>> know how this would be done a system for the root partition when you
>> can't go into single-user mode.
>=20
> Let me qualify that.  Should journaling be disabled by default on =
flash
> media?  This wouldn't necessarily apply to all Crochet builds.

Media type shouldn=E2=80=99t matter. If there=E2=80=99s bugs, there=E2=80=99=
s bugs.

Warner

--Apple-Mail=_B9AFD5B9-02C8-4018-BCB8-55388E87D6FB
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJU9RKcAAoJEGwc0Sh9sBEAcisP/0C/nrtkDdwy5j2Y7OASsXdr
dhBHt3PnQvq6mt4y1bv3zPz0Wt9ZNueiaQepy5nF2/3J6OrlSkrfmKBhQB/3F1US
Kcj9KcbDGvKBAZeq8QKeHMYbzrYAfGFrhQxOx1gVDCAbs1uSk5iAaBc2FfrAVS3s
3vDDd9GDBlYRv5EygT8JxfieMz9M3pYA/Bl8ltLhEZWyMIDa+v9yinjrsnZ72cFO
gScREYFedqjTYdYwvtXmE4Y0UtVr/+Dwb3dJa6Va2qgSRBVy28k0lrSpJPsMqVwg
4Ick9KejAxIuLNjV0tPuaB2YxkX4AvLG4MAGE59PVQYXc4iYRUgJo4+P6rRnhGHQ
JlvnIAeVEzi220vsJiwcABMOM2uZbLFvH8Mx55kng1DwY1TXwWVDr8a/esPaaAtz
RWJRtqnd3qBvbra7x74FZT+e+UzpWoHzIgQnp2QfqbTQyLLI82EHFuwyhwcYPzPA
MjNib+dogsfGPfcvw97xdkzg8ko7yP5qJUlqecdlaEInYfpHBmZ2FeT2Yicg39PV
cgVBezvbLB/Jk+VikzZOkmTI5ojar3m+xH3c+AX1HkJOLa7vjb6rZoZtY/v8n1Mt
5s+B6qAzu5vvLA6emoJsOFy2ooW3E7FbjaU2HB6ZwpiUH1xyzAxACNXxqzf+H0CK
8FVk+Lk20tDHWPe4m/sb
=ADAo
-----END PGP SIGNATURE-----

--Apple-Mail=_B9AFD5B9-02C8-4018-BCB8-55388E87D6FB--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FDE574ED-732B-4E0A-991B-470EE53FFAC7>