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.

  • uenticx@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    I don’t see a suggestion to use MACFuse here, so I’ll just drop this here: https://macfuse.github.io/

    Copy your ssh pub key to the device ssh-copy-id user@hostname

    Then just mount it:

    sshfs user@hostname:/remote/path ~/mnt/myfiles \
    -o reconnect \
    -o ServerAliveInterval=15 \
    -o ServerAliveCountMax=3 \
    -o follow_symlinks \
    -o IdentityFile=~/.ssh/id_rsa