CIFS share not getting mounted after reboot "cifs_mount failed w/return code = -2"
Issue
- CIFS not mounted properly after reboot on CIFS client.Failing to mount automatically after reboot.
Apr 22 14:07:33 systemd: Mounting /interface/sheets...
Apr 22 14:07:34 mount: mount error(2): No such file or directory
Apr 22 14:07:34 mount: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Apr 22 14:07:34 kernel: CIFS VFS: cifs_mount failed w/return code = -2
Apr 22 14:07:34 systemd: interface-sheets.mount mount process exited, code=exited status=32
Apr 22 14:07:34 systemd: Failed to mount /interface/sheets.
Apr 22 14:07:34 systemd: Dependency failed for Remote File Systems.
Apr 22 14:07:34 systemd: Job remote-fs.target/start failed with result 'dependency'.
Apr 22 14:07:34 systemd: Unit interface-sheets.mount entered failed state.
Environment
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.