Can fstrim work on read only mounts?
Ed Greshko
ed.greshko at greshko.com
Sun Aug 17 06:46:53 UTC 2014
On 08/17/14 08:16, Ali Alipoor.R wrote:
> 1- can fstrim work on read only mounted partitions?
> 2- can discard and ro options be mixed in fstab?
I don't have any SSD in my systems. However, doing a bit of reading on "trim" it seems it addresses a need when files are being created/deleted/modified on a system. Since that isn't happening on a RO file system it seems to me to make little sense to enable/use "trim".
Also, FWIW, http://blog.neutrino.es/2013/howto-properly-activate-trim-for-your-ssd-on-linux-fstrim-lvm-and-dmcrypt/
seems like a knowledgeable article on the subject. Especially note the advice to not use discard in the fstab.
--
If you can't laugh at yourself, others will gladly oblige.
More information about the users
mailing list