Fix a Samba/CIFS mount failing with mount error(112): Host is down
The diagnosis matches mount.cifs(8), which confirms the client has negotiated only SMB2.1+ by default since v4.13.5 and that SMB1 is no longer requested, so error 112 as a dialect mismatch is right, as is 'helper program not found' meaning cifs-utils is absent. Two concrete defects: install -m600 /dev/null /etc/samba/credentials-nas fails outright when /etc/samba does not exist, which is the normal state on a box with cifs-utils but not samba. The copy-paste dies there. And the record offers vers=1.0 with no security warning, while the man page explicitly says SMB1 has 'much weaker security'.
vers=1.0 enables SMB1, which the man page calls much weaker security. Use it only on an isolated LAN device that supports nothing newer. Also: a credentials file must be chmod 600, because plaintext passwords in a world-readable fstab or credentials file expose the account.
Symptom
Mounting a Windows or NAS share fails immediately:
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
The server pings fine and is reachable from other machines. Sometimes the first symptom instead is mount: /mnt/share: bad option; ... helper program not found or mount error(13): Permission denied.
Cause
Despite the wording, error 112 is almost always a protocol dialect mismatch, not an unreachable host. Since kernel v4.13.5 the client negotiates the highest dialect ≥ 2.1 and SMB1 is no longer requested by default. Older NAS boxes and printers that only speak SMB1 answer with nothing the client accepts. helper program not found means the cifs-utils package is missing entirely.
Fix
sudo pacman -S --needed cifs-utils
Probe which dialect the server accepts, newest first, and stop at the first that works:
sudo mkdir -p /mnt/share
sudo mount -t cifs //192.168.1.50/share /mnt/share -o username=me,vers=3.1.1
sudo mount -t cifs //192.168.1.50/share /mnt/share -o username=me,vers=3.0
sudo mount -t cifs //192.168.1.50/share /mnt/share -o username=me,vers=2.0
Only if none of those work, and understanding that SMB1 is unauthenticated-downgrade-prone and should never cross an untrusted network:
sudo mount -t cifs //192.168.1.50/share /mnt/share -o username=me,vers=1.0,sec=ntlmssp
Create the credentials file with -D so the directory is created too:
sudo install -Dm600 /dev/null /etc/samba/credentials-nas
sudo tee /etc/samba/credentials-nas >/dev/null <<'EOF'
username=me
password=secret
domain=WORKGROUP
EOF
sudo chmod 600 /etc/samba/credentials-nas # tee does not change mode, but verify
fstab entry (substitute the vers= that actually worked):
//192.168.1.50/share /mnt/share cifs credentials=/etc/samba/credentials-nas,vers=3.0,uid=1000,gid=1000,file_mode=0644,dir_mode=0755,noauto,nofail,_netdev,x-systemd.automount,x-systemd.idle-timeout=600 0 0
sudo systemctl daemon-reload
sudo systemctl start mnt-share.automount
ls /mnt/share
Verify
mount | grep cifs shows the share mounted with the expected vers=, files are readable, and dmesg | tail has no new CIFS errors.