systemd[1]: fstrim.service: Main process exited, code=exited, status=64/USAGE
systemd[1]: fstrim.service: Failed with result 'exit-code'.
systemd[1]: Failed to start Discard unused blocks.
$ mount | grep win
/dev/sda4 on /mnt/win_re type fuseblk (ro,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sdc1 on /mnt/win_f type fuseblk (ro,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sdb1 on /mnt/win_e type fuseblk (ro,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sdd1 on /mnt/win_g type fuseblk (ro,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda5 on /mnt/win_d type fuseblk (ro,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda3 on /mnt/win_c type fuseblk (ro,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sde1 on /mnt/win_h type fuseblk (ro,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
I see the same warnings in systemd log.
systemd[1]: fstrim.service: Main process exited, code=exited, status=64/USAGE
systemd[1]: fstrim.service: Failed with result 'exit-code'.
systemd[1]: Failed to start Discard unused blocks.
If I run it manually:
$ sudo fstrim -av
/home: 9.7 GiB (10445021184 bytes) trimmed
fstrim: /mnt/win_c: FITRIM ioctl failed: Bad file descriptor
fstrim: /mnt/win_d: FITRIM ioctl failed: Bad file descriptor
fstrim: /mnt/win_g: FITRIM ioctl failed: Bad file descriptor
fstrim: /mnt/win_e: FITRIM ioctl failed: Bad file descriptor
fstrim: /mnt/win_f: FITRIM ioctl failed: Bad file descriptor
fstrim: /mnt/win_re: FITRIM ioctl failed: Bad file descriptor
/: 2.4 GiB (2608013312 bytes) trimmed
with exit status 64.
Related mount points:
$ mount | grep win user_id= 0,group_ id=0,default_ permissions, allow_other, blksize= 4096) user_id= 0,group_ id=0,default_ permissions, allow_other, blksize= 4096) user_id= 0,group_ id=0,default_ permissions, allow_other, blksize= 4096) user_id= 0,group_ id=0,default_ permissions, allow_other, blksize= 4096) user_id= 0,group_ id=0,default_ permissions, allow_other, blksize= 4096) user_id= 0,group_ id=0,default_ permissions, allow_other, blksize= 4096) user_id= 0,group_ id=0,default_ permissions, allow_other, blksize= 4096)
/dev/sda4 on /mnt/win_re type fuseblk (ro,noatime,
/dev/sdc1 on /mnt/win_f type fuseblk (ro,noatime,
/dev/sdb1 on /mnt/win_e type fuseblk (ro,noatime,
/dev/sdd1 on /mnt/win_g type fuseblk (ro,noatime,
/dev/sda5 on /mnt/win_d type fuseblk (ro,noatime,
/dev/sda3 on /mnt/win_c type fuseblk (ro,noatime,
/dev/sde1 on /mnt/win_h type fuseblk (ro,noatime,