You are not logged in.

#1 2014-02-11 23:39:43

Nickoladze
Member
Registered: 2014-02-11
Posts: 2

Mounting cifs: 'No such file or directory'

I have a share on a local Windows machine that stopped working at some point over the last few weeks after running for months. As far as I can tell, it isn't a problem on the server side as Windows machines on the same network can access it just fine. I'm guessing it happened after an update, but I'm not exactly what package it was and when it happened, I just noticed it was broken yesterday.

Here's what I have in my /etc/fstab:
//blaqk/Spanned /mnt/blaqk/Spanned cifs username=Administrator,password=XXXXX,workgroup=WORKGROUP,comment=systemd.automount,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0

Running mount -a gives me:
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Manually running mount with the arguments returns the same.
Running with --verbose gives:
mount.cifs kernel mount options: ip=192.168.1.100,unc=\\blaqk\Spanned,user=Administrator,,domain=WORKGROUP,pass=********

I'm not able to determine which file or directory is missing.
I know the 'Spanned' share exists on blaqk from running smbclient -L blaqk.
/mnt/blaqk/Spanned exists, I've set permissions to 0777 just in case.

The mount options noserverino and nobrl didn't help, I saw them mentioned a few times in search results.
Switching from the machine name to the static ip address 192.168.1.100 didn't work either.

One thing I noticed that was weird was cifs-utils wasn't installed. I installed it, still got the same error, and then attempted to uninstall it when pacman told me smbclient depended on it. Why wasn't it installed before if smbclient depended on it?
/etc/samba/smb.conf didn't exist, nor did the /etc/samba directory, but I've seen that it isn't required. I made them anyways, still no change.

Any ideas? I'm going crazy trying to figure this out. Any help is appreciated!

edit: I feel silly, a reboot fixed it somehow. I never thought that would work outside Windows. smile Hopefully this helps somebody else...

Last edited by Nickoladze (2014-02-12 00:07:48)

Offline

Board footer

Powered by FluxBB