[Dica] Qual sistema de arquivo que o fstrim.timer funciona, e onde tem que usar a opção discard

File system Continuous TRIM
(discard option)
Periodic TRIM
(fstrim)
References
and notes
Bcachefs Yes No
Btrfs Yes Yes Asynchronous discard is enabled by default since kernel 6.2.
exFAT Yes Yes fstrim is supported since kernel 5.13, [4]
ext3 Yes Yes
ext4 Yes Yes “discard, nodiscard(*)” in [5]
F2FS Yes Yes
JFS Yes Yes [6]
NILFS2 Yes Yes
NTFS Yes No ntfs3 kernel driver only supports continuous TRIM.
No Yes NTFS-3G driver only supports periodic TRIM.
VFAT Yes Yes fstrim is supported since kernel 4.19, [7]
XFS Yes Yes [8]
Swap Yes No Not technically a “file system”, but TRIM is still relevant. The “once” option provides scheduled trimming at startup. See swapon(8).

info

1 curtida