You are not logged in.

#1 2013-01-26 11:53:20

Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 9,461

/sbin/fstrim reporting enormous numbers [SOLVED]

% sudo fstrim -v /home
/home: 105964507136 bytes were trimmed

That is >98 GB which I find hard to believe.  My entire /home partition is only 100 GB and it only contains 500 MB of files.  I have it mounted in /etc/fstab with discard as well.  Can someone explain that output to me?

EDIT: HEADSMACK!  After consulting the manpage it would appear that fstrim does not trim partial use blocks, it trims ALL blocks not currently in use, so that figure does make sense.

Last edited by graysky (2013-01-26 11:55:02)

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs • 1.21 JIGOWATTS!


Board footer

Powered by FluxBB