Steam for Linux

Steam for Linux

Zef 17 maj, 2017 @ 14:39
NFS shares & Synology NAS.
I want to try out NFS since i heard that on linux systems the performance should be better compared to samba.

I followed this guide: https://www.synology.com/en-us/knowledgebase/DSM/tutorial/File_Sharing/How_to_access_files_on_Synology_NAS_within_the_local_network_NFS

I had to change sqaush to "all users" though, otherwise it won't work for some reason.

I made 2 folders in my / mnt folder:

/mnt/usbshare1
/mnt/usbshare2

I can mount them just fine and the folders are accessible and read/write works without problem.

Afterwards i tried editing my fstab file so that these folders auto-mount on launch since i have no intentention of using the terminal every time i restart my machine and mount them that way.

I found a guide online for (14.04) and edited it but i can't get it to work, the shares don't mount when i reboot and i'd like some help please.

example fstab
UUID=.... UUID=.... UUID=.... 192.168.0.128:/volumeUSB1/usbshare /mnt/usbshare1 nfs auto,noatime,nolock,bg,nfsvers=4,intr,tcp,actime0=1800 0 0 192.168.0.128:/volumeUSB2/usbshare /mnt/usbshare2 nfs auto,noatime,nolock,bg,nfsvers=4,intr,tcp,actime0=1800 0 0


If it's too much hassle i'm just going to stick to smb.

Thanks in advance
Senast ändrad av Zef; 17 maj, 2017 @ 14:42
< >
Visar 1-5 av 5 kommentarer
Dekonega 17 maj, 2017 @ 15:20 
So, the Nightmare File System strikes again...

Ursprungligen skrivet av Caelistas:
I want to try out NFS since i heard that on linux systems the performance should be better compared to samba.

The performance benefits you might gain by using it won't matter in your use case. Instead you'll get lots of small annoying issues. NFS was made in 80s for a use case where 100 users have their whole home folders located in a network drive. Don't do that in 2017. Or at least ensure you're running NFSv4.1 (with pNFS so that you can have those claimed speed advantages).

Ursprungligen skrivet av Caelistas:
I had to change sqaush to "all users" though, otherwise it won't work for some reason.

I think, Henry Spencer[en.wikipedia.org] put it best... "The 'N' in NFS stands for Not, or Need, or perhaps Nightmare[groups.google.com]". Don't use NFS in a local home network. It's Not Fully Serviceable. It has No File Security. It claims to be Not File System specific but that isn't quite true.

Ursprungligen skrivet av Caelistas:
I found a guide online for (14.04) and edited it but i can't get it to work, the shares don't mount when i reboot and i'd like some help please.

If you still against all the best judgement decide to go full in. I hope you'll enjoy your Virtual File Corruptions[www.time-travellers.org].

But all jokes aside... You probably need somekind of NFS automount service running with Systemd (like autofs) on boot[help.ubuntu.com] and a proper configuration for it. You didn't specify your distribution so I cannot really help you. Just ♥♥♥♥ on NFS like the piece of ♥♥♥♥ it is and throw links to your direction.
Senast ändrad av Dekonega; 17 maj, 2017 @ 15:27
Zef 17 maj, 2017 @ 16:08 
Ursprungligen skrivet av Dekonega:
So, the Nightmare File System strikes again...

Ursprungligen skrivet av Caelistas:
I want to try out NFS since i heard that on linux systems the performance should be better compared to samba.

The performance benefits you might gain by using it won't matter in your use case. Instead you'll get lots of small annoying issues. NFS was made in 80s for a use case where 100 users have their whole home folders located in a network drive. Don't do that in 2017. Or at least ensure you're running NFSv4.1 (with pNFS so that you can have those claimed speed advantages).

Ursprungligen skrivet av Caelistas:
I had to change sqaush to "all users" though, otherwise it won't work for some reason.

I think, Henry Spencer[en.wikipedia.org] put it best... "The 'N' in NFS stands for Not, or Need, or perhaps Nightmare[groups.google.com]". Don't use NFS in a local home network. It's Not Fully Serviceable. It has No File Security. It claims to be Not File System specific but that isn't quite true.

Ursprungligen skrivet av Caelistas:
I found a guide online for (14.04) and edited it but i can't get it to work, the shares don't mount when i reboot and i'd like some help please.

If you still against all the best judgement decide to go full in. I hope you'll enjoy your Virtual File Corruptions[www.time-travellers.org].

But all jokes aside... You probably need somekind of NFS automount service running with Systemd (like autofs) on boot[help.ubuntu.com] and a proper configuration for it. You didn't specify your distribution so I cannot really help you. Just ♥♥♥♥ on NFS like the piece of ♥♥♥♥ it is and throw links to your direction.

Aight, you've got me convinced. I'll stick to SMB.


Dekonega 18 maj, 2017 @ 5:44 
Ursprungligen skrivet av Caelistas:
Aight, you've got me convinced. I'll stick to SMB.

I'm just saying that NFS is probably not the ideal solution for a home network. You can use it if you wish and NFS has its use cases. I'd probably recommend you to do a small controlled NFSv4 setup so you can learn how it works. But never openly trust it and don't seriously use it unless you're running a corporate network were file sharing needs to happen between multiple different types of UNIX and UNIX-like systems.

What you actually should be doing in my humble opinion (if you want to try alternatives to SMB) is using Secure WebDAV to share files in a Linux-based home network. Gnome 3 has built-in support for this and it's just one click of a mouse and you're set. It'll advertise the shares as well in a local network by using mDNS if you enable that. And more importantly apparently your NAS box supports this as well.[www.synology.com]
Senast ändrad av Dekonega; 18 maj, 2017 @ 5:50
Zef 18 maj, 2017 @ 9:33 
Ursprungligen skrivet av Dekonega:
Ursprungligen skrivet av Caelistas:
Aight, you've got me convinced. I'll stick to SMB.

I'm just saying that NFS is probably not the ideal solution for a home network. You can use it if you wish and NFS has its use cases. I'd probably recommend you to do a small controlled NFSv4 setup so you can learn how it works. But never openly trust it and don't seriously use it unless you're running a corporate network were file sharing needs to happen between multiple different types of UNIX and UNIX-like systems.

What you actually should be doing in my humble opinion (if you want to try alternatives to SMB) is using Secure WebDAV to share files in a Linux-based home network. Gnome 3 has built-in support for this and it's just one click of a mouse and you're set. It'll advertise the shares as well in a local network by using mDNS if you enable that. And more importantly apparently your NAS box supports this as well.[www.synology.com]


Tried WebDAV but the performance is horrible compared to smb.

Thanks for the help, i'm going to look up a tutorial to automount smb shares and leave it at that.
steam is rov
< >
Visar 1-5 av 5 kommentarer
Per sida: 1530 50

Datum skrivet: 17 maj, 2017 @ 14:39
Inlägg: 5