[Install] LVM configuration in Proxmox 7

jbe-dw

New Member
Feb 17, 2023
3
0
1
Hello,

I've reinstalled a 2 node cluster where we use iSCSI storage. We apply a filter to avoid host loading guest LVM. On these two servers I found the following snippet, preventing our configuration:

Code:
devices {
     # added by pve-manager to avoid scanning ZFS zvols
     global_filter=["r|/dev/zd.*|"]
}

Is there any option to prevent these lines to be appended to /etc/lvm/lvm.conf ?

I guess it is added at installation because these lines are not apended since last reboot this morning.

Regards
 
The `filter` directive prevents manipulating disks from the lvm cli (Limit the block devices that are used by LVM commands, as per config file comments), while global_filter totally ignore disks matched by the filter (Because devices/filter may be overridden from the command line, it is not suitable for system-wide device filtering, e.g. udev.)