[pve-devel] Clustered logical volumes activation
Eduard Ahmatgareev
e.ahmatgareev at gmail.com
Mon Nov 30 12:56:07 CET 2015
my soulition:
cat /etc/default/clvm
# Bourne shell compatible script, sourced by /etc/init.d/clvm to set
# additional arguments for clvmd.
# enable clmvd
START_CLVM=yes
# Startup timeout:
CLVMDTIMEOUT=180
# Volume groups to activate on startup:
LVM_VGS="LVM01 LVM02 LVM03 LVM04 SSD01 SSD02"
but, when I do task backup, random vmid can't write backup and task
freezen. I need go to gui and manual abort task.
2015-11-30 13:31 GMT+02:00 Dmitry Petuhov <mityapetuhov at gmail.com>:
> Damn. Sorry, thunderbird broke formatting. Again.
>
> Hi.
>
> I have cluster with shared FC storage. On top of it I created clustered
> LVM group and added it as storage to PVE (currently latest from
> pve-no-subcription).
>
> Problem is that newly created machines machines cannot start with error:
> TASK ERROR: can't activate LV '/dev/EVA6000-1-2TB/vm-101-disk-1': Error
> locking on node 1: Device or resource busy
>
> After I manually deactivate volume with lvchange -a n
> EVA6000-1-2TB/vm-100-disk-1 it starts normally.
>
> I see that volumes are being activated in normal mode on creation and in
> exclusive mode on machine start. Is there any good reason to activate
> volumes on creation, or it may be omitted?
>
> Also it seems that I need to modify auto-activation lists in
> /etc/lvm/lvm.conf to skip activation on boot, but that's different story..
>
> Or maybe it's better to add check if volume already activated before or in
> activate_volume()?
>
>
>
>
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20151130/0dda1986/attachment.htm>
More information about the pve-devel
mailing list