Thank you for your reply, this commit is nice.

-----邮件原件-----
发件人: David Teigland <teigl...@redhat.com> 
发送时间: 2023年7月11日 1:04
收件人: wangzhiqiang (Q) <wangzhiqian...@huawei.com>
抄送: linux-lvm@redhat.com; linfeilong <linfeil...@huawei.com>; lixiaokeng 
<lixiaok...@huawei.com>; Louhongxiang <louhongxi...@huawei.com>; wuguanghao 
<wuguangh...@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 via email to