Why fstrim with --quiet-unsupported fails on a vxfs, as compared to other filesystems?
Issue
-
If
fstrimis used with--quiet-unsupported, which is included from RHEL 9 and above, it doesn't work as expected.fstrimdoesn't ignore the error, as it was supposed to.fstrim: /path/to/FS: FITRIM ioctl failed: Invalid argument -
If tested on another filesystem, which doesn't support discard operations, such as NFS, tmpfs, no errors are observed.
-
Why is this issue occurring for only
vxfs?
Environment
- Red Hat Enterprise Linux 9
- vxfs
- fstrim
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.