Re: [linux-lvm] Need information
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 ` On Tue, Feb 22, 2022 at 11:06 AM Zdenek Kabelac 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 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@redhat.com > 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@redhat.com https://listman.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Re: [linux-lvm] Need information
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 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@redhat.com https://listman.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
[linux-lvm] Need information
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 ? Thanks Kumar ___ 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/