You are not logged in.
I tried to run fstrim on a NTFS partition but it returns the following error:
fstrim: /media/windows: FITRIM ioctl failed: Device or resource busy
I have checked dmesg and I don't see any error pertaining to the partition.
When I tried downgrading linux from 5.10.3 to 5.9.14, fstrim works.
Last edited by lestb (2021-03-20 00:16:49)
Offline
it may be related to removed ntfs driver support from kernel: https://github.com/archlinux/svntogit-p … 5eb9b7203a
Offline
But doesn't NTFS-3G supports fstrim? Removal of the module should not affect NTFS-3G, right?
Offline
I have rebuild the kernel with NTFS module enabled but the same error occurs. There must be some changes in 5.10 that breaks fstrim for NTFS.
Offline
I encountered the same issue with linux 5.10.4. I was wondering if you have submitted a bug report to the kernel maintainer?
Offline
I've made a bug report: https://bugs.archlinux.org/task/69600
Offline
I didn't encounter the issue anymore with linux-5.11.7.arch1.
Offline
I didn't encounter the issue anymore with linux-5.11.7.arch1.
Fix was backported to 5.11.7:
https://cdn.kernel.org/pub/linux/kernel … Log-5.11.7 7e0815797656f029fab2edc309406cddf931b9d8
https://git.kernel.org/pub/scm/linux/ke … ddf931b9d8
Offline