Moving disk to or from thin-lvm pool extrimly slow.

nik-weter

Active Member
Sep 24, 2012
24
1
43
Hi.
I have srange situation. When i move disk of linux vm from or to thin lvm pool, i have very high wa for all vm which have disk on that pool.
I cant do ssh to that vm, cant ping them, get "TASK ERROR: Failed to run vncproxy." with console.
That pool's on sas ssd. Quite old servers proliant dl180 g6, but usual lvm vg works fine.
Proxmox 6.4. Yes, i know, i should upgrade to 7.1, but what's the problem&
 
Wow! Its not only thin lvm! Allways when I move vm disk from or to lvm storage its very slow if inside vm also lvm!
 
Ok, solution is right filter in lvm.conf
There weren't comma after "r|/dev/mapper/pve-.*|" in original file. I dont know its mistake or not.
That's mine.
global_filter = [ "r|/dev/zd.*|", "r|/dev/mapper/pve-.*|", "r|/dev/mapper/.*-(vm|base)--[0-9]+--disk--[0-9]+|", "r|/dev/ssdvg/*|", "r|/dev/iscsivg/*|"]

iscsivg and ssdvg - my lvm storages.
Now all works fine.
 
For anyone else encountering this issue, I have observed it on PVE 5 and 6 when the NIC and Storage are both slow (HP G6 as well, with a poor storage server running under 50MB/s and gigabit NICs). This can also affect your ability to create VMs with large (>200GB disks).

Glad you figured it out Nik-water.

Tmanok
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!