26
submitted 1 month ago by CanIFishHere@lemmy.ca to c/linux@lemmy.ml

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.

top 19 comments
sorted by: hot top new old
[-] rsky@lemmy.ml 18 points 1 month ago

I'm honestly confused as to why everyone here is avoiding actually answering your question. Anyway, for most modern file browsers in Linux:

  • Type into the address bar: smb://ip-address-or-domain/share-name
  • It should ask for login credentials. Enter your login for the server you're accessing. Click "remember forever" or something like that.
  • Once you're in, right-click the share in the navigation pane to the left and click "create bookmark" or something like that. When doing so, there may also be a checkbox to make it persistent - if so, check it.
[-] CanIFishHere@lemmy.ca 5 points 1 month ago

So easy once you know how. Thanks!

[-] harmbugler@piefed.social 1 points 3 weeks ago

I use sftp://files.lan with my Synology rather than SMB as its usually easier when using both Linux client and server and you can set up key authentication. I guess you are using the Nautilus files app with Ubuntu, so you can then drag and pin folders to the list of folders (under Documents, Music etc) on the left.

[-] itsworkthatwedo@sh.itjust.works 6 points 1 month ago* (last edited 1 month 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:/server/mount/point /client/mount/point nfs defaults 0 0

Hopefully some of this helps. It's late.

EDIT: it was late. I forgot the client-side mount point in the fstab entry!

[-] CanIFishHere@lemmy.ca 2 points 1 month ago

Good information. It put me on the right track, thanks.

[-] MangoPenguin@lemmy.blahaj.zone 1 points 3 weeks ago* (last edited 3 weeks ago)

SMB often has much better performance in my experience. Plus it's just a lot easier to use as it supports basically every kind of client.

[-] Damage@slrpnk.net 5 points 1 month 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?

[-] CanIFishHere@lemmy.ca 2 points 1 month ago

To keep it simple, I am migrating a Windows PC running Sonarr to an Ubuntu PC. So looks like I need samba to access the windows shares. I now see Linux doesn't use drive letters, so I mount the windows share to a mount point on Ubuntu. 2. No, haven't done anything yet, just reading and trying to understand the differences.

[-] Damage@slrpnk.net 1 points 1 month ago

the arch wiki is a great resource for this kind of thing:

But why aren't you running sonarr on your NAS instead?

[-] CanIFishHere@lemmy.ca 1 points 4 weeks ago

My goal is to have: Sonarr, Radarr, Lidarr, Immich, tautulli, qbittorrent all running on this Linux box. There's no way my poor Synology could do that, so I'll keep them together. Thanks for the references, I'll take a look.

[-] Damage@slrpnk.net 1 points 4 weeks ago

idk about tautulli, and immich can be taxing depending on what you enable I think, but everything else is lightweight. Anyway, did you manage to set up the mountpoint? After that if you run *arr apps, those are likely in docker/podman so you'll have to add the directory to their configuration.yaml

[-] CanIFishHere@lemmy.ca 1 points 4 weeks ago

My nas is extremely old, I'd rather not put apps on it, plus I already purchased this mini pc.

So, doing some searching, I decided to give my list of apps I needed to copilot and see what came back. The AI answer is I should 100% use Docker to run all the apps on the Linux box. Feel free to jump in and disagree if you think otherwise.

So now, I am going to do the reading to install docker, and then move to installing the ARR containers. Other than the mount points, any cons I should be aware of with this scenario?

[-] Damage@slrpnk.net 1 points 3 weeks ago

Well, containerization can mess with GPU acceleration if you want to use Immich's auto-description-whatever-function. Also mind that docker runs as root, so don't just spin up random containers from unknown sources.

[-] CanIFishHere@lemmy.ca 1 points 3 weeks ago

Something I wasn't aware of. In your opinion, would I see better performance just installing all these apps separately? That's the way I was doing it on Windows (with the exception of Immich of course).

[-] Damage@slrpnk.net 1 points 3 weeks ago

What do you mean separately?

[-] fozid@lem.radiantfig.fyi 2 points 1 month 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.

[-] CanIFishHere@lemmy.ca 1 points 1 month ago

Yes, that's about it. I can see the NAS shares. I'll install samba to access the windows shares.

[-] Prairie_Madness@lemmy.world 2 points 1 month 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

this post was submitted on 29 Aug 2026
26 points (96.4% liked)

Linux

67784 readers
871 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS