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: [email protected]
Reporter: [email protected]
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.