Hello,
using LVM storage on incus 6.6-0.1 on Fedora 40.
While the container is running, we are doing incus config edit
for a container, and shrink the disk a bit: root.size: 45GiB
=> root.size: 42GiB
This config edit completes succesfully.
But on a container restart, the container is failing to start!
# incus restart MYCONTAINER
Error: Failed to start device "root": Failed to apply deferred quota from "volatile.root.apply_quota": Failed to run: lvresize -L 46170898432b -f/dev/default/containers_mycontainer: exit status 5 (File descriptor 11 (socket:[1606636625]) leaked on lvresize invocation. Parent PID 2513604: /usr/lbexec/incus/incusd
The LV must be active to safely reduce (see --fs options.))
Try `incus info --show-log MYCONTAINER` for more info
(we have to undo the size change in order for the container to start)
Thank you.