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.

  • nomecks@lemmy.wtf
    link
    fedilink
    English
    arrow-up
    0
    ·
    29 days ago

    Can you export the share as SMB and NFS at the same time? It’ll probably be faster mounted with NFS

      • ripcord@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        29 days ago

        You’ll need to export each volume individually I would expect, are you saying you could only see one volume?

      • cantankerous_cashew@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        29 days ago

        You might have to patch your nfs config; the default one supplied by Apple is using an older protocol. Run this and reboot:

        printf "\nnfs.client.mount.options = vers=4\n" | sudo tee -a "/etc/nfs.conf" &> /dev/null