how to mount smb share with brew installed samba

Hi,

I was experiencing some performance issues with smb share. I can get to the network shared disk from windows(bootcamp) with a copy speed of ~90MB/s, but only 25MB/s on macOS. both with thunderbolt 1000MB ethernet port.

Finally I found that the macOS no longer use samba because of some license issue.


As the SMB implementation of macOS is much slower than the open sourced samba, I installed samba with homebrew.


It did not seems to have a executable that can mount a samba share to /Volumes/xxx.


Is there a way to use this samba to mount a smb share instead of the finder's cmd+k?


Thank you.


or If you have any other workaround, it will be appreciated.

MacBook Pro with Retina display, macOS Sierra (10.12.1)

Posted on Mar 31, 2017 8:27 AM

Reply
2 replies

Mar 31, 2017 11:32 AM in response to gothicmoron

You are somehow mis-informed about samba/SMB. Back with

OSX Mavericks, Apple started moving to SMB as a file transfer

protocol instead AFP (Apple File Protocol). As a matter of fact,

SMB is the preferred file transfer protocol for Sierra.


Installing a 3rd party SMB service will likely foul things up as it will

compete with the built in SMB.


What is this "SMB Network Share"? Is it some NAS? Is it another

Windows machine? Linux machine? ??? What else is sharing it

on the network? Also, what is the native file format of the share?

Mar 31, 2017 9:46 PM in response to woodmeister50

Hi,

I guess I missed some information here.

I'm accessing a NAS , more specifically, a disk attached to my router with openwrt.

when testing, the macbook pro is the only one doing w/r on it.

I tested two disks attached to the router:

one is NTFS, a bit slower(~75MB/s for accessing from windows on macbook, 25MB/s for accessing from macOS on macbook),

one is ext4, which is faster(~90MB/s for accessing from windows on macbook, 25MB/s for accessing from macOS on macbook)



for the smb, "SMB is the preferred file transfer protocol for Sierra", yes, but apple have it's own implementation of smb protocol used in macOS instead of samba(the open source implementation of smb protocol).

This make the performance very slow.


And I already tested the 3rd party smb, it comes with a command line interface to transfer files with remote smb disk.

The performance is indeed much faster than apple's finder mounted remote smb share.


It's just I don't know if there is a way to mount the disk with this samba and show it in finder.


Thanks

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

how to mount smb share with brew installed samba

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.