[linux-lvm] Setting readahead for Logical Volumes via udev

David Wittman dwittman at gmail.com
Thu May 22 21:37:18 UTC 2014


Oh, well that makes more sense than using udev. I wasn't aware that -r
would set the readahead value persistently in the LV metadata. That makes
my life easy.

Thank you both.


On Thu, May 22, 2014 at 2:07 AM, Marian Csontos <mcsontos at redhat.com> wrote:

> On 05/20/2014 05:37 PM, David Wittman wrote:
>
>> Hey Peter,
>>
>> Thanks for the response. I've previously tried the "change" action, and
>> adding the specifier for the DM_ACTIVATION environment variable had no
>> effect. I'm also aware of the capability to set the readahead on a
>> per-volume basis, but I'm looking for a solution which handles setting
>> these values at boot time and/or volume creation time.
>>
>
> Hi David, may be I do not understand your requirements but the
> `--readahead` option does set the parameter at volume creation time and
> during boot time.
>
> Seeing you use star in the rules, looks like you want to change default
> when new LV is created: there is `readahead` setting in the lvm.conf file
> to do that.
>
> -- Martian
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20140522/fdc27360/attachment.htm>


More information about the linux-lvm mailing list