Hello everyone,
I moved many VMs from a local /vz mount do a shared LVM which was created on ISCSI. That worked flawless. Afterwards in a single step I cloned 4 templates on the same time to the LVM. Those tasks crashed after a while of running because obviously the load caused on the storage was to high and it became unresponsive. This is how those tasks died (only two of them made it to 100% progress, the others crashed with 0% but with the same errors at the end):
I tried this fix "udevadm trigger " as suggested in another Topic, that actually fixed the errors like WARNING: Device /dev/dm-32 not initialized in udev database even after waiting 10000000 microseconds. But now when I do a clone I end up with the error below.
I think I did to much pain to the LVM by cloning 4 templates at the same time. Can someone help me out with this? Thanks alot in advance!
I moved many VMs from a local /vz mount do a shared LVM which was created on ISCSI. That worked flawless. Afterwards in a single step I cloned 4 templates on the same time to the LVM. Those tasks crashed after a while of running because obviously the load caused on the storage was to high and it became unresponsive. This is how those tasks died (only two of them made it to 100% progress, the others crashed with 0% but with the same errors at the end):
Code:
create full clone of drive scsi0 (vz:103/base-103-disk-0.qcow2)
Logical volume "vm-107-disk-0" created.
transferred: 0 bytes remaining: 134217728000 bytes total: 134217728000 bytes progression: 0.00 %
transferred: 1342177280 bytes remaining: 132875550720 bytes total: 134217728000 bytes progression: 1.00 %
transferred: 2711198105 bytes remaining: 131506529895 bytes total: 134217728000 bytes progression: 2.02 %
[...]
transferred: 131238094438 bytes remaining: 2979633562 bytes total: 134217728000 bytes progression: 97.78 %
transferred: 132701067673 bytes remaining: 1516660327 bytes total: 134217728000 bytes progression: 98.87 %
transferred: 134043244953 bytes remaining: 174483047 bytes total: 134217728000 bytes progression: 99.87 %
transferred: 134217728000 bytes remaining: 0 bytes total: 134217728000 bytes progression: 100.00 %
transferred: 134217728000 bytes remaining: 0 bytes total: 134217728000 bytes progression: 100.00 %
WARNING: Device /dev/dm-32 not initialized in udev database even after waiting 10000000 microseconds.
WARNING: Device /dev/dm-33 not initialized in udev database even after waiting 10000000 microseconds.
WARNING: Device /dev/dm-34 not initialized in udev database even after waiting 10000000 microseconds.
trying to acquire cfs lock 'storage-dzb_lvm' ...
trying to acquire cfs lock 'storage-dzb_lvm' ...
trying to acquire cfs lock 'storage-dzb_lvm' ...
trying to acquire cfs lock 'storage-dzb_lvm' ...
trying to acquire cfs lock 'storage-dzb_lvm' ...
trying to acquire cfs lock 'storage-dzb_lvm' ...
trying to acquire cfs lock 'storage-dzb_lvm' ...
trying to acquire cfs lock 'storage-dzb_lvm' ...
trying to acquire cfs lock 'storage-dzb_lvm' ...
error with cfs lock 'storage-dzb_lvm': got lock request timeout
TASK ERROR: clone failed: command '/sbin/lvs --separator : --noheadings --units b --unbuffered --nosuffix --options lv_size /dev/dzb-lvmstorage/vm-107-disk-0' failed: got timeout
I tried this fix "udevadm trigger " as suggested in another Topic, that actually fixed the errors like WARNING: Device /dev/dm-32 not initialized in udev database even after waiting 10000000 microseconds. But now when I do a clone I end up with the error below.
Code:
create full clone of drive scsi0 (vz:100/base-100-disk-0.qcow2)
device-mapper: create ioctl on dzb--lvmstorage-vm--104--disk--0 LVM-G1mrLghxUE0KLjFSmKNJF45iCNCOWAceafJP6lKjwVlD6kzwjOjLeG7uLrH0FEK4 failed: Device or resource busy
TASK ERROR: clone failed: error during cfs-locked 'storage-dzb_lvm' operation: lvcreate 'dzb-lvmstorage/vm-104-disk-0' error: Failed to activate new LV dzb-lvmstorage/vm-104-disk-0
I think I did to much pain to the LVM by cloning 4 templates at the same time. Can someone help me out with this? Thanks alot in advance!