I can confirm that adding Before=local-fs.target to blk- availability.service solved the issue for me. Now everything happens in the correct order. I attached the shutdown journal for reference.
** Attachment added: "shutdown.txt" https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1832859/+attachment/5271487/+files/shutdown.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1832859 Title: during shutdown libvirt-guests gets stopped after file system unmount To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1832859/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs