LVM over iSCSI weird behavior

Ilcheff

New Member
Jun 25, 2024
1
0
1
Hello folks!

I have a weird issue with LVM over iSCSI.

Here is the problem: I have a 3 node cluster with storage attached via iSCSI. On top of the iSCSI I have LVM volume with "saferemove 1" in config. Storage used in setup is TrueNAS Core.

When removing VM, most of the times everything is fine, but in rare occasions zeroed-out VM discs are not deactivated and removed, or they are only deactivated but not removed. I have to remove them manually in such cases.

This is one of the examples:

Code:
zero-out data on image vm-138-disk-1 (/dev/nas1-zvol2-vg/del-vm-138-disk-1)
105906176 B 101.0 MB 10.00 s 10590482 B/s 10.10 MB/s

...

322122547200 B 300.0 GB 30720.0 s (8:31 h) 10485769 B/s 10.00 MB/s
zero out finished (note: 'No space left on device' is ok here): write: No space left on device
TASK ERROR: lvremove 'nas1-zvol2-vg/del-vm-138-disk-1' error:   Logical volume nas1-zvol2-vg/del-vm-138-disk-1 in use.


Does anybody noticed this behavior in similar setup?
I can provide more information if needed.
 

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!