Check `dmsetup udevcookies` output. lvcreate may be waiting for udev process which timed out - check the syslog. You can forcefully complete a transaction by `dmsetup udevcomplete <cookie>`
On Tue, Feb 22, 2022 at 11:06 AM Zdenek Kabelac <zdenek.kabelac@xxxxxxxxx> wrote:
Dne 21. 02. 22 v 12:00 Gk Gk napsal(a):
> Hi,
>
> I work on cloud platforms and linux. I need some guidance with an issue
> observed with LVM.
>
> How to forcefully kill a running lvm command like lvcreate ? I tried using
> kill -9 but it is not killing it. Only a reboot seems to does the trick. How
> to forcefully kill the lvcreate process or for that matter any running lvm
> commands ?
>
> Also how to check the progress of an lvm command like lvcreate or lvremove ?
Hi
1. lvm2 should not freeze - it would be some horrible bug.
2. You can't kill any userspace app which is blocked in an uninterruptible
kernel function - kill always wait till it gets to signal handler (i.e. you
are opening&reading suspended device might be one such operation)
3. You need to tell us more about what you are doing - as without this there
is no way to give meaningful help.
Regards
Zdenek
_______________________________________________
linux-lvm mailing list
linux-lvm@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
_______________________________________________ linux-lvm mailing list linux-lvm@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/