Nach Kernelupdate wird NFS Verzeichniss niccht mehr gemountet.

Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

Hinweis: In dem Thema Nach Kernelupdate wird NFS Verzeichniss niccht mehr gemountet. gibt es 3 Antworten. Der letzte Beitrag () befindet sich ganz unten auf dieser Seite.
  • Nach Kernelupdate wird NFS Verzeichniss niccht mehr gemountet.

    Hallo Forum,

    suche hat mich leider nicht weiter gebracht.

    Ich verwende hier seit langem Tumbleweed. Updates werden regelmäßig gemacht. Seit Update auf Kernel 4.18 funktioniert plötzlich der mount des NFS Laufwerks nicht mehr beim booten. Manuell klappt es.
    Wenn ich einen älteren Kernel boote wird es gemountet aber mit dem 4.18 und dem 4.19 nicht.

    Quellcode

    1. systemctl status nfs.service
    2. ● nfs.service - Alias for NFS client
    3. Loaded: loaded (/usr/lib/systemd/system/nfs.service; enabled; vendor preset: disabled)
    4. Drop-In: /run/systemd/generator/nfs.service.d
    5. └─50-insserv.conf-$remote_fs.conf
    6. Active: active (exited) since Mon 2018-11-26 13:09:25 CET; 25min ago
    7. Main PID: 932 (code=exited, status=0/SUCCESS)
    8. Tasks: 0 (limit: 4915)
    9. Memory: 0B
    10. CGroup: /system.slice/nfs.service



    gestartet wir der Service aber.




    In der boot.log findet sich der entscheidende Hinweis:

    Quellcode

    1. [K[ [0;31m*[0;1;31m*[0m[0;31m*[0m] (2 of 2) A start job is running for Update cron periods from /etc/sysconfig/btrfsmaintenance (26s / no limit)
    2. [K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] (2 of 2) A start job is running for Update cron periods from /etc/sysconfig/btrfsmaintenance (27s / no limit)
    3. [K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] (2 of 2) A start job is running for Update cron periods from /etc/sysconfig/btrfsmaintenance (27s / no limit)
    4. [K[[0;31m*[0;1;31m*[0m[0;31m* [0m] (1 of 2) A start job is running for wicked managed network interfaces (28s / no limit)
    5. [K[[0;1;31m*[0m[0;31m* [0m] (1 of 2) A start job is running for wicked managed network interfaces (28s / no limit)
    6. [K[[0m[0;31m* [0m] (1 of 2) A start job is running for wicked managed network interfaces (29s / no limit)
    7. [K[[0;1;31m*[0m[0;31m* [0m] (2 of 2) A start job is running for Update cron periods from /etc/sysconfig/btrfsmaintenance (29s / no limit)
    8. [K[[0;31m*[0;1;31m*[0m[0;31m* [0m] (2 of 2) A start job is running for Update cron periods from /etc/sysconfig/btrfsmaintenance (30s / no limit)
    9. [K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] (2 of 2) A start job is running for Update cron periods from /etc/sysconfig/btrfsmaintenance (30s / no limit)
    10. [K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] (1 of 2) A start job is running for wicked managed network interfaces (31s / no limit)
    11. [K[ [0;31m*[0;1;31m*[0m[0;31m*[0m] (1 of 2) A start job is running for wicked managed network interfaces (31s / no limit)
    12. [K[ [0;31m*[0;1;31m*[0m] (1 of 2) A start job is running for wicked managed network interfaces (32s / no limit)
    13. [K[ [0;31m*[0m] (2 of 2) A start job is running for Update cron periods from /etc/sysconfig/btrfsmaintenance (32s / no limit)
    14. [K[ [0;31m*[0;1;31m*[0m] (2 of 2) A start job is running for Update cron periods from /etc/sysconfig/btrfsmaintenance (33s / no limit)
    15. [K[ [0;31m*[0;1;31m*[0m[0;31m*[0m] (2 of 2) A start job is running for Update cron periods from /etc/sysconfig/btrfsmaintenance (33s / no limit)
    16. [K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] (1 of 2) A start job is running for wicked managed network interfaces (34s / no limit)
    17. [K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] (1 of 2) A start job is running for wicked managed network interfaces (34s / no limit)
    18. [K[[0;31m*[0;1;31m*[0m[0;31m* [0m] (1 of 2) A start job is running for wicked managed network interfaces (35s / no limit)
    19. [K[[0;1;31m*[0m[0;31m* [0m] (2 of 2) A start job is running for Update cron periods from /etc/sysconfig/btrfsmaintenance (35s / no limit)
    20. [K[[0m[0;31m* [0m] (2 of 2) A start job is running for Update cron periods from /etc/sysconfig/btrfsmaintenance (36s / no limit)
    21. [K[[0;1;31m*[0m[0;31m* [0m] (2 of 2) A start job is running for Update cron periods from /etc/sysconfig/btrfsmaintenance (36s / no limit)
    22. [K[[0;31m*[0;1;31m*[0m[0;31m* [0m] (1 of 2) A start job is running for wicked managed network interfaces (37s / no limit)
    23. [K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] (1 of 2) A start job is running for wicked managed network interfaces (37s / no limit)
    24. [K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] (1 of 2) A start job is running for wicked managed network interfaces (38s / no limit)
    25. [K[ [0;31m*[0;1;31m*[0m[0;31m*[0m] (2 of 2) A start job is running for Update cron periods from /etc/sysconfig/btrfsmaintenance (38s / no limit)
    26. [K[ [0;31m*[0;1;31m*[0m] (2 of 2) A start job is running for Update cron periods from /etc/sysconfig/btrfsmaintenance (39s / no limit)
    27. [K[ [0;31m*[0m] (2 of 2) A start job is running for Update cron periods from /etc/sysconfig/btrfsmaintenance (39s / no limit)
    28. [K[ [0;31m*[0;1;31m*[0m] (1 of 2) A start job is running for wicked managed network interfaces (40s / no limit)
    29. [K[ [0;31m*[0;1;31m*[0m[0;31m*[0m] (1 of 2) A start job is running for wicked managed network interfaces (40s / no limit)
    30. [K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] (1 of 2) A start job is running for wicked managed network interfaces (41s / no limit)
    31. [K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] (2 of 2) A start job is running for Update cron periods from /etc/sysconfig/btrfsmaintenance (41s / no limit)
    32. [K[[0;31m*[0;1;31m*[0m[0;31m* [0m] (2 of 2) A start job is running for Update cron periods from /etc/sysconfig/btrfsmaintenance (42s / no limit)
    33. [K[[0;1;31m*[0m[0;31m* [0m] (2 of 2) A start job is running for Update cron periods from /etc/sysconfig/btrfsmaintenance (42s / no limit)
    34. [K[[0m[0;31m* [0m] (1 of 2) A start job is running for wicked managed network interfaces (43s / no limit)
    35. [K[[0;1;31m*[0m[0;31m* [0m] (1 of 2) A start job is running for wicked managed network interfaces (43s / no limit)
    36. [K[[0;31m*[0;1;31m*[0m[0;31m* [0m] (1 of 2) A start job is running for wicked managed network interfaces (44s / no limit)
    37. [K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] (2 of 2) A start job is running for Update cron periods from /etc/sysconfig/btrfsmaintenance (44s / no limit)
    38. [K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] (2 of 2) A start job is running for Update cron periods from /etc/sysconfig/btrfsmaintenance (45s / no limit)
    39. [K[[0;32m OK [0m] Started wicked managed network interfaces.
    40. [[0;32m OK [0m] Reached target Network.
    41. Starting MySQL server...
    42. [[0;32m OK [0m] Started CUPS Scheduler.
    43. [[0;32m OK [0m] Started Make remote CUPS printers available locally.
    44. Starting NTP Server Daemon...
    45. [[0;32m OK [0m] Started Start the rsync server daemon.
    46. Starting OpenSSH Daemon...
    47. [[0;32m OK [0m] Started System wide PulseAudio instance.
    48. Starting Notify NFS peers of a restart...
    49. [[0;32m OK [0m] Started GNU Krell Monitors server.
    50. [[0;32m OK [0m] Reached target Network is Online.
    51. Starting Login and scanning of iSCSI devices...
    52. Mounting /home/stefan/Dokumente...
    53. [[0;32m OK [0m] Started Notify NFS peers of a restart.
    54. [[0;32m OK [0m] Started Login and scanning of iSCSI devices.
    55. [[0;32m OK [0m] Started OpenSSH Daemon.
    56. [[0;1;31mFAILED[0m] Failed to mount /home/stefan/Dokumente.
    57. See 'systemctl status home-stefan-Dokumente.mount' for details.
    58. [[0;1;33mDEPEND[0m] Dependency failed for Remote File Systems.
    59. Starting Automounts filesystems on demand...
    60. Starting Permit User Sessions...
    61. [[0;32m OK [0m] Started Permit User Sessions.
    62. Starting Hold until boot process finishes up...
    63. [[0;32m OK [0m] Started Automounts filesystems on demand.
    64. Starting Login Service...
    65. [[0;32m OK [0m] Started NTP Server Daemon.
    Alles anzeigen
    Das System versucht des NFS Verzeichnis zu mounten bevor das Netzwerk Online ist. Das Netzwerk wird als wicked, also beim Booten gestartet, ohne Networkmanager.


    Wie kann ich das hinbiegen das das Verzeichnis erst nach dem Netzwerk gemountet wird ?

    Für den Inhalt des Beitrages 126770 haftet ausdrücklich der jeweilige Autor: redtop

  • Quellcode

    1. [Unit]
    2. Description=Alias for NFS client
    3. # The systemd alias mechanism (using symlinks) isn't rich enough.
    4. # If you "systemctl enable" an alias, it doesn't enable the
    5. # target.
    6. # This service file creates a sufficiently rich alias for nfs-client
    7. # (which is the canonical upstream name)
    8. # "start", "stop", "restart", "reload" on this will do the same to nfs-client.
    9. # "enable" on this will only enable this service, but when it starts, that
    10. # starts nfs-client, so it is effectively enabled.
    11. # nfs-server.d/nfsserver.conf is part of this service.
    12. Requires= nfs-client.target
    13. PropagatesReloadTo=nfs-client.target
    14. [Service]
    15. Type=oneshot
    16. RemainAfterExit=yes
    17. ExecStart=/bin/true
    18. [Install]
    19. WantedBy=multi-user.target
    Alles anzeigen
    Den Eintrag after gibt es nicht ?

    Für den Inhalt des Beitrages 126784 haftet ausdrücklich der jeweilige Autor: redtop

  • In cat /usr/lib/systemd/system/nfs-client.target

    finde ich After=rpc-gssd.service rpc-svcgssd.service gssproxy.service


    Quellcode

    1. cat /usr/lib/systemd/system/nfs-client.target
    2. [Unit]
    3. Description=NFS client services
    4. Before=remote-fs-pre.target
    5. Wants=remote-fs-pre.target
    6. # Note: we don't "Wants=rpc-statd.service" as "mount.nfs" will arrange to
    7. # start that on demand if needed.
    8. Wants=rpc-statd-notify.service
    9. # GSS services dependencies and ordering
    10. Wants=auth-rpcgss-module.service
    11. After=rpc-gssd.service rpc-svcgssd.service gssproxy.service
    12. [Install]
    13. WantedBy=multi-user.target
    14. WantedBy=remote-fs.target
    Alles anzeigen

    Für den Inhalt des Beitrages 126786 haftet ausdrücklich der jeweilige Autor: redtop