Flanders, Dean
2007-Aug-05 18:31 UTC
[Samba] sam-fs and samba (copy while staging / timeout)
Hello all, I know about the patch from Tobias Oetiker to samba that helps with the handling of offline files by putting a little clock on them, etc. I also know about samnet, which we are testing. However, I have noticed another issue with samba and sam-fs integration, that is the file does not start copying from samba to the client until the file is completely staged (increasing the copy time). This is a problem if a person is copying large file, this can take awhile and then timeout on the Windows client. Ironically if I copy the file with cp on the Solaris box to the standard file system, I see the file copying as it is being staged. I can even NFS mount another Solaris box, and I see the file getting larger as I copy to the NFS share. I spoke with someone from Sun Germany, and they stated that some functionality is being added into samba 3.0.26 to better integrate with sam-fs, but I am not sure if that is relevant. So my questions are: - Can I prevent this timeout error (without modifying users registry settings)? - Can I get samba to start copying the file while it is being staged? Any help is appreciated as we just implemented the system and this issue could be a show stopper. Thanks! Dean Phone +41 61 697 5851 Fax +41 61 697 39 76 dean.flanders@fmi.ch Maulbeerstrasse 66, 4058 Basel, Switzerland Friedrich Miescher Institute for Biomedical Research a part of the Novartis Research Foundation
Volker Lendecke
2007-Aug-06 03:32 UTC
[Samba] sam-fs and samba (copy while staging / timeout)
On Sun, Aug 05, 2007 at 08:10:50PM +0200, Flanders, Dean wrote:> So my questions are: > - Can I prevent this timeout error (without modifying users registry > settings)?You might want to try 'aio read size = 1', given that you have compiled Samba with aio support. Volker