Re: [Samba] Samba file share slowdown
On Fri, Mar 11, 2011 at 05:38:20PM -0800, James Hurlburt wrote: The thought was that the dos workstations would be unhappy with ntfs. I may well have been wrong there. I found the key bit. For a share with multiple stations sharing dbf files using CA clipper 5.2 as the program language, optlocks need to be off. The part about clipper and dbf files may not be a specific part of my problem, multiple stations attempting to share read/write acess certainly is. We have half a dozen or so dbf files that are heavily shared between perhaps 30 workstations. Setting oplocks off made a huge difference. The online help seems to suggest the opposite-- that oplocks would be a positive influence on multiple access useage, the chapter in the docs that I finally found that explains it wasn't easy to find. I didn't find it till someone else suggested this fix. When I searched with that question in mind I found it. oplocks should be a positive influence on access - but not multiple usage access. They work for one opener of a file. However, if clients work correctly they shouldn't have any detrimental effect for multiple openers, but if you found a fix that works, I'm just happy :-). Cheers, Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba file share slowdown
On Tue, Mar 08, 2011 at 10:41:19AM -0800, James Hurlburt wrote: Jeremy: Looks like I may have made a mistake attaching the file. Here is my smb.conf in the email. If both trys actually worked, please ignore one. The only strange thing I can see is: fstype = FAT in your share definitions. Why are you setting that ? Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba file share slowdown
The thought was that the dos workstations would be unhappy with ntfs. I may well have been wrong there. I found the key bit. For a share with multiple stations sharing dbf files using CA clipper 5.2 as the program language, optlocks need to be off. The part about clipper and dbf files may not be a specific part of my problem, multiple stations attempting to share read/write acess certainly is. We have half a dozen or so dbf files that are heavily shared between perhaps 30 workstations. Setting oplocks off made a huge difference. The online help seems to suggest the opposite-- that oplocks would be a positive influence on multiple access useage, the chapter in the docs that I finally found that explains it wasn't easy to find. I didn't find it till someone else suggested this fix. When I searched with that question in mind I found it. Thanks for your help, overall samba is a very good thing. Jim Hurlburt Yakima, WA On 3/11/11, Jeremy Allison j...@samba.org wrote: On Tue, Mar 08, 2011 at 10:41:19AM -0800, James Hurlburt wrote: Jeremy: Looks like I may have made a mistake attaching the file. Here is my smb.conf in the email. If both trys actually worked, please ignore one. The only strange thing I can see is: fstype = FAT in your share definitions. Why are you setting that ? Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Samba] file share slowdown
Jeremy: Attached is the working smb.conf, created with swat. Thanks for your attention, Jim -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Samba file share slowdown
Jeremy: Looks like I may have made a mistake attaching the file. Here is my smb.conf in the email. If both trys actually worked, please ignore one. Jim # Samba config file created using SWAT # from UNKNOWN (10.23.0.118) # Date: 2011/03/07 12:24:08 [global] workgroup = ATRIUM-DW server string = %h server (Samba, Ubuntu) map to guest = Bad User obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . unix password sync = Yes lanman auth = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 deadtime = 15 dns proxy = No default service = global usershare allow guests = Yes panic action = /usr/share/samba/panic-action %d [printers] comment = All Printers path = /var/spool/samba create mask = 0700 printable = Yes browseable = No browsable = No [print$] comment = All Printers path = /var/spool/samba valid users = @users admin users = @admin read only = No create mask = 0700 guest ok = Yes browseable = No browsable = No [bestbilt] path = /atrium/bestbilt valid users = @users admin users = @admin force group = users read only = No create mask = 0664 force create mode = 0664 directory mask = 0775 force directory mode = 0775 strict locking = No fstype = FAT [vol1] path = /atrium/vol1 valid users = @users admin users = @admin force group = users read only = No create mask = 0664 force create mode = 0664 directory mask = 0775 force directory mode = 0775 fstype = FAT [programs] path = /atrium/programs valid users = @users admin users = @admin force group = users read only = No create mask = 0664 force create mode = 0664 directory mask = 0775 force directory mode = 0775 fstype = FAT [testjim] path = /atrium/testjim valid users = @computer admin users = @admin force group = computer read only = No create mask = 0664 force create mode = 0664 directory mask = 0775 force directory mode = 0775 [accounting] path = /atrium/accounting valid users = @accounting admin users = @admin force group = accounting read only = No create mask = 0660 force create mode = 0660 directory mask = 0770 force directory mode = 0770 [homes] comment = home directories valid users = %S admin users = @admin read only = No browseable = No browsable = No fstype = FAT [computer] path = /atrium/secure/COMPUTER valid users = @computer admin users = @admin force group = computer read only = No create mask = 0660 force create mode = 0660 directory mask = 0770 force directory mode = 0770 [testprinter2] printable = Yes -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba