From: Fiona Ebner <f.ebner@proxmox.com>
To: Daniel Herzig <d.herzig@proxmox.com>, pve-devel@lists.proxmox.com
Subject: Re: [PATCH manager] postinst: add nbd devices to global lvm filter.
Date: Tue, 7 Jul 2026 16:44:29 +0200 [thread overview]
Message-ID: <742d03f6-c2db-4053-9088-ba237a730022@proxmox.com> (raw)
In-Reply-To: <20260706070306.36846-1-d.herzig@proxmox.com>
Am 06.07.26 um 9:03 AM schrieb Daniel Herzig:
> This patch adds nbd-devices to the global filter list of LVM for new
Nit: I'd prefer the more explicit "/dev/nbdX devices" or "kernel NBD
devices" rather than "nbd-devices". The hyphen makes it seems off IMHO.
> installation.
s/installation/installations/
>
> This is to avoid clashes with existing VGs/LVs on the host system, if
> external disks mapped via the nbd kernel driver contain the same
> naming scheme (eg. nested Proxmox VE systems with LVM/ext4
s/eg./e.g./
> installation on an LVM/ext4 host).
You could add that some external backup solutions use these /dev/nbdX
devices, so there are quite a few setups in practice that would benefit.
Missing your Signed-off-by.
With that added and the comments addressed:
Reviewed-by: Fiona Ebner <f.ebner@proxmox.com>
Tested-by: Fiona Ebner <f.ebner@proxmox.com>
> ---
> debian/postinst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/debian/postinst b/debian/postinst
> index 924e078d..eb7f3356 100755
> --- a/debian/postinst
> +++ b/debian/postinst
> @@ -26,7 +26,7 @@ set_lvm_conf() {
> export LVM_SUPPRESS_FD_WARNINGS=1
>
> OLD_VALUE="$(lvmconfig --typeconfig diff devices/global_filter || true)"
> - NEW_VALUE='global_filter=["r|/dev/zd.*|","r|/dev/rbd.*|"]'
> + NEW_VALUE='global_filter=["r|/dev/zd.*|","r|/dev/rbd.*|","r|/dev/nbd.*|"]'
>
> # update global_filter if:
> # it is empty and there is no marker OR exactly the one we set before 8.1.4
prev parent reply other threads:[~2026-07-07 14:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-06 7:03 [PATCH manager] postinst: add nbd devices to global lvm filter Daniel Herzig
2026-07-07 14:44 ` Fiona Ebner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=742d03f6-c2db-4053-9088-ba237a730022@proxmox.com \
--to=f.ebner@proxmox.com \
--cc=d.herzig@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox