From: Bernhard Voelker <mail@bernhard-voelker.de>
To: Matthias Schniedermeyer <ms@citd.de>, util-linux@vger.kernel.org
Subject: Re: Debugging why fstrim doesn't work
Date: Mon, 01 Sep 2014 08:34:43 +0200 [thread overview]
Message-ID: <54041383.2090700@bernhard-voelker.de> (raw)
In-Reply-To: <20140829093522.GA32003@citd.de>
On 08/29/2014 11:35 AM, Matthias Schniedermeyer wrote:
> $ fstrim -v /
> fstrim: /: discard operation not supported.
>
> How can i debug why fstrim/the kernel thinks discard isn't supported?
$ strace -v fstrim -v /
...
ioctl(3, FITRIM, 0x7fff4d693590) = -1 EOPNOTSUPP (Operation not supported)
...
Interestingly, fstrim's error message has changed from the more precise
fstrim: /: FITRIM ioctl failed: Operation not supported
(e.g. in 2.23.2) to a probably more user-friendly
fstrim: /: the discard operation is not supported
(in the current git version).
Have a nice day,
Berny
next prev parent reply other threads:[~2014-09-01 6:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-29 9:35 Debugging why fstrim doesn't work Matthias Schniedermeyer
2014-09-01 6:34 ` Bernhard Voelker [this message]
2014-09-01 7:16 ` Matthias Schniedermeyer
2014-09-01 7:57 ` Matthias Schniedermeyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54041383.2090700@bernhard-voelker.de \
--to=mail@bernhard-voelker.de \
--cc=ms@citd.de \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.