FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 08-07-2008, 02:01 AM
"Robert S"
 
Default CIFS mount errors

I have several mounted CIFS shares to a Win XP Pro server. This
usually functions well for a few days/hours then I get input/output
errors. When I unmount them and try to reconnect I get:

# mount -a -t cifs
mount error 5 = Input/output error
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
mount error 5 = Input/output error
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)


I get this in my syslog

Aug 7 11:39:38 debian kernel: CIFS VFS: Send error in SessSetup = -5
Aug 7 11:39:38 debian kernel: CIFS VFS: cifs_mount failed w/return code = -5
Aug 7 11:39:38 debian kernel: CIFS VFS: Send error in SessSetup = -5
Aug 7 11:39:39 debian kernel: CIFS VFS: cifs_mount failed w/return code = -5

I hope somebody can help with this - its a very frustrating problem.
I haven't found a fix anywhere on the net.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-09-2008, 12:19 PM
Florian Kulzer
 
Default CIFS mount errors

On Thu, Aug 07, 2008 at 12:01:31 +1000, Robert S wrote:
> I have several mounted CIFS shares to a Win XP Pro server. This
> usually functions well for a few days/hours then I get input/output
> errors. When I unmount them and try to reconnect I get:
>
> # mount -a -t cifs
> mount error 5 = Input/output error
> Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
> mount error 5 = Input/output error
> Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
>
>
> I get this in my syslog
>
> Aug 7 11:39:38 debian kernel: CIFS VFS: Send error in SessSetup = -5
> Aug 7 11:39:38 debian kernel: CIFS VFS: cifs_mount failed w/return code = -5
> Aug 7 11:39:38 debian kernel: CIFS VFS: Send error in SessSetup = -5
> Aug 7 11:39:39 debian kernel: CIFS VFS: cifs_mount failed w/return code = -5
>
> I hope somebody can help with this - its a very frustrating problem.
> I haven't found a fix anywhere on the net.

This is a stab in the dark: Did you already try to explicitly disable
the Linux extensions? Run

echo "0" > /proc/fs/cifs/LinuxExtensionsEnabled

before you mount the share.

--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 05:25 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org