How to CREATE a network drive on Arch?
Hello!
Trying to create a network drive on my desktop Arch install to connect my steam deck to for faster/easier file transfers, however, every single guide I can find is how to connect Arch to an EXISTING network drive. How would one go about creating one on Arch instead?
Thanks
About this post
- Posted
- Archived
- Score
- 3 · 67% up
- Kind
- Text
- ID
- x4elfk
6 comments
There are a couple of ways to go about doing this. One would be to set up Samba on your Arch Linux computer to create a network share and connect to it from the steamdeck. Another might be to set up syncthing on both systems and use that to automatically sync a folder between the two systems. That’s my preferred approach because it’s automatic and reliable, but only if you want to sync the folders and not just connect one to the other.
Syncthing is very set and forget, and its all you need for occasionally transferring files.
Syncthing is great, I use it on my phone to sync my photos to my archive drive on my PC every time I come home. Also my roommate had an issue with a corrupting Dark Souls save so we're gonna set it to automatically back up his saves each day.
However, syncthings won't accomplish what I need exactly. One of the things I need the network drive for is to transfer stored games. When I'm done playing a game but know I'll want to play it again at a later date I simply transfer the game to my archive drive until I want it again. Saves internet data since I dont have to redownload, and it saves space on my Steam Deck and PC SSD. Syncthings would sync all my games back onto my Steam Deck in this use case, defeating the purpose.
Network share is the term you're looking for. I think the network drive term comes from Windows letting you map a network share to a virtual drive/partition letter
https://wiki.archlinux.org/title/NFS
https://wiki.archlinux.org/title/samba
My personal recommendation is to stay away from Microsoft protocols (what samba does) when not needed - for example 2 Linux devices, and I'm sure I'll get disagreements here. I don't have a Steam Deck, but with it running off an Arch derivative then I would be shocked if they didn't include NFS client support in it.
Hell, you can even access via ssh through sftp. File browsers like Dolphin support it. I don't have a Steam Deck myself but apparently people are running it on their Deck fine.
Thank you! I plan to avoid any Microsoft related anything as much as humanely possible...I knew enough to stay away from Samba haha.
I could SSH into the Deck but we have 2 decks in the house and it would be easier to have a network share instead of having both me and my roommate ssh into my PC.
Deleted before we saved it.