Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 2021 17:58:11 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Graham Perrin <grahamperrin@gmail.com>
Cc:        FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   Re: tunefs(8) changes don't stick
Message-ID:  <CAN6yY1uV-RKm8yf0m2n%2B_MvpAX2eFFkK6tHa3fDTe5k36ff_qg@mail.gmail.com>
In-Reply-To: <97d3a7d3-993b-563c-bb34-594f2e775c93@gmail.com>
References:  <CAN6yY1so_ztpy0v%2BxRuzHX_WXC22AAD=CCXZ6M35%2BYGurGTcSg@mail.gmail.com> <0700be88-52f7-eb08-a37e-4fc56fcafe1a@gmail.com> <CAN6yY1vWCJcTZ-pndxbc14ms6jOFrnaT-P52ODMYm6TFWBM_Pg@mail.gmail.com> <6e5aab14-bee3-c6f4-67ef-6d60395808fc@gmail.com> <CAN6yY1uXXDj==hXzKecKEGsnxKv4ftrGNCSjJsQNHmM99-4ZOw@mail.gmail.com> <CAN6yY1u%2Bd-OmPqTi-ATBV%2BwF=CN3VTHDh8TzxvoG5OnRSZ-1HQ@mail.gmail.com> <97d3a7d3-993b-563c-bb34-594f2e775c93@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000ccdbc305ceaa2800
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Mon, Oct 18, 2021 at 5:11 PM Graham Perrin <grahamperrin@gmail.com>
wrote:

> On 18/10/2021 23:43, Kevin Oberman wrote:
>
> =E2=80=A6
> > Isuspect that this problem is Bug 113912
> > <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D113912>. While tha=
t
> > bug only references -L, I suspect that it applies to any tunefs(8)
> > modification to the root partition. =E2=80=A6
>
>
> As far as I can tell,
>
> tunefs -j enable
>
> =E2=80=93 does work as expected for
>
> /
>
> =E2=80=93 but not with FreeBSD-provided disk images for FreeBSD 13.0-RELE=
ASE and
> 13.0-STABLE
>
> <https://bugs.freebsd.org/bugzilla/show_btunefs -j enableug.cgi?id=3D2590=
90
> <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259090>>;
>
> Tested so far: AMD64 .vhd files only. I assume that .qcow2, .raw and
> .vmdk files are similarly affected.
>

I have successfully updated the volume to TRIM by booting the install disk.
Everything I changed is working fine. I did an "fsck_ffs -E" to deal with
the 4 months I ran on the SSD without TRIM. Can't explain why "tunefs -j
enable" worked for you and not for me. Every tunable setting I tried
appeared to work when I did a 'tunefs -p', but went back to the prior state
when I mounted the disk RW (mount -u /). I'll admit that I have no idea how
being a VM might impact things, but it seems possible. My case is on bare
metal.

When trying to use tunefs on my boot disk, I never received any error or
warning. The changes just vanished. I might ask imp@ about this. He's
pretty expert on the boot process. I'll update the ticket as well.

Thanks, Graham, for the help that led me to look at the right place.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

--000000000000ccdbc305ceaa2800--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1uV-RKm8yf0m2n%2B_MvpAX2eFFkK6tHa3fDTe5k36ff_qg>