From nobody Wed Jan 14 00:18:06 2026 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4drRXx6PZdz6NtvK for ; Wed, 14 Jan 2026 00:18:25 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4drRXx4SSXz3ZR6 for ; Wed, 14 Jan 2026 00:18:25 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-652fdd043f9so2687529a12.1 for ; Tue, 13 Jan 2026 16:18:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768349899; x=1768954699; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=HCq9NX2eBbS5dC59UlfYQHxsMFewwAx8ifFmcS95xNs=; b=Utk07siQIPlzunKyljJCoL17cGj5iUP73KTcCqkowuSBhMDrziVVxCToNybGifvKkn cE/eQVAwiUbXWpwAT3+lwZefaMI6UX46uFXsyKFB3arR0V2YM74lYozMpJFVYiBtyWeb PZeczPzUyiYDprSErYbQufXKBx4I8vN29Iu4gz2/PeWfG4DeIRYAGSayZzOv8OEH6kWZ dMpH/lATYSZepU3AM3Xx+dnAD0S8o2nmsnLVbkeORQ7nmH4+kXXsrMs3kGVLmnspwZsK RIrnui0bNTXkT0ZMsmDv58796YScFF4A/Q4uVOCqFIUabz/DPJj9xHpbfi6K4q8nq2K0 nQ2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768349899; x=1768954699; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=HCq9NX2eBbS5dC59UlfYQHxsMFewwAx8ifFmcS95xNs=; b=vo7JpDyTUGIMQBEpdhOYI/WZCfAqq7sxeSYqw+aqqFBM4bez23oFxgPpJO7g9vlrT4 MeGDqVrwHdU1aDXwwtYJ1G2dCHZ/ssM3/Ik3wWz/LfpIzlboXLPM+p2w3jJeGpXOfiaI Tz5qa3mWsRMeswqtghMU2SqJ3rik2xZKEP+gijWzln2bJtbMsEMGiqTqGG9ny1duk3r8 YPoACfSvJRkNZ5BfpM7O7HTx8bbBJAEKfRwqR4OjlGVZ84Hln1RpKh6HLa+W32OnjmK8 KhCJJYetOI7YdLjxMg4nXkDfjdieVeeE4MIg6kXRZglArPYjSVOeCU0sD4v9fbXRrzVi pRGA== X-Forwarded-Encrypted: i=1; AJvYcCVp6jkyN6BBHsGTOXYp7nRYZoI/8A0G7nXYwzTkX8BMuzcbHDjouDlIAyQWLc4oYdWeuZtlcQYCuoOqUgW0AI4=@freebsd.org X-Gm-Message-State: AOJu0YwD1XCEFppPLDyYAkjrs6l4Pxi9gGApmZYs4jMOEFziqSKl5Ye3 W0uRtQckEHzOnrrlZY8JevkmunpodaIGUpCX6O2rcRV65jrRhuMSuccI5gbXIK5VTAC6kpGfXzU 8/bx+17i5W6rIdMgHh09Q5zu4MVATgwc6WXQ= X-Gm-Gg: AY/fxX4hceuQmJD2nC4MC/rBZwvbEYE9g7/jyBcY6MfcG1AYNO7lts3mk/nni+EEY82 vR99vTB5xv0aDHhgHTtEQub62KuOST5CVmOlz1cItcWML2dTT0QV8e9uBSdEAP5fLQEz/cAyuTN jWpwsU1pbTHyLx9nRRjE3gKcVUhcuuEy1z2eGagoTvCK0g6q169fn3r1IwhHzIkkVuhwlxEHwYt N5TGDmnjI3d5gXKc4we4iESFoUVDsnTzqq9Zsn3MD6RonAmDuHX9UhVTlyWRocAkW79W1RmaFUJ QbYPSHz1jPy8zWBEPf7vuwybKKY= X-Received: by 2002:a05:6402:5204:b0:649:815e:3fac with SMTP id 4fb4d7f45d1cf-653ee1afb50mr254633a12.23.1768349899117; Tue, 13 Jan 2026 16:18:19 -0800 (PST) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 References: <785b4793-29e7-419e-9713-57c2f99b1d17@yahoo.com> <748e57b4-1fca-4df3-b70f-605eedd4bb8b@yahoo.com> In-Reply-To: <748e57b4-1fca-4df3-b70f-605eedd4bb8b@yahoo.com> From: Rick Macklem Date: Tue, 13 Jan 2026 16:18:06 -0800 X-Gm-Features: AZwV_Qj8RQ3Ol_F81MIjeq7Awhq9Wm0KcF39ZWiXd0BFs0hgDpmcmbYMoH7OOTs Message-ID: Subject: Re: FreeBSD NFSv4.1 client and server - case insensitive filesystems supported? To: Mark Millard Cc: Cedric Blancher , freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4drRXx4SSXz3ZR6 On Tue, Jan 13, 2026 at 3:17=E2=80=AFPM Mark Millard wr= ote: > > On 1/13/26 14:48, Cedric Blancher wrote: > > On Tue, 13 Jan 2026 at 22:41, Mark Millard wrote: > >> > >> On 1/13/26 12:28, Cedric Blancher wrote: > >>> On Mon, 12 Jan 2026 at 23:04, Rick Macklem w= rote: > >>>> > >>>> On Mon, Jan 12, 2026 at 1:56=E2=80=AFPM Rick Macklem wrote: > >>>>> > >>>>> On Mon, Jan 12, 2026 at 11:52=E2=80=AFAM Cedric Blancher > >>>>> wrote: > >>>>>> > >>>>>> Good evening! > >>>>>> > >>>>>> Does the FreeBSD >=3D 14.3 NFSv4.1 client and server support case > >>>>>> insensitive filesystems, e.g. exported ZFS or FAT? > >>>>> Greater than, as in 15.0. > >>>> Oops, that's 15.1-> > >>>> (I looked and it is in stable/15, but not releng/15.0.) > >>>> (I work with main and the stable branches and don't keep track of wh= en the > >>>> releases branch off.) > >>> > >>> OK, version confusion. :) > >>> > >>> What do I have to do as FreeBSD root user to update a FreeBSD 15.0 > >>> installation to a kernel version which supports case-insensitive > >>> filesystems for NFSv4.2 server, i.e. FATTR4_CASE_INSENSITIVE and > >>> FATTR4_CASE_PRESERVING are set according to the features of ZFS? > >>> > >>> Ced > >>> > >>> > >> > >> > >> As I understand what Rick wrote: > >> > >> ) No *.*-RELEASE supports such. (No releng/*.* branch has such code.) > >> > >> ) Modern 15.0-STABLE supports such (stable/15 branch has such code). > >> > >> ) Modern 16.0-CURRENT supports such (main branch has such code). > >> > >> Are you in a situation that allows use of the likes of some commit of, > >> say, 15.0-STABLE ( branch stable/15 )? > >> > >> If you must have a *.*-RELEASE instead, you have to wait for > >> 15.1-RELEASE to be available. > > > > OK, I have to do some outings: I am new to FreeBSD, and worse: I am > > management (sort of rond-de-cuir). > > > > What do I have to do as user root in a FreeBSD 15.0 installation to > > update to 15.0-STABLE to get working FATTR4_CASE_INSENSITIVE and > > FATTR4_CASE_PRESERVING support in FreeBSD NFS server? As Mark noted, you can either wait for the 15.1 release (April, maybe?) or you can set up a system from sources (aka stable/15). To do the latter for a test system (where maintaining it with up-to-date security patches, etc) is pretty straightforward. (To do so while maintaini= ng it will up-to-date security patches, etc, is outside my wheelhouse and probably yours. Companies like Netflix do this with "main" which is the newest greenest bits, but they have an engineering team to manage it.) For a simple test server, you could: - Install 15.0 using the "legacy .." (I can't remember what the install calls it exactly, but it is not the new pkg based installation.) - Download the stable/15 source tree.. # git clone https://git.freebsd.org src (Or https://github.com/freebsd/freebsd-src if the above doesn't work for you.) # git checkout stable/15 - cd into the top level directory (src for the above git example). # make buildkernel # make installkernel - There isn't any userland changes, so just replacing the kernel should be sufficient. # shutdown -r now To configure a ZFS file system for case insensitive, you need to first find out what your pool is called, if you do not know that. # zpool list - The name is the first field Now to create a file system that is case insensitive... # zfs create -o casesensitivity=3Dinsensitive / - If you messing around with a Windows client, you might also want.. # zfs set xattr=3Ddir / - To enable named attributes (alternate data streams). # zfs set aclinherit=3Dpassthrough / - Which has been said to be the best setting for acl inheritance for Windows clients. (There are also a couple of other properties that might be useful, but I have no experience with them. "normalization" and "aclmode" are two of them. Read "man zfsprops" for more info.) I have no idea if a pkg installed system can be upgraded via sources, but I do not see why replacing the kernel would be a problem, assuming it is just a test system and you do not need to track bugfixes... rick > > My context has only ever had very simple configurations. But I do know > that how to upgrade depends on which technique was used to install > 15.0-RELEASE : If you have a installation based on the new pkgbase style > of installation it would be different than if you had a installation via > a historical technique. For the historical techniques (source code style > installation vs. other historical styles of installation, for example), > there is variability as well. > > You likely need to report various supporting information details > describing the specific context that you would be starting from. > > Overall, I'm not likely to be an appropriate guide for any sort of > production environment doing a FreeBSD OS upgrade, even with such > information. > > > > > Also, which FreeBSD commit added support for working > > FATTR4_CASE_INSENSITIVE and FATTR4_CASE_PRESERVING? > > It is probably best if Rick answers the question about his own code. > I've no knowledge of its details. That need not mean that he would be an > proper source overall for how to upgrade the FreeBSD OS from > 15.0-RELEASE to a vintage of 15.0-STABLE . > > -- > =3D=3D=3D > Mark Millard > marklmi at yahoo.com