wiki:samba_troubleshooting
Table of Contents
samba troubleshooting
mount error(115): Operation now in progress
Full error:
mount error(115): Operation now in progress Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
This could happen if it tries to mount via dns name and it resolves to IPv6 e.g. example from fstab:
#//u111111.your-storagebox.de/backup /mnt/backup-storage cifs iocharset=utf8,rw,credentials=login.txt,file_mode=0660,dir_mode=0660 0 0
Try pinging the u111111.your-storagebox.de to get the ipv4 address (ping -4 u111…
) and enter that in /etc/fstab/ (example if ping resolves to 11.22.33.44):
//11.22.33.44/backup /mnt/backup-storage cifs iocharset=utf8,rw,credentials=login.txt,file_mode=0660,dir_mode=0660 0 0
then try
mount -a
Another solution is to prefer ipv4 over ipv6 and the dns name should work again.
CIFS: Status code returned 0xc000006d STATUS_LOGON_FAILURE
Error from journalctl -xe
:
...kernel: CIFS: VFS: \\uxxxxxx.your-storagebox.de Send error in SessSetup = -13 ...kernel: CIFS: Status code returned 0xc000006d STATUS_LOGON_FAILURE
When trying to ls
the directory the error is:
ls: /mnt/backup-storage: Host is down
The above happened when using the Hetzner storage box. When using the IP address the mounting works. Another workaround is to leave the DNS name and lazy unmount and remount the cifs share e.g.
umount -l /mnt/backup-storage mount -a
Try a couple of times above and then check with df -h
and it should work again.
Tested on
See also
References
wiki/samba_troubleshooting.txt · Last modified: 2023/06/26 14:38 by antisa