How to add dependencies in RHEL7 systemd service configuration file using local or remote filesystems ?

Solution Verified - Updated -

Issue

  • Why is RHEL7 system hung with systemd[]: Timed out waiting for device error at boot time ?
  • Why my RHEL7 systemd service using a Filesystem device, not available in time ?
  • Why is journaclctl showing systemd[]:Timed out waiting for device dev-mapper-VG\LV.device error 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 _netdev option in /etc/fstab to fix the RHEL7 systemd service requiring remote Filesystems to be available / mounted issue at boot ?
  • Using Requires and After in 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.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.