Date: Tue, 24 Feb 2026 11:52:53 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 293415] base: TRIM not enabled by default for Hyper-V guests on UFS2 root filesystems Message-ID: <bug-293415-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293415 Bug ID: 293415 Summary: base: TRIM not enabled by default for Hyper-V guests on UFS2 root filesystems Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: bms@FreeBSD.org When I installed FreeBSD in a Hyper-V instance, I was very surprised to find that UFS was not configured to use TRIM by default in that use case, even though Hyper-V's storage backend is known to support it, even for .vhdx backing files. It probably bloated host disk use somewhat, and might have had an effect on the underlying SSD wear levelling. I did not check if the same issue existed for Azure and Oracle OCI deployed cloud images, as I didn't think to check until after I'd deleted my tenancies there after the free trial periods expired. This must be an oversight. I was able to enable TRIM and apply it using tunefs -t enable and fsck_ffs -E from single user mode, though, but this step is laborious and should be automated. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-293415-227>
