(it turned out to probably be an incompatibility with uswsusp.conf/hybernation and the referenced LVM swap by it, and that I am on a desktop not notebook) (should I keep this question to help others in some way? the answer is in the comments too and from https://askubuntu.com/a/411589/46437)
lvmetad is not active yet; using direct activation during sysinit
kernel 4.4.0-83-generic 64bits
Ubuntu 16.04.2 LTS
when upgrading from 14.04 to 16.04, huge boot time > 5min, how to config lvmetad to skip directly to what matters?
all related questions have no answers that would work here, so I thought on trying to asking differently.
so, what I can configure at lvmetad to let it skip/ignore/jump directly to what matters instead of wating 5minutes for a simple boot? it seems to be some timeout thing, I read it could be a bug (if so we have no choice then)
some more info here:
so, the systemd-analyze leaves us clueless (well, the network manager 21s is extremely bad, but much less bad than the 5min)
systemd-analyze blame
21.520s NetworkManager-wait-online.service
4.723s lvm2-activation-early.service
3.063s systemd-udev-settle.service
1.712s dev-mapper-LvmGroupRoot\x2droot.device
1.556s hddtemp.service
...
its plot option is not better, if you try to visualize yours, make it sure to use gwenview (quite fast) (not imagemagick display, huge memory usage)
so, looking at dmesg I found this, making it clear it is a lvm problem.
[Sáb Jul 1 20:27:41 2017] floppy0: no floppy controllers found
[Sáb Jul 1 20:33:01 2017] EXT4-fs (dm-2): mounted filesystem with ordered data mode. Opts: (null)
[Sáb Jul 1 20:33:01 2017] systemd[1]: systemd 229 running in system mode.
so I want to focus on tweaking lvmetad, any tips?
I had a hint that using an older kernel version would "solve" this problem , but of couse would not contain the newer kernel advantages..
I wont mess my gfx using nomodeset.
the lvm.conf use_lvmetad=0 makes no difference here.
I am still researching, will update as soon I have more info. It seems to require some expert about lvmetad :)