Bug 7598 - using folder redirection onto samba may lead to smbd sync locking
using folder redirection onto samba may lead to smbd sync locking
Status: RESOLVED INVALID
Product: Samba 3.4
Classification: Unclassified
Component: File services
3.4.8
x64 Linux
: P3 major
: ---
Assigned To: Volker Lendecke
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-30 06:12 UTC by Rick Moritz
Modified: 2010-07-30 07:02 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Moritz 2010-07-30 06:12:22 UTC
I have been using folder redirection (all folders that are relocatable) in win2k8r2 onto my samba 3.4.8. The underlying stack (of the working fs, not the samba binaries) is jfs/xfs-->dmcrypt-->mdraid-->blockdev.
Both with jfs and xfs, after only a few days of operation, the client would start complaining (sync issues, "disk full", etc), and closer examination would show that several smbd's were stuck (impervious to kill -9), apparently unable to sync. This would sync lock the entire fs, preventing unmounting and safe rebooting, often leading to file(-system) corruption.
After one incident with each fs and never having had similar issues before (though not using folder redirection before, thus only having light io loads on samba) I decided to ditch 3.4.8, but ran into a blocker on 3.5.4.
Since then I have upgraded the kernel from 2.6.32-hardened-r10 to 2.6.34-hardened-r1, but due to the risk of major data loss, I am quite reluctant to give 3.4.8 another try on the new kernel. It's also of note that -only- smbd's would lock up, no other processes would show similar behaviour.
Comment 1 Volker Lendecke 2010-07-30 07:02:11 UTC
Unkillable smbd processes (state D, survive kill -9) is a kernel bug. This is not a Samba problem.

Closing as invalid, please report to the kernel people.

Thanks,

Volker