Reference 1 - Ubuntu kernel 5.11.0-11-generic:

jak@jak-t480s:~:master$ sudo lvcreate -L 1G -n foo ubuntu-vg 
  Logical volume "foo" created.
jak@jak-t480s:~:master$ sudo lvremove ubuntu-vg/foo
Do you really want to remove and DISCARD active logical volume ubuntu-vg/foo? 
[y/n]: y
  /dev/mapper/crypt: BLKDISCARD ioctl at offset 72717697024 size 1073741824 
failed: Device or resource busy.
  Logical volume "foo" successfully removed
jak@jak-t480s:~:master$ uname -a
Linux jak-t480s 5.11.0-11-generic #12-Ubuntu SMP Mon Mar 1 19:26:56 UTC 2021 
x86_64 x86_64 x86_64 GNU/Linux

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1920821

Title:
  BLKDISCARD fails on LUKS volume hosting LVM PV

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1920821/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to