Apple CLI command to mount an SMB share that isn't abysmally slow
from ragingHungryPanda@piefed.keyboardvagabond.com to selfhosted@lemmy.world on 18 Apr 11:33
https://piefed.keyboardvagabond.com/c/selfhosted/p/316739/apple-cli-command-to-mount-an-smb-share-that-isn-t-abysmally-slow
from ragingHungryPanda@piefed.keyboardvagabond.com to selfhosted@lemmy.world on 18 Apr 11:33
https://piefed.keyboardvagabond.com/c/selfhosted/p/316739/apple-cli-command-to-mount-an-smb-share-that-isn-t-abysmally-slow
I’ve finally got tired of how bad the latency and transfer speeds are when mounting my TrueNas SMB shares on my macbook. I looked online for some solutions, but didn’t really have much success with them. I managed to get to this command that seems to be a lot better:
mount_smbfs -o soft,nobrowse “//<username>@<domain or ip>/apps” “$HOME/mnt/apps”
where /mnt/apps is a directory that I created for myself. In this case I’m mounting a share called “apps”. For now it actually seems to be pretty responsive and loads directories and files at an acceptable speed.
#apple #applesilicon #fileshare #mac #selfhosted #selfhosting #smb #truenas
threaded - newest
I’m going to try this, SMB support on Mac has been a thorn in my side for years
You can transfer files using rsync over SSH without needing to mount the drive which should give you better speeds.
oh that’s good to know! I’ll definitely try using rsync next time I need to move something over 🤞
FYI you just replace the destination with username@IP:filelocation like this that I use to backup my laptop to my server
rsync -av --delete /home/me me@192.168.1.2:/srv/dev-disk-by-uuid-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Backups/PCs/Laptop/homesaving this comment. thank you!
Why would rsync be faster? SSH traffic is encrypted, it’s usually slower than normal file transfers
I dunno. I suspect it’s the GUI file manager but don’t know for certain.
SMB is also encrypted
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:
[Thread #244 for this comm, first seen 18th Apr 2026, 13:20] [FAQ] [Full list] [Contact] [Source code]
Can you export the share as SMB and NFS at the same time? It’ll probably be faster mounted with NFS
I don’t know if I did something wrong, but NFS only let me see one at the mounted root level. I couldn’t navigate the directory tree
You’ll need to export each volume individually I would expect, are you saying you could only see one volume?
You might have to patch your nfs config; the default one supplied by Apple is using an older protocol. Run this and reboot:
Why is this better than what you do with the Finder GUI? I’d just like to understand the mechanism.
there seems to be issues with the apple silicon smb implementation that’s absolutely abysmal and painful in performance. But once I mounted the shares this way, it became tolerable even in finder
Ah, if it’s limited to Apple silicon maybe that’s why. Ive never noticed any particular speed problems on any of my Macs (2004 or so through 2019)
I regularly get 100-200MByte/sec throughput to the Linux, Mac, and Synology SMB servers in my home