run "systemd-analyze critical-chain home.mount" and it will show you the requirements.
I would suspect something going wrong with the activation of the home lv.
On boot up do a "lvs" post that info. The Attr column will show if it is activated or not.
And if you find a dependency not working run at "systemctl status " against it, and that should show you what error it got.
Is home its own lv or on the vg with root?
On Thu, Oct 21, 2021 at 8:05 PM Dave Close <dave@xxxxxxxxxxx> wrote:
I asked:
> Not sure how to title this issue but I'd appreciate advice. A laptop
> running F34 crashed last night and won't start properly since. The
> only errors I can see and find in the logs indicate some unknown
> issue mounting the /home filesystem. The system has /boot and an LVM
> partition with / and /home. / and /boot mount successfully but the
> startup drops to emergency mode. After I enter the root password,
> I can run "vgchange -a y; mount /home" and /home is immediately
> mounted successfully, no problem. I can then issue ^D and the boot
> seems to complete. However, the network is not started and no gettys
> are running on other PTYs.
>
> It seems apparent to me that there is no problem with the LVM partition
> or the /home filesystem. So I don't understand why startup is failing
> nor how to discover the true cause.
Roger Heflin answered:
> Since it is home, I would edit fstab and change "defaults" to
> "defaults,nofail" that will result in the system booting up if/when home is
> missing. Then you can look at what is going on with home with the system
> booted and all tools.
Done, and that helps a lot. Thanks.
> systemctl status home.mount
>
> should tell you the error it things it got.
The error is "dependency". The trick seems to be discovering what that
dependency is. I've found a few minor problems and I think I've fixed
them but /home still doesn't mount during startup.
The strangest thing I've found is that the files
/etc/dbus-1/system.d/com.redhat.NewPrinterNotification.conf and
/etc/dbus-1/system.d/com.redhat.PrinterDriversInstaller.conf were both
empty. Without a network, I typed in what I see on another machine.
Currently, the only seemingly serious error I see is that zram0 swap
isn't starting. The swap LV is properly configured so this doesn't
seem that it should be a /home dependency.
I've currently reached a point where the network starts so my next task
will be to verify recently updated RPMs. Other ideas welcome.
--
Dave Close, Compata, Irvine CA +1 714 434 7359
dave@xxxxxxxxxxx dhclose@xxxxxxxxxxxxxxxxxx
"A man who says, `I have learned enough and will learn no further,'
should be considered as knowing nothing at all." --Haile Selassie
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure