Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Distribution: Red Hat Enterprise Linux v 2.1, v 3, v 4
Posts: 174
Original Poster
Rep:
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.
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:
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
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 ?
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?
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.
Distribution: Fedora 22, Debian 8, Centos 6/7 for servers
Posts: 101
Rep:
Quote:
Originally Posted by yoconono
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.