Bug 11448
Summary: | samba mount times out | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Wagner T. Correa <wtcorrea> |
Component: | samba | Assignee: | Trond Eivind Glomsrxd <teg> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | cliffhoogervorst, wtcorrea |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2000-11-26 03:43:39 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Wagner T. Correa
2000-05-16 16:09:59 UTC
The samba package in 6.2 should help solve the timeout problem. I already have installed samba 2.0.6-9 and kernel 2.2.14-12, which are the ones in RedHat 6.2, but the samba mount timeout problem persists. I added the following line to /etc/rc.d/rc.local, and the problem was solved: while : ; do { df --sync --type=smbfs >/dev/null; sleep 123; }; done & This *should* be fixed better in 2.0.7-24. The fix in 2.0.7-24 is not enough, it is not the only cause. There is a signal related bug in smbfs in < 2.2.18 that commonly kill mounts with a "smb_retry: signal failed, error=-3" message in the kernel log. 2.2.18 or 2.4.0 should improve on that, but there is still an issue with SIGSTOP/SIGKILL. Running strace/gdb on multithreaded programs accessing smbfs will not work well. The fix includes temporarily blocking those signals but also make sure you don't sleep while blocking them. (Hmm, maybe I should post it as a bug and let you keep track of my bugs for me ... :) Keeping smbmount alive have been the #1 problem in smbfs, judging from the samba mailinglist. I would not be surprised to see it come back. Bugs# 17820, 19623 appear to be duplicates of this. /Urban |