I use LVM with full disk encryption. I also use LVM snapshots, which have prevented me from completely bricking my entire system many times.
Now the only problem is that the boot times when LVM snapshots are present are extremely long.
I boot my machine, enter my encryption passphrase and then wait for about 3 minutes. It is only after that long wait does my machine boot.
3min 26.155s dracut-initqueue.service 38.577s udisks2.service 32.927s dnf-makecache.service 29.180s accounts-daemon.service 25.936s systemd-journal-flush.service 21.845s ModemManager.service 18.583s abrtd.service 18.575s avahi-daemon.service 18.570s bluetooth.service 18.147s firewalld.service
This only happens if snapshots are present, if no snapshots are present, boot is almost instantaneous after I enter my passphrase.
Is there any way this can be solved ?
I am not even sure which component to blame for this.
Is this a GRUB2 or systemd or kernel issue?
I have read this topic
They say its a systemd issue, which has been patched in Fedora 32.
I have also read this bug:
Will --skip-mappings option for LVM help ?
Any ideas ?