linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: David Teigland <teigland@redhat.com>
To: "wangzhiqiang (Q)" <wangzhiqiang95@huawei.com>
Cc: linfeilong@huawei.com, lixiaokeng@huawei.com,
	wuguanghao3@huawei.com, louhongxiang@huawei.com,
	linux-lvm@redhat.com
Subject: Re: [linux-lvm] The logical volume cannot be activated
Date: Mon, 10 Jul 2023 12:04:03 -0500	[thread overview]
Message-ID: <20230710170403.GB3668@redhat.com> (raw)
In-Reply-To: <23f736c2-a264-f366-e217-6cbec424f9ed@huawei.com>

On Mon, Jul 10, 2023 at 02:47:07PM +0800, wangzhiqiang (Q) wrote:
> Dear all
> 
> I have a environment that disk online after switch root, link in /dev/disk/by-id is not generated when 69-dm-lvm.rules is executed,
> but i set link to filter in lvm.conf, so that pvscan failed to scan physical volumes and set environment variable LVM_VG_NAME_COMPLETE,
> finally, the logical volume is not activated.

Hi, using /dev/disk/ links in the filter was fixed here:
https://sourceware.org/git/?p=lvm2.git;a=commit;h=17a3585cbb55d9a15ced9775a18b50c53a50ee8e

Dave
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


  reply	other threads:[~2023-07-10 17:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-10  6:47 [linux-lvm] The logical volume cannot be activated wangzhiqiang (Q)
2023-07-10 17:04 ` David Teigland [this message]
2023-07-12  9:17   ` [linux-lvm] 答复: " wangzhiqiang (Q)

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=20230710170403.GB3668@redhat.com \
    --to=teigland@redhat.com \
    --cc=linfeilong@huawei.com \
    --cc=linux-lvm@redhat.com \
    --cc=lixiaokeng@huawei.com \
    --cc=louhongxiang@huawei.com \
    --cc=wangzhiqiang95@huawei.com \
    --cc=wuguanghao3@huawei.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;
as well as URLs for NNTP newsgroup(s).