[lvm-devel] [PATCH] fix some issues in clvmd initscript

Brem Belguebli brem.belguebli at gmail.com
Thu Jun 3 20:15:12 UTC 2010


On Thu, 2010-06-03 at 20:51 +0100, Alasdair G Kergon wrote:
> On Thu, Jun 03, 2010 at 08:31:22PM +0200, brem belguebli wrote:
> > started, as it tries to activate all the clustered VG's whether or not
> > they're already active  on another node.
>  
> /etc/sysconfig/clvmd perhaps?
> 
Exactly what I was hopping....you're so reactive gentlemen... ;-)
> 
> Something like:
> 
> # Specifies whether or not to activate clustered LVs after starting up clvmd.
> # Note that this file only controls which 'lvchange' commands get run
> # and it cannot override lvm.conf.
> ACTIVATE=yes
> 
> # Space-separated lists of LVs to activate when starting CLVMD.
> # Specifying a VG will activate all the LVs within it.
> 
> # Clustered LVs activated with "lvchange -aey" on this machine.
> # E.g. EXCLUSIVE_LVS="vg1/lvol0 vg1/lvol1 vg2"
> EXCLUSIVE_LVS=
> 
> # Clustered LVs activated with "lvchange -aly" on this machine.
> LOCAL_LVS=
> 
> # Clustered LVs activated with "lvchange -ay".
> # If all 3 variables (LOCAL_LVS, EXCLUSIVE_LVS & SHARED_LVS) are unset
> # or empty and ACTIVATE is "yes" then all clustered LVs visible on the system
> # are activated as shared.
> SHARED_LVS=
> 
> 


Next time I'll read more carefully the man pages / init scripts /
sysconfig configurations

Sorry .

Brem
> Alasdair
> 
> --
> lvm-devel mailing list
> lvm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/lvm-devel





More information about the lvm-devel mailing list