I need to map network shares from my Synology NAS and also from a Win11 Pro desktop. There are just so many variations on how to do this. All I need to do is map drive letters to shares on startup so they are always available.

Sorry for the noob question.

  • Damage@slrpnk.net
    link
    fedilink
    arrow-up
    3
    ·
    4 hours ago

    Ok, two things:
    1 - Do you NEED to map them? Or do you just need to access them? If they were previously shared with Windows, that means they are SMB shares, which on most file managers can be accessed via the network section or by writing smb://<user>@<address> in the location bar. This doesn’t work perfectly all the time, for example if you want to drag and drop a file from the share onto a browser upload page, it usually doesn’t work.
    2 - Have you successfully mounted them with mount already?

  • fozidA
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 hours ago

    I don’t fully understand what you are trying to do? Are you using an Ubuntu machine, and want to access the nas and win11 storage in your filesystem? If so, just use either samba or sshfs. Easy to setup up and mount into the Ubuntu machine.

  • itsworkthatwedo@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    ·
    7 hours ago

    If you only need to mount shares from the Synology box on the Ubuntu box, consider using NFS…that’s a slide button and text box or two on Synology side and a /etc/fstab edit on the Ubuntu side. If you also need to share from the Synology to the Win11 tower, samba/smb may be easier out of the box, but you could simplify by adding NFS tools, which are buried in some windows feature add-on somewhere in the OS. Ive added this feature to mount shares but never to host them.

    Hosting NFS from a non-Synology machine will be hard to explain here but a search for “setup NFS server” should get you on the right path. It may just be easier to share from the win machine using samba/smb, but I don’t know how to set that up as ive never gone that way.

    For an available-on-login setup in Linux, you most likely want to edit /etc/fstab on the client, with hostname below referring to the server…the entry should look something like this:

    Hostname.domainname:/mount/point nfs defaults 0 0
    

    Hopefully some of this helps. It’s late.

  • Prairie_Madness@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    7 hours ago

    Hi,

    Not super familiar with Synology anymore but you need to create a samba/smb share as well as a user to mount with. For windows it will be straight forward and like any other share… For Ubuntu you’d need to look into how to mount a smb share into Ubuntu. I can try to find a guide that explains it well or you can do it yourself as well if you’d like