While you're here, please consider supporting GamingOnLinux on:
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- SteamOS 3.5.18 Preview released for Steam Deck
- Team Fortress 2 64bit support released, plus Vulkan for Linux via DXVK
- Free Stars: Children of Infinity coming to Linux after smashing Kickstarter goals
- Stardew Valley 1.6.4 brings even more new free content
- Victoria 3: Sphere of Influence delayed, Europa Universalis IV: Winds of Change on May 8th
- > See more over 30 days here
-
Flathub for Linux apps has been given quite the makeove…
- kerossin -
Valve makes paid 'Advanced Access' a clear feature on S…
- Eike -
SteamOS 3.5.19 Preview out for Steam Deck
- FatalError -
Valve makes paid 'Advanced Access' a clear feature on S…
- LungDrago -
Flathub for Linux apps has been given quite the makeove…
- hardpenguin - > See more comments
Latest Forum Posts
- Weekend Players' Club 4/19/2024
- StoneColdSpider - What sorta display and audio setup do you folks got?
- Arehandoro - Logitech G29 steering wheel - Snowrunner support
- silmeth - anyone know if humble bundle games still provide different option…
- Mezron - The Evercade Outpost!
- damarrin - See more posts
View PC info
I've grown tired of my crappy NFS implementation and would like switch to something else.
To be more specific, I have an NFS server that just runs a simple, local, file storage for movies, music, games, backups, etc. etc. I'd like to replace it with a fairly simple fire-and-forget file server that integrates with the file system and most importantly, fails gracefully when the local server is not available (traveling).
So, What do you use? Why?
Thx
View PC info
So for sharing video to the xbox minidlna. If I needed to use windows, then samba.
NFS should work well with Linux hosts with static IP addresses. I think user based authentication requires getting kerberos working.
If you want to use a username/password for logging in then samba or webdav. Samba should be faster than webdav. If you want unix style owner, group, and permissions you need to enable some extensions.
But if you're trying to connect two linux boxes, NFS really should work well. Are they getting the same IPs?
View PC info
I'd recommend nfs or sshfs. Other than those, i also used samba, but that was way slower than nfs, also had some weird problems (disconnects while copying for example). I think the simplest one is sshfs if you have ssh access on your storage machine, that's what i use now with my remote HDD.
View PC info
My server already has servers for streaming media (emby and LMS), so I'm just looking for something that can hold and serve files filesystem-style.
I like NFS, and it was super easy to setup for the server and client. I'm just tired of my laptop freezing up for 10 to 30 minutes whenever I do anything file related and the NFS server is inaccessible. (Probably because I'm horrible at configuring systemD)
I don't travel often, but it's embarrassing and extremely frustrating.
I'll have to check out sshfs as it seems well liked, never thought of that. I'm familiar with ssh, so hopefully it's not a huge leap.
View PC info
https://serverfault.com/questions/56588/unmount-a-nfs-mount-where-the-nfs-server-has-disappeared
The default is hard and it'll keep trying until the server comes back.
Also maybe look at https://nextcloud.com/? You can have configurable background file synchronization or access the shared file system via webdav.
View PC info
I've also tried setting the systemd timeouts to 10 sec, but to no avail.
I actually do have nextcloud running on my server (and love it). My server is an industrial itx box from 2008, so running things through nextcloud's web interface is like watching cold molasses go up hill. I did get a gift of a new motherboard combo and memory, so I'll have to report back one I do the upgrade next week.
Thx for the ideas!
View PC info
Yeah, I'll admit my old desktop used sysvinit and never had issues(but I also never carried it out of the house), which makes me convinced it's systemd, but I'm more inclined to think it's me not knowing what I'm doing, than actually something wrong with systemd or NFS.
It's nice to know that sshfs appears to fail gracefully. I'd assume webdavs probably does the same, being web-based. I'll probably start with those as I already have the server side components in place.
I'm glad I'll have some reading for when I travel home tonight.
Also fun fact, for reasons unknown, my phone is insisting it autocorrect systemd as Satan.
View PC info
wanted to thank you ask for the suggestions and let you know what I ended up doing (for now).
I generally like NFS, so I tried some experiments. Stan, I liked your ping script for sshfs and a found one for NFS on the archwiki. I implemented it using a systemd timer and it seems to work. I found it was generating a ton of syslog output and tagged that down to the systemd idle timeout for my mounts (basically systemd was now configured to fight itself). I changed the script to only unmount (since systemd handles the automount and timeout).
I tested it out while taking apart my server for about 2 hours. No freeze on shutdown! A slight freeze when opening the file manager, but not obnoxiously long like before.
Only weird thing is Thunar. My device and mount timeout ate set to 10 sec, so I'd figure a maximum freeze of 20 sec. I can see in the logs when I open Thunar, it tries to mount the shares, but the freeze time isn't consistent. Sometimes 20sec, sometimes minutes (I got up to 5). Pcmanfm is fine. I forgot to test how long it freezes if I click on a share.
On the server side, I completed my upgrade, replacing the 2008-9 Intel atom 330, with an AMD a8-5545. I also upgraded from 2gb of ddr2 ram (the Intel board's max), to 8gb of ddr3. It's so quiet! And fast! Itx has come a long way in 10 years! The only original parts left on that old server are the power supply and the 16gb sata ssd (summer project).
Now that I have a speedy server, I'm gonna try out sshfs and webdavs on my next day off. Seafile looks cool too. I'll admit I'm probably too invested in Nextcloud to switch out right, but I'm gonna keep it in mind should I start having problems with Nextcloud.
Thanks again for the suggestions! Happy New year!
Edit: in other environments, which may not have ownCloud/nextCloud integration, it's enough to do "connect to server" in the file browser using davs:// protocol. You'll need to supply the correct directory, but it's all explained in the online documentation.
View PC info
Thanks for the info. I do have a Nextcloud implementation on my server to access stuff over the web. I did my server upgrade and found that Nextcloud runs much much faster.
I took an old 2005 laptop that I use in my office for websurfing and tried out davs and sshfs. Its wireless and only a few feet from the server. Using PCMANFM to connect to the server with davs and sshfs. sshfs was super fast, worked with my ssh keys, and was pretty responsive. My only issue with it was that it mounted the servers root directory (Most likely user error on my end). Davs was a little disappointing. It was not as responsive, although moving files around seemed to be just fine. I also got some weird keyring pop-up error, when I entered the password, it gave an error saying it could not mount the share and then it mounted it anyway.
I'll probably try to mount them in fstab in the next day or so and see what it looks like.
Thanks