Pages

ssd trim on Ubuntu 16.04 server

dimanche 31 juillet 2016

I have a sftp server that I am running that is installed on a Transcend model TS32GSSD340. It supports TRIM.

Code:

ad*****x@d***03:~$ sudo hdparm -I /dev/sda }| grep "TRIM supported"
}: No such file or directory
           *    Data Set Management TRIM supported (limit 8 blocks)
I setup (I noticed this file content is different from previous v14.04 version I had notes from)

Code:

ad*****x@d***03:~$ sudo cat /etc/cron.weekly/fstrim
#!/bin/sh
# trim all mounted file systems which support it
/sbin/fstrim --all --no-model-check || true
And received this forwarded complaint root email:

Code:

/etc/cron.weekly/fstrim:
/sbin/fstrim: unrecognized option '--no-model-check'

Usage:
 fstrim [options] <mount point>

Discard unused blocks on a mounted filesystem.

Options:
 -a, --all           trim all mounted filesystems that are supported
 -o, --offset <num>  the offset in bytes to start discarding from
 -l, --length <num>  the number of bytes to discard
 -m, --minimum <num> the minimum extent length to discard
 -v, --verbose       print number of discarded bytes

 -h, --help     display this help and exit
 -V, --version  output version information and exit

For more details see fstrim(8).
The man fstrim references nothing about --no-model-check option.

Has trim support for Transcend ssd changed with version 16.04LTS?

Let's block ads! (Why?)



ssd trim on Ubuntu 16.04 server

Aucun commentaire:

Enregistrer un commentaire