SUSE Support

Here When You Need Us

Changes in /etc/fstab don't get applied automatically

This document (7016690) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 12

Situation

If a mount entry in /etc/fstab is changed, the changes don't get applied automatically.

For example, if a mount, configured in /etc/fstab, fails during boot, the system will go
into the emergency shell.
From there, it is not sufficient to just comment out the failing fstab entry and then to exit the
emergeny shell to continue booting (this was the procedure in SLES11).

Resolution

Systemd generates mount units for each entry in /etc/fstab.
These mount units don't get updated automatically when fstab is modified.
It is required to run the command:

systemctl daemon-reload

in order to update the mount units.

Alternatively, the update can be achieved by rebooting the system.
This will recreate all mount units using the current fstab settings.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7016690
  • Creation Date: 16-Jul-2015
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.