[linux-lvm] Questions about issue_discards

James Downs james.downs at egontech.com
Fri Dec 7 01:29:58 UTC 2012

On Dec 6, 2012, at 2:25 PM, CJ Kucera wrote:

> (obviously) issue discards to storage which happens to support it.  Is
> there a way of querying block devices to find out if they support the
> feature?

hdparm -I /dev/DEVICE

is what you're looking for. SSDs support different methods of supporting discards, mostly TRIM.

> 2) Would a change to the issue_discards parameter be picked up
> automatically by the running kernel?  The lvm.conf manpage mentions that

It should be. You can do an lvm dumpconfig to check.


More information about the linux-lvm mailing list