[Bug 113912] tunefs(8): silent failure setting glabel on boot partition

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 19 Oct 2021 04:27:19 UTC

rkoberman@gmail.com changed:

           What    |Removed                     |Added
                 CC|                            |rkoberman@gmail.com

--- Comment #2 from rkoberman@gmail.com ---
System is 13-STABLE from August. 

The title should be updated to "tunefs(8): silent failure change settings on
boot partition". Running 13-STABLE and was unable to set TRIM, SUJ, Label.
tunefs -t enable /dev/nvd0p3
It responded with the standard message and no error. "tunefs -p" showed TRIM
enabled. Then mounted the volume RW and checked again and TRIM was disabled.
Same with SUJ and Label.

SWAG, a copy of the superblock is located in memory and that is update by
tunefs but is not written to disk since it had been mounted RO. When "mount -u
/" is executed, the superblock is read in again. Just a guess, but seems to fit
the behavior.

Ticket my be updated to "Affects some people".

This ticket has been open for over 14 years with no attention. With the
increasing use of SSDs that may miss enabling TRIM on the initial installation
requiring the use of tunefs to enable it. I know from experience.

You are receiving this mail because:
You are the assignee for the bug.