Jump to content

[SOLVED] fstrim: No such file or directory

Featured Replies

Posted

Hopefully this is an easy question, I've searched around and haven't been able to find where on my unraid server this is and also have not found any information as how to remove it.

 

I am getting daily the following error email to me from my Unraid server.

 

fstrim: /mnt/disks/Seagate_Desktop_Drive: FITRIM ioctl failed: No such file or directory

 

I know what is kicking off the error, I had this drive connected to my system for a short while and no longer have it connected. I just am unsure where I tell it not to attempt this trim anymore.

  • 3 months later...

I got this email message each night related to a usb drive permanently attached to a vm:

 

cron for user root /sbin/fstrim -a -v | logger &> /dev/null

fstrim: /mnt/disks/NAS: FITRIM ioctl failed: No such file or directory

 

Would be nice to stop fstrim to do the operation to this drive, but how???

 

  • Community Expert
17 minutes ago, Mardelle5 said:

/mnt/disks/NAS

Is this UD device still mounted?

i just detached the drive from vm and it was shown as mounted at unassigned devices.. i unmounted and attached back to vm... will see now if this message will still occur tonight...

Still getting this message. perhaps i need to restart the array? Will try this later, when i am away and system is on standby...

  • Community Expert
19 minutes ago, Mardelle5 said:

perhaps i need to restart the array?

You should try that.

Thank You, the issue is solved after a restart 🙂

  • JorgeB changed the title to [SOLVED] fstrim: No such file or directory

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...