this post was submitted on 13 Sep 2025
37 points (100.0% liked)

Linux

58903 readers
676 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 6 years ago
MODERATORS
 

I have a samba share running on my server (just an Intel N100 Mini PC). It's running Fedora Atomic and my desktop is also running Fedora Atomic.

While it's good enough to watch videos on, reliability when it comes to uploading files to it has been very poor. The connection ends up timing out after a few minutes of uploading.

I found that using rsync to upload files to it has been a lot more reliable.

top 23 comments
sorted by: hot top controversial new old
[–] non_burglar@lemmy.world 20 points 4 weeks ago

In general, follow samba's tunjng guidelines, particularly what not to set.

[–] cmnybo@discuss.tchncs.de 13 points 4 weeks ago (1 children)

I've never had any issue with file transfers apart from being a bit slower than NFS. The main issues I have with it is lack of Unix file permissions and not allowing all characters in file names.

Unless you need compatibility with windows, you are better off using NFS or SSHFS.

[–] Mihies@programming.dev 6 points 4 weeks ago

NFS lacks security unless it's NFSv4 paired with Kerberos AFAIK.

[–] just_another_person@lemmy.world 9 points 4 weeks ago

Rsync will always be faster than SMB. NFS will be faster than both other options. It's a protocol thing. You should tune your SMB config properly though, as there are tweaks that can benefit throughput greatly.

[–] BCsven@lemmy.ca 7 points 4 weeks ago (1 children)

Could be this https://omnitech.net/reference/2023/03/15/0x8007003b-timeout-copying-large-file-to-samba-server/

Or could be if you copy it via Nautilus GUI, people have suggests doing a straight cp from CLI has better results than Nautilus.

[–] HelloRoot@lemy.lol 2 points 4 weeks ago (1 children)

I have the same issue with sftp and webdav. (20GB zip file)

[–] BCsven@lemmy.ca 2 points 4 weeks ago

Maybe a buffer issue, does scp work?

[–] BlueSquid0741@lemmy.sdf.org 4 points 4 weeks ago* (last edited 4 weeks ago)

I’ve been using smb protocol for years. NFS is great when it works, but something about my network makes it unreliable or inconsistent between devices.

Smb has never caused me any problems.

[–] frongt@lemmy.zip 4 points 4 weeks ago

It’s running Fedora Atomic and my desktop is also running Fedora Atomic.

Then why are you using Samba? It's primarily for Windows. Use nfs or sshfs. Or if you're running a media server, you could run an additional file management service like filebrowser.

[–] hexagonwin@lemmy.sdf.org 4 points 4 weeks ago (1 children)

If it's both *nix, why not NFS? Even Win10 with UTF-8 works well with my NFS server. These days my SMB server is only for Win7 and Android.

[–] StopSpazzing@lemmy.world 1 points 4 weeks ago* (last edited 4 weeks ago)

If you force turn off SMBv1, should work with win10/11

I have a mix of nfs and smbv3 shares with linux, mac, windows machines. Use nfs for video/music sharing for all. SMBv3 for protected private files.

Edit: i read your comment wrong.

[–] Samsy@lemmy.ml 3 points 4 weeks ago

Since there is no M$ machine in my network I removed samba and simply just use sftp everywhere.

[–] StopSpazzing@lemmy.world 3 points 4 weeks ago

If you dont care about permissions, use NFS. If you need protected shares, use SMBv3, force blocking of SMBv1 protocol.

I have a mix of both NFS and SMBv3 shares between NAS, Windows 11, Ubuntu, and MacOS machines. It can be done, not too difficult unless you are trying to mount things weird in proxmox or something.

[–] mvirts@lemmy.world 2 points 4 weeks ago

Maybe watch your system logs on the server when it's having trouble, could be something random.

[–] utopiah@lemmy.ml 1 points 3 weeks ago

You might want to check sshfs but overall yes rsync works well. I just uploaded 200Go yesterday, no failure.

On my LAN if I want to share without downloading them then I rely on MiniDLNA/ReadyMedia for DLNA/UPnP meaning it works with VLC on desktop, obviously, Android video projectors, mobiles, etc.

Guess it depends on your usage but I stopped using Samba when I didn't have Windows machines on my network. Never looked back.

[–] monovergent@lemmy.ml 1 points 4 weeks ago

They've worked fine for me, unless the issue of file permissions starts to rear its ugly head.

[–] SkaveRat@discuss.tchncs.de 1 points 4 weeks ago

Pain and suffering

[–] ohshit604@sh.itjust.works 1 points 4 weeks ago* (last edited 4 weeks ago)

When I first started using Linux I only knew of SMB file sharing, if I remember correctly it was relatively easy to setup but eventually ran into permission issues so I then switched over to SSHFS, which sucked to install, but setup is easy.

[–] J_on_LemmyML@lemmy.ml 1 points 4 weeks ago

No problems with it here, I've uploaded a W10(5.7GB) iso and 30GB worth of Music without an issues. The host computer is running DietPi which is Debian based.

[–] Michal@programming.dev 1 points 4 weeks ago

Unusable for me on Fedora. I'm unable to watch movies or videos over network from NAS, have to copy it first

[–] ISolox@lemmy.world 1 points 4 weeks ago

No issues using SMB with my Unraid and transferring to/from my main Fedora 42 KDE PC.

[–] technocrit@lemmy.dbzer0.com 0 points 4 weeks ago

In debian/ubuntu I just use the file browser and connect via sftp or whatever. I save the password and put the location in my sidebar for easy access. It works great for playing videos and other uses, although might want to setup jellyfin or similar for videos.

[–] corsicanguppy@lemmy.ca 0 points 4 weeks ago

Smbfs by autofs for decades. 0 issues.