LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-17-2005, 09:47 AM   #16
bobmclaren
LQ Newbie
 
Registered: Nov 2005
Location: Senoia, GA
Distribution: Latest Fedora
Posts: 14

Rep: Reputation: 0

I agree, I've got the same problem going on on my FC3 2.6.11-1.35_FC3smp.
 
Old 02-01-2006, 06:23 AM   #17
yoconono
LQ Newbie
 
Registered: Feb 2006
Posts: 1

Rep: Reputation: 0
My experience

Hello,

I encounter exactly the same problem yesteraday with a RH EL3.

Samba freeze each time a user try to write de file to a drive.

After a pretty long search and few tests, i found the smb daemon was absolutely not in fault. The problems comes from another smb mount on the computer (mounted as a client, not used by smb daemon). Unmounting the share was enough to solve me problem.
Nowhere is the log i can get a clear information about the problem (only the error reported in this thread) and regenerating cache/ restarting smb daemon has no effect.
A reboot should have probably fixed the problem but unmount/mount all the smb mapping might help you to.


About 4h of intensive search anyway....

Last edited by yoconono; 02-01-2006 at 06:24 AM.
 
Old 10-25-2006, 03:18 AM   #18
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

Rep: Reputation: 32
I am still suffering from this error. could that be?
 
Old 10-25-2006, 11:28 AM   #19
jhibbets
Red Hat
 
Registered: Sep 2003
Location: Raleigh, NC
Distribution: Red Hat Enterprise Linux v 2.1, v 3, v 4
Posts: 174

Original Poster
Rep: Reputation: 30
more troubleshooting

Glad to see that others are seeing this as well...I'm going to look back into this issue over the weekend to see if I can find out any additional logs or clues as to why this might be happening.

Post more later...
Jason
 
Old 10-25-2006, 12:49 PM   #20
tola555
LQ Newbie
 
Registered: Sep 2005
Posts: 20

Rep: Reputation: 0
I have same problem.

client, smbfs, using Smb4K to connect:
Code:
smb_add_request: request [c2f1ed80, mid=14885] timed out!
xmms does not stop playing but konqueror file browser hangs. It becomes all white for some time and I can still seek xmms song wherever I want(It can read!)
Sometime konqueror does not recover and then xmms hangs too.

some more errors on client side I have lots of them:
Code:
kernel: smb_writepage_sync: failed write, wsize=1024, write_ret=-5
kernel: smb_writepage_sync: failed write, wsize=4096, write_ret=-512
kernel: smb_file_write: somefile.tar validation failed, error=4294967291
There is no errors on server side.

Server is sempron am2 running debian etch 64bit version
2.6.16-2-amd64-k8 CEST 2006 x86_64 GNU/Linux

samba 3.0.23c-2
samba-common 3.0.23c-2
samba-doc
libsmbclient 3.0.23c-2

Client is p4
2.6.15-1-686 UTC 2006 i686 GNU/Linux

samba-common 3.0.23c-1
libsmbclient 3.0.23c-1
smb4k 0.7.2-1
smbclient 3.0.23c-1
smbfs 3.0.23c-1
 
Old 10-26-2006, 12:44 AM   #21
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

Rep: Reputation: 32
well i finally tried the windows way of doing it:

The two basic principles of Windows system administration:

* For minor problems, reboot
* For major problems, reinstall


But as this is linux I what a real answer to this problem.
 
Old 10-26-2006, 10:01 AM   #22
jhibbets
Red Hat
 
Registered: Sep 2003
Location: Raleigh, NC
Distribution: Red Hat Enterprise Linux v 2.1, v 3, v 4
Posts: 174

Original Poster
Rep: Reputation: 30
Update from Samba.org

I sent this thread to the Samba team and got a reply:

On Wed, Oct 25, 2006 at 12:34:38PM -0400, Jason Hibbets wrote:
> > http://www.linuxquestions.org/questi...d.php?t=280936

That's a smbfs problem. smbfs is unmaintained and about to
be removed from the kernel. You might want to try cifsfs.

Volker
 
Old 10-26-2006, 12:21 PM   #23
tola555
LQ Newbie
 
Registered: Sep 2005
Posts: 20

Rep: Reputation: 0
thats bad. I have owner/group problems with cifsfs.
from server side:
Code:
-rw-r--r-- 1 1000 1000     2923 2006-08-31 01:03 test.txt
-rw-r--r--  1 userx userx     2923 2006-08-31 01:03 test.txt
that user and group id (1000) is used on clients too. By default first user gets that id on most my systems whatever his/her username is. When I log on there comes problem with permissions and possibly security threat.
but thats other story
 
Old 10-27-2006, 01:40 AM   #24
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

Rep: Reputation: 32
does that mean i can forget my:

smbmount //servername/share-name /target-dir -o username=bob,uid=root

????

And use

mount -cifs //servername/share-name /target-dir -o username=bob,uid=root

Did I read that right?

Can somebody give me a technical doku, as I would like to get an answer to the following questions:
- Why is smbfs unsupported ?
- Whats the difference between smbfs an cifs ?

OK: http://linux-cifs.samba.org/

Last edited by saavik; 10-27-2006 at 01:48 AM.
 
Old 04-19-2007, 03:29 AM   #25
borchen
Member
 
Registered: Feb 2005
Posts: 57

Rep: Reputation: 15
Quote:
thats bad. I have owner/group problems with cifsfs.
from server side:
Code:

-rw-r--r-- 1 1000 1000 2923 2006-08-31 01:03 test.txt -rw-r--r-- 1 userx userx 2923 2006-08-31 01:03 test.txt
I'm having exactly the same problems with cifs mounts; but only when I mount to another Linux/Samba server. When I connect to a Windows 2000 box everything seems to work perfectly.

The mount command looks like this:

Quote:
mount -t cifs -o user=Administrator,uid=LOCALUSERID,gid=LOCALGROUPID //SERVER/SHARENAME DIR/SHARENAME
As you can see I use the options uid & gid to specify which local user/group is owner of the files in the mount, but this does not work with mounts to a Linux/Samba server; I get 'strange' uid and gid instead.

Is there a mount.cifs option to get rid of this owner/group problem?

Last edited by borchen; 04-19-2007 at 04:14 AM.
 
Old 07-18-2007, 04:33 PM   #26
thelinuxdude
LQ Newbie
 
Registered: Jul 2007
Posts: 2

Rep: Reputation: 0
A solution if you don't mind patching your kernel.

Recently, I posted a patch to the lists.samba.org for a patch to fix smbfs to work like it does in 2.4. This patch allows your system to recover after smb times out due to a lost connection.

The patch is based on the original smbfs in 2.4

Since smbfs is being removed, I suggest using CIFS. We don't because of the following reasons:

1. netbios name resolver does not work when using mount.cifs.
2. if the ip address changes on the server due to dhcp, CIFS does not reconnect if using an ip address (you have to use an ip address if you can only resolve by netbios name).

You should be able to find the patch on the samba mailing list.
 
Old 04-02-2008, 01:31 AM   #27
cam34
Member
 
Registered: Aug 2003
Distribution: Fedora 22, Debian 8, Centos 6/7 for servers
Posts: 101

Rep: Reputation: 16
Quote:
Originally Posted by yoconono View Post
Hello,

I encounter exactly the same problem yesteraday with a RH EL3.

Samba freeze each time a user try to write de file to a drive.

After a pretty long search and few tests, i found the smb daemon was absolutely not in fault. The problems comes from another smb mount on the computer (mounted as a client, not used by smb daemon). Unmounting the share was enough to solve me problem.
Nowhere is the log i can get a clear information about the problem (only the error reported in this thread) and regenerating cache/ restarting smb daemon has no effect.
A reboot should have probably fixed the problem but unmount/mount all the smb mapping might help you to.


About 4h of intensive search anyway....
Thanks! Sorted me out
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba timed out Lechio Linux - Networking 2 11-17-2008 04:23 PM
samba: 5718 session request failed ragecyr Linux - Networking 7 06-10-2005 12:21 PM
Samba config request gets redirected condosolon Linux - Software 0 03-04-2004 12:34 AM
win samba printer request vanishes in RH9 hartings Linux - Networking 2 12-22-2003 04:17 PM
Samba nmbd/smbd starting by client request to fileserver snocked Linux - Networking 0 11-11-2003 04:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration