Re: Questions about issue_discards

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

 



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

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux