Hi.
Setup:
3 PVE (Running 8.3.3)
1 HP MSA 2040 FibreChannel storage.
- 2 volumes with SAS SSD's configures in RAID10
Running Multipath and LVM (Shared)
Performance is good and multipath is working as it should.
On to the issue..
When i Move Storage of a VMs Hard Disk ex. sata1 from MSA Volume 1 til Volume 2, PVE starts 2 jobs.
VM 100 - Move Disk - Output:
This is done within 2 minutes, which is as expected.
Then PVE starts the job Erase data - Output:
This i would guess, is intended to run as a background task, so it doesnt matter if it takes 2 minutes or 2 days..
Issue:
The issue is that the VM is locked while this is done, so while this is running for 2,5 hours, i cannot change settings, move storage or migrate the VM.
Example 1:
VM 100 - Move Storage - Output:
Example 2:
VM -> Hardware -> CD/DVD drive -> change to ISO
Help:
Is there a solution to this?
A workaround could be to increase the 10MB/s zero-out data limit to 500MB/s, can this be done?
Regards Michael
Setup:
3 PVE (Running 8.3.3)
1 HP MSA 2040 FibreChannel storage.
- 2 volumes with SAS SSD's configures in RAID10
Running Multipath and LVM (Shared)
Performance is good and multipath is working as it should.
On to the issue..
When i Move Storage of a VMs Hard Disk ex. sata1 from MSA Volume 1 til Volume 2, PVE starts 2 jobs.
VM 100 - Move Disk - Output:
create full clone of drive sata1 (MSA-vg1:vm-100-disk-2) Logical volume "vm-100-disk-1" created.drive mirror is starting for drive-sata1drive-sata1: transferred 0.0 B of 80.0 GiB (0.00%) in 0sdrive-sata1: transferred 602.0 MiB of 80.0 GiB (0.73%) in 1s...drive-sata1: transferred 80.0 GiB of 80.0 GiB (100.00%) in 1m 39s, readyall 'mirror' jobs are readydrive-sata1: Completing block job...drive-sata1: Completed successfully.drive-sata1: mirror-job finished Renamed "vm-100-disk-2" to "del-vm-100-disk-2" in volume group "MSA_vg1"TASK OKThis is done within 2 minutes, which is as expected.
Then PVE starts the job Erase data - Output:
zero-out data on image vm-101-disk-2 (/dev/MSA_vg1/del-vm-101-disk-2)105906176 B 101.0 MB 10.00 s 10590534 B/s 10.10 MB/s210763776 B 201.0 MB 20.00 s 10538079 B/s 10.05 MB/s315621376 B 301.0 MB 30.00 s 10520609 B/s 10.03 MB/s420478976 B 401.0 MB 40.00 s 10511874 B/s 10.02 MB/s525336576 B 501.0 MB 50.00 s 10506641 B/s 10.02 MB/s630919168 B 601.7 MB 60.00 s 10515212 B/s 10.03 MB/s735776768 B 701.7 MB 70.00 s 10510990 B/s 10.02 MB/s840634368 B 801.7 MB 80.00 s 10507826 B/s 10.02 MB/s945491968 B 901.7 MB 90.00 s 10505365 B/s 10.02 MB/s1050349568 B 1.0 GB 100.00 s 10503396 B/s 10.02 MB/s1155207168 B 1.1 GB 110.00 s 10501785 B/s 10.02 MB/s1260064768 B 1.2 GB 120.00 s 10500442 B/s 10.01 MB/s1364922368 B 1.3 GB 130.00 s 10499307 B/s 10.01 MB/s1469779968 B 1.4 GB 140.00 s 10498333 B/s 10.01 MB/s1574637568 B 1.5 GB 150.00 s 10497492 B/s 10.01 MB/s1679495168 B 1.6 GB 160.00 s 10496753 B/s 10.01 MB/s1784352768 B 1.7 GB 170.00 s 10496101 B/s 10.01 MB/s1889210368 B 1.8 GB 180.00 s 10495521 B/s 10.01 MB/s1994067968 B 1.9 GB 190.00 s 10495003 B/s 10.01 MB/s2098925568 B 2.0 GB 200.0 s (3:20 min) 10494537 B/s 10.01 MB/sThis i would guess, is intended to run as a background task, so it doesnt matter if it takes 2 minutes or 2 days..
Issue:
The issue is that the VM is locked while this is done, so while this is running for 2,5 hours, i cannot change settings, move storage or migrate the VM.
Example 1:
VM 100 - Move Storage - Output:
trying to acquire lock...TASK ERROR: can't lock file '/var/lock/qemu-server/lock-100.conf' - got timeoutExample 2:
VM -> Hardware -> CD/DVD drive -> change to ISO
can't lock file '/var/lock/qemu-server/lock-100.conf' - got timeout (500)Help:
Is there a solution to this?
A workaround could be to increase the 10MB/s zero-out data limit to 500MB/s, can this be done?
Regards Michael