Re: Slow shutdown with encrypted LVM

Originally Posted by
nu2openS
I installed OpenSUSE 13.2 with an encrypted LVM in VirtualBox in order to test full disk encryption before using this setup with real hardware. So far, the encryption works as expected, but the shutdown takes at least 10s longer in comparison to a setup without full disk encryption. And this does not seem to be related to the encryption overhead. When shutting down the following messages appear before the virtual machine is closed:
- systemd-shutdown[1]: Cannot finalize remaining file systems and devices, giving up.
- systemd-shutdown[1]: Failed to mkdir /run/initramfs/oldroot: Read-only file system
Is this a bug related to VirtualBox only? Is there a solution for this problem?
I am not noticing much slowdown. Shutdown with 13.2 is a lot faster than shutdown with 13.1.
Yes, I see that "giving up" message, though it goes past rather quickly. I take that to be unavoidable. At that stage, the root file system is mounted read-only. But it is still in use, so the crypto for it cannot be shutdown. If I later check, an "fsck" shows the file system to be clean. So I don't see this as any actual problem.
I am not using a virtual machine. My main destop uses an encrypted LVM as directly installed to the hard drive.
openSUSE Leap 15.2; KDE Plasma 5.18.5;
Bookmarks