You are not logged in.

#1 2008-05-26 23:58:08

WiLLiE
Member
From: Sweden
Registered: 2005-02-27
Posts: 135

[Solved] cifs no longer works

Since I installed the latest kernel (2.6.25-arch) and rebooted, cifs no longer works.
Before that it worked perfectly.

It fails with the following:

willie ~ > sudo mount /mnt/mntpoint
mount error 20 = Not a directory
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

I have this entry in fstab: (among others)

//ip/share /mnt/mntpoint cifs credentials=/home/willie/.smbpassword,uid=1000,gid=1000,noauto 0 0

.smbpassword contains:

username=xxx
password=xxx

...what's up?

Last edited by WiLLiE (2008-05-27 02:58:13)

Offline

#2 2008-05-27 02:57:47

WiLLiE
Member
From: Sweden
Registered: 2005-02-27
Posts: 135

Re: [Solved] cifs no longer works

Fixed.
For some reason I now have to disable LinuxExtensionsEnabled.

Any tips on a good place to execute this on startup?

echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled

Last edited by WiLLiE (2008-05-27 12:27:01)

Offline

#3 2008-05-27 12:20:56

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

Re: [Solved] cifs no longer works

/etc/rc.local would be a good place.

Offline

#4 2008-05-27 13:42:38

Usul
Member
Registered: 2007-05-17
Posts: 31

Re: [Solved] cifs no longer works

Other solution: Add "nounix" to the mount options:

//ip/share /mnt/mntpoint cifs credentials=/home/willie/.smbpassword,uid=1000,gid=1000,noauto,nounix 0 0

Offline

Board footer

Powered by FluxBB