can't activate LV

bread-baker

Member
Mar 6, 2010
432
0
16
the following occured when I tried to start a kvm stored on lvm.

I assume it may be related to the question asked about lvm.conf .



Code:
[FONT=courier new][FONT=fixedsys]  Skipping clustered volume group drbdvg
  Skipping clustered volume group drbdvg
  Skipping clustered volume group drbdvg
  Skipping volume group drbdvg
  Skipping clustered volume group drbdvg[/FONT]
[FONT=fixedsys]T[/FONT][/FONT][FONT=fixedsys]ASK ERROR: can't activate LV 'proxdrbd:vm-100-disk-1':   Skipping volume group drbdvg[/FONT]


and from cli:
Code:
 qm start 100
  Skipping clustered volume group drbdvg
command '/sbin/vgs --separator : --noheadings --units b --unbuffered --nosuffix --options vg_name,vg_size,vg_free' failed: exit code 5
  Skipping clustered volume group drbdvg
 Skipping clustered volume group drbdvg
  Skipping volume group drbdvg
command '/sbin/vgscan --ignorelockingfailure --mknodes' failed: exit code 5
  Skipping clustered volume group drbdvg
can't activate LV 'proxdrbd:vm-100-disk-1':   Skipping volume group drbdvg
 
your vg seems to have the cluster flag and as clvm is not running by default you got a problem. I suggest you setup a clean system without any clustered lvm.
 
you need to make sure that the volume group does not have the cluster flag.
 
I think it would be best to not use lvm on drbd storage for now. as there are other things to test.. so luckily I have backups of the 2 systems on drbd .

I just tested the new vzdump, and was able to restore those to local.