How to add dependencies in RHEL7 systemd service configuration file using local or remote filesystems ?
Issue
- Why is RHEL7 system hung with
systemd[]: Timed out waiting for deviceerror at boot time ? - Why my RHEL7
systemdservice using a Filesystem device, not available in time ? - Why is
journaclctlshowingsystemd[]:Timed out waiting for device dev-mapper-VG\LV.deviceerror messages ? - Why are RHEL7 boot error messages seen similar to
[Time] Timed out waiting for device dev-mapper-VG\LV.device? - How to add Filesystem dependencies in systemd Service configuration file, when a service requires remote Filesystems (FC / Network / FCoE) to be available ?
- Is there another way apart from using
_netdevoption in/etc/fstabto fix the RHEL7systemdservice requiring remote Filesystems to be available / mounted issue at boot ? - Using
RequiresandAfterin RHEL7 systemd for service configuration file.
Environment
- Red Hat Enterprise Linux (RHEL 7.1)
- systemd
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
