Failed to wipe start of new LV

deeq

New Member
Feb 17, 2012
3
0
1
I'm trying to create KVM guest with LVM storage. When adding new VM in web manager i get following error:
Code:
/dev/kvm/vm-102-disk-1: not found: device not cleared
TASK ERROR: create failed - lvcreate 'kvm/pve-vm-102' error: Aborting. Failed to wipe start of new LV.

I think it is same error when i'm trying to create logigal volume manually with ssh:
lvcreate -L 20G -n debian kvm
Code:
/dev/kvm/debian: not found: device not cleared
Aborting. Failed to wipe start of new LV.
If i add "-Z n" in "lvcreate -L 20G -n debian kvm" -command, everything is fine and i can create manually new logigal volume.

I'm runnig debian 6 with proxmox 2.0 rc1 (pve-manager/2.0/30bb4d33).

Here is vgdisplay:
Code:
  --- Volume group ---
  VG Name               kvm
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  19
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                0
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               139.79 GiB
  PE Size               4.00 MiB
  Total PE              35787
  Alloc PE / Size       0 / 0   
  Free  PE / Size       35787 / 139.79 GiB
  VG UUID               g69z8L-VuMq-JVxM-RdQo-mvOC-U10O-9BFzIu
 
kvm VG is not used otherwise. If i add "-Z n" to "lvcreate -L 20G -n debian kvm" command (lvcreate -Z n -L 20G -n debian kvm), everything is fine and i can create manually new logigal volume.

It is same error in proxmox web-gui if i dont use "-Z n" in lvcreate command.
 
Last edited:
kvm VG is not used otherwise. If i add "-Z n" to "lvcreate -L 20G -n debian kvm" command (lvcreate -Z n -L 20G -n debian kvm), everything is fine and i can create manually new logigal volume.

It is same error in proxmox web-gui if i dont use "-Z n" in lvcreate command.

Hi,
but kvm as device!!
Code:
ls -lsa /dev/kvm
0 crw-rw---- 1 root root 10, 232 18. Feb 18:00 /dev/kvm
vgs
  VG   #PV #LV #SN Attr   VSize   VFree 
  pve    1   4   0 wz--n- 297,59G 69,59G
vgrename is your friend.

Udo