You are not logged in.

#1 2014-10-25 00:30:30

bradgillap
Member
Registered: 2014-10-18
Posts: 12

cifs stopped working after kernel update

This was working yesterday.in my fstab


//192.168.1.14/disk /media/NAS cifs users,comment=systemd.automount,nofail,rw,guest 0 0

Today I get


Couldn't chdir to /media/NAS no such device


I can however access 192.168.1.14 via xbmc still and I have rebooted everything on the network. I can modprobe fuse and cifs stuff no problem so that should be okay.

What's next?

Offline

#2 2014-10-25 01:27:16

bradgillap
Member
Registered: 2014-10-18
Posts: 12

Re: cifs stopped working after kernel update

Okay so I recreated the share

1. commented out the line in the fstab for the mount point
2. rebooted
3. deleted the folder for the mount point in /media
4. recreated the mount point and set permissions
5. added this line back to the fstab but I had to add sec=ntlm

I'm not sure what sec=ntlm does but it's working.

Since it wasn't showing me files I went to remove the NAS point without removing it from fstab and realized I was losing data!  Lesson learned. Make sure it's truly not mounted firs despite error. I mostly lost movies so it's alight but my wife might be annoyed.


Anyway here was the new line after the whole mess for stab.

//192.168.1.14/disk /media/NAS/ cifs users,sec=ntlm,comment=systemd.automount,nofail,rw,guest 0 0

Offline

Board footer

Powered by FluxBB