fstrim --all failing on ext2 /boot filesystem
Asked by
Justin Lloyd
In Ubuntu 16.04, /etc/cron.
fstrim: /boot: FITRIM ioctl failed: Invalid argument
However, /boot by default is ext2, which fstrim does not support:
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda1 ext2 472M 103M 345M 23% /boot
The man page says that fstrim trims all mounted filesystems on devices that support the discard operation, but ext2 does not, so I would think that --all should ignore ext2 filesystems.
Should this be reported as a bug?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Justin Lloyd for more information if necessary.
To post a message you must log in.