Linux-LVM Archive mirror
 help / color / mirror / Atom feed
From: "wangzhiqiang (Q)" <wangzhiqiang95@huawei.com>
To: David Teigland <teigland@redhat.com>
Cc: linfeilong <linfeilong@huawei.com>,
	lixiaokeng <lixiaokeng@huawei.com>,
	wuguanghao <wuguanghao3@huawei.com>,
	Louhongxiang <louhongxiang@huawei.com>,
	"linux-lvm@redhat.com" <linux-lvm@redhat.com>
Subject: [linux-lvm] 答复:  The logical volume cannot be activated
Date: Wed, 12 Jul 2023 09:17:43 +0000	[thread overview]
Message-ID: <21fb8bc72e8d4f3c9f2130b309c776df@huawei.com> (raw)
In-Reply-To: <20230710170403.GB3668@redhat.com>

Thank you for your reply, this commit is nice.

-----邮件原件-----
发件人: David Teigland <teigland@redhat.com> 
发送时间: 2023年7月11日 1:04
收件人: wangzhiqiang (Q) <wangzhiqiang95@huawei.com>
抄送: linux-lvm@redhat.com; linfeilong <linfeilong@huawei.com>; lixiaokeng <lixiaokeng@huawei.com>; Louhongxiang <louhongxiang@huawei.com>; wuguanghao <wuguanghao3@huawei.com>
主题: Re: [linux-lvm] The logical volume cannot be activated

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-12  9:18 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
2023-07-12  9:17   ` wangzhiqiang (Q) [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=21fb8bc72e8d4f3c9f2130b309c776df@huawei.com \
    --to=wangzhiqiang95@huawei.com \
    --cc=linfeilong@huawei.com \
    --cc=linux-lvm@redhat.com \
    --cc=lixiaokeng@huawei.com \
    --cc=louhongxiang@huawei.com \
    --cc=teigland@redhat.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 read-only IMAP folder(s) and NNTP newsgroup(s).