CIFS VFS: cifs_mount failed w/return code = -112
Environment
- Red Hat Enterprise Linux (all versions)
- CIFS
Issue
- Unable to mount CIFS Share from Windows Server 2012 R2 Server
# mount -a
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Resolution
- If CIFS Server is not reachable, CIFS Server needs to be restarted.
- If there is an anomaly with private end point on CIFS Server storage account, the private end point needs to be deleted then recreated.
Root Cause
- CIFS Server is not reachable, or there is an anomaly with private end point on CIFS Server storage account.
Diagnostic Steps
- Verify
ifconfigon CIFS client to ensure the network is up. - Verify
/etc/fstabfor IP address of CIFS server, then check if the entry is in/etc/hostsfile. - Verify
/ect/resolv.confentries are proper. - The errors below will be shown in /var/log/messages:
Mar 2 19:30:47 host kernel: CIFS VFS: cifs_mount failed w/return code = -112
Mar 2 19:30:47 host kernel: CIFS VFS: cifs_mount failed w/return code = -112
Mar 2 20:20:17 host kernel: CIFS VFS: cifs_mount failed w/return code = -112
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments