util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Debugging why fstrim doesn't work
@ 2014-08-29  9:35 Matthias Schniedermeyer
  2014-09-01  6:34 ` Bernhard Voelker
  0 siblings, 1 reply; 4+ messages in thread
From: Matthias Schniedermeyer @ 2014-08-29  9:35 UTC (permalink / raw)
  To: util-linux

Hi


All of my computers have a SSD for the root-filesystem.
But on none fstrim works. I only get this:

$ fstrim -v /
fstrim: /: discard operation not supported.

How can i debug why fstrim/the kernel thinks discard isn't supported?

All my root-filesystems are XFS.
kernel differs by computer, currently between 3.15.2 and 3.16.1
(Same self-compiled kernel on all machines)
util-linux is version 2.25 (Experimental Package from Debian SID)

The mount-output for the root-filesystem of one my compters looks like 
this:
/dev/sda2 on / type xfs (rw,noatime,attr2,inode64,allocsize=64k,noquota)

I DO NOT use an initrd/initramfs, so the root-filesystem is still the 
original mount from the kernel itself (i case that matters)




-- 

Matthias

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-01  7:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-29  9:35 Debugging why fstrim doesn't work Matthias Schniedermeyer
2014-09-01  6:34 ` Bernhard Voelker
2014-09-01  7:16   ` Matthias Schniedermeyer
2014-09-01  7:57     ` Matthias Schniedermeyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).