Debugging why fstrim doesn't work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux