Re: [linux-lvm] vgchange acquire an exclusive VG lock for refresh

2023-08-29 Thread wangzhiqiang (Q)
)) flags |= READ_FOR_ACTIVATE; if (!(handle = init_processing_handle(cmd, NULL))) { -- 2.33.0 在 2023/8/29 14:36, wangzhiqiang (Q) 写道: > Patches based on the latest version: > > --- > tools/vgchange.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [linux-lvm] vgchange acquire an exclusive VG lock for refresh

2023-08-29 Thread wangzhiqiang (Q)
|= READ_FOR_ACTIVATE; -- 2.33.0 在 2023/8/29 11:53, wangzhiqiang (Q) 写道: > I've got an issue while execute vgchange --refresh concurrently, process > vgchange and systemd-udevd > enters the D state. > root2933 0.0 1.0 54216 31344 pts/1D --refresh > root2934 0.0 1.1 54

[linux-lvm] vgchange acquire an exclusive VG lock for refresh

2023-08-28 Thread wangzhiqiang (Q)
I've got an issue while execute vgchange --refresh concurrently, process vgchange and systemd-udevd enters the D state. root2933 0.0 1.0 54216 31344 pts/1D] dm_wait_for_bios_completion+0x298/0x340 [dm_mod] [<0>] dm_wait_for_completion+0xfe/0x110 [dm_mod] [<0>]

[linux-lvm] 答复: The logical volume cannot be activated

2023-07-12 Thread wangzhiqiang (Q)
Thank you for your reply, this commit is nice. -邮件原件- 发件人: David Teigland 发送时间: 2023年7月11日 1:04 收件人: wangzhiqiang (Q) 抄送: linux-lvm@redhat.com; linfeilong ; lixiaokeng ; Louhongxiang ; wuguanghao 主题: Re: [linux-lvm] The logical volume cannot be activated On Mon, Jul 10, 2023 at 02

[linux-lvm] The logical volume cannot be activated

2023-07-10 Thread wangzhiqiang (Q)
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