You are not logged in.

#1 2021-01-01 14:55:17

lestb
Member
Registered: 2013-06-23
Posts: 16

Fstrim is not working anymore for NTFS partition

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.

Offline

#2 2021-01-02 15:12:35

Nickolas0
Member
Registered: 2019-02-16
Posts: 29

Re: Fstrim is not working anymore for NTFS partition

it may be related to removed ntfs driver support from kernel: https://github.com/archlinux/svntogit-p … 5eb9b7203a

Offline

#3 2021-01-06 14:33:59

lestb
Member
Registered: 2013-06-23
Posts: 16

Re: Fstrim is not working anymore for NTFS partition

But doesn't NTFS-3G supports fstrim? Removal of the module should not affect NTFS-3G, right?

Offline

#4 2021-01-08 13:25:24

lestb
Member
Registered: 2013-06-23
Posts: 16

Re: Fstrim is not working anymore for NTFS partition

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

#5 2021-01-11 11:51:12

ciel
Member
Registered: 2021-01-11
Posts: 1

Re: Fstrim is not working anymore for NTFS partition

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

Board footer

Powered by FluxBB