Morgan, David S
2015-Jun-10 21:31 UTC
[Samba] vfs_fruit works great on OS X 10.9.5, 10.10.3 notsomuch
Hi,
I'm very happy to see the work done on vfs_fruit. This has been a
pain-point for our users for a long time now, and it seems like we're
finally close to a solution. Thanks, Ralph!
That said, we're still having some issues. I've installed Samba 4.2.2
from the SerNet Ubuntu package repo on a test VM running Xubuntu 14.04.2
LTS. I've set up Samba with a simple share and have populated a
directory "lots_of_files" with ~10,000 files.
When I connect from a Mac running 10.9.5 over a VPN from home (VM is on
a host at work), and browse the directory lots_of_files, the directory
listing shows up almost instantly (~7 seconds). When I browse from a
Mac running 10.10.3 over the same type of VPN connection, it goes for
over 3 minutes without showing anything. I've tried both tests over a
wired and wifi connection, and the results are the same.
Perhaps something has changed with one of the recent OS X 10.10 updates?
Not sure. Below is my smb.conf. Let me know if you need any additional
information.
Ralph, hilf mir! :-)
-D
# Global parameters
[global]
server string = %h server (Samba, Ubuntu)
server role = standalone server
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
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
print ok = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[share]
comment = Testing share for Samba 4.2
path = /d0/share
valid users = system
write list = system
read only = No
force create mode = 0660
force directory mode = 0770
vfs objects = catia fruit streams_xattr
fruit:aapl = yes
fruit:encoding = native
fruit:locking = none
fruit:metadata = stream
fruit:resource = file
Ralph Böhme
2015-Jun-11 06:35 UTC
[Samba] vfs_fruit works great on OS X 10.9.5, 10.10.3 notsomuch
Hi David, On Wed, Jun 10, 2015 at 09:31:49PM +0000, Morgan, David S wrote:> I'm very happy to see the work done on vfs_fruit. This has been a > pain-point for our users for a long time now, and it seems like we're > finally close to a solution. Thanks, Ralph!da nicht f?r! ;)> That said, we're still having some issues. I've installed Samba 4.2.2 > from the SerNet Ubuntu package repo on a test VM running Xubuntu 14.04.2 > LTS. I've set up Samba with a simple share and have populated a > directory "lots_of_files" with ~10,000 files. > > When I connect from a Mac running 10.9.5 over a VPN from home (VM is on > a host at work), and browse the directory lots_of_files, the directory > listing shows up almost instantly (~7 seconds). When I browse from a > Mac running 10.10.3 over the same type of VPN connection, it goes for > over 3 minutes without showing anything. I've tried both tests over a > wired and wifi connection, and the results are the same.Hm, works for me. Just tested with a directory with 10k files, Samba git master in a Linux VM on my Macbook with 10.10.3 and a forced 50 ms latency on the link between server and client (using Linux tc). The directory content is shown after 6 seconds.> Perhaps something has changed with one of the recent OS X 10.10 updates? > Not sure. Below is my smb.conf. Let me know if you need any additional > information.smb.conf looks good. Can you share a tcpdump? -Ralph -- SerNet GmbH, Bahnhofsallee 1b, 37081 G?ttingen phone: +49-551-370000-0, fax: +49-551-370000-9 AG G?ttingen, HRB 2816, GF: Dr. Johannes Loxen http://www.sernet.de,mailto:kontakt at sernet.de
Morgan, David S
2015-Jun-11 13:32 UTC
[Samba] vfs_fruit works great on OS X 10.9.5, 10.10.3 notsomuch
Hi Ralph, Ok, the problem was a PEBKAC issue. :-) Sorry to waste your time. In troubleshooting this earlier, I'd created the file "nsmb.conf" in my user Library directory with the following contents: [default] smb_neg=smb1_only In earlier troubleshooting, some folks suggested that might help the situation. It didn't, and I'd forgotten to remove it. I've removed it now, and now my Yosemite connections are lightning fast! (well, for sufficiently slow lightning... ;-) ) Thanks again. David On 6/11/15 2:35 AM, Ralph B?hme wrote:> Hm, works for me. Just tested with a directory with 10k files, Samba > git master in a Linux VM on my Macbook with 10.10.3 and a forced 50 ms > latency on the link between server and client (using Linux tc). The > directory content is shown after 6 seconds. >> Perhaps something has changed with one of the recent OS X 10.10 updates? >> Not sure. Below is my smb.conf. Let me know if you need any additional >> information. > smb.conf looks good. > > Can you share a tcpdump? > > -Ralph >-- David S Morgan, Ph.D. david_morgan at hms.harvard.edu Director http://wqcg.med.harvard.edu West Quad Computing Group Office: 617-651-0259 Harvard Medical School
Seemingly Similar Threads
- vfs_fruit works great on OS X 10.9.5, 10.10.3 notsomuch
- vfs_fruit works great on OS X 10.9.5, 10.10.3 notsomuch
- vfs_fruit kernel panic 10.9.5 when saving from adobe illustrator cc
- vfs_fruit: xattr imcompatible with netatalk
- vfs_fruit kernel panic 10.9.5 when saving from adobe illustrator cc