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

Re: [linux-lvm] Questions about issue_discards



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.

Cheers,
-j


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