My Oracle Support Banner

Error configuring mount unit file to mount a filesystem (Doc ID 2536440.1)

Last updated on MAY 06, 2019

Applies to:

Linux OS - Version Oracle Linux 7.0 with Unbreakable Enterprise Kernel [3.8.13] and later
Linux x86-64

Symptoms

 When configuring mount unit file to mount a filesystem, it fails with the following error:

# systemctl start test.mount
Failed to start test.mount: Unit is not loaded properly: Invalid argument.
See system logs and 'systemctl status test.mount' for details.

# systemctl status test.mount
● test.mount - Test Mount Units
Loaded: error (Reason: Invalid argument)
Active: inactive (dead)
Where: /home/test
What: /dev/xvdb1

The /var/log/messages file shows the same errors:

Changes

Under /etc/systemd/system the mount unit file was created with name "test.mount".
The mount point directory created is /home/test.
Under the mount unit file options in the "Where=" the mount point configured is /home/test.
The device where the filesystem will be mounted is /dev/xvdb1 and it was defined under "What=" option.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.