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@redhat.com> wrote:
On 05/20/2014 05:37 PM, David Wittman wrote: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.
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.
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
_______________________________________________ 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/