• Vehicles • Fashion • Recipes • Blogs • Hunt • Travels • Sport • Fun • Handmade • IT • Education
Mini-Games
x

x
zakruti.com » IT - Software » IT, programs, coding
File sharing on Windows is bad this is how to make it better - Chris Titus Tech

File sharing on Windows is bad this is how to make it better - Chris Titus Tech

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
File sharing on Windows is bad this is how to make it better - Chris Titus Tech By default Windows uses SMB/CIFS, which is sub-optimal for performance and security. This is how to change to NFS and get better file sharing on any Windows machine. Toolbox: https://christitus.com/windows-toolbox
Date: 2022-03-21

Comments and reviews: 10


Years ago I was put in a charge of a stack of Linux machines running at an ISP. One of the things they did was setup 2 machines with Raid 1 in them. All the other machines nfs share back to those 2 machines. So when you booted the other machines. They would start to boot then fail. Among other things. The person who set them up found some kind of article to setup a strange boot sequence. It would cut down on replacement / setting up the other machines. Sort of like a bootrom setup but have 1/2 of the linux install on the machine, then the other 1/2 (config files, data files, etc.) on the machines with raid. As I replaced and reloaded the machines. I had the full linux install on the machine. The only thing I would go back to the nfs share was for data. This lead to the issue of if for some reason the connection between the 2 machines failed. They would not re-establish the connection automatically. Thinking about Microsoft and have the red X in the file explorer not reconnecting until you clicked on it. I thought this was inux and it had to be better. After hunting around. Not only did I setup an auto-reconnect built into the nfs sharing. I increased the access time too.
reply

RPI4 with 2x 8TB drives attached: NFS have slower write speeds but higher read speeds comparing to SMB. mounting NFS drives in windows is also shitty as if you mount them as user, admin wont see them (including apps running as admin), if you mount them as admin, the user won't see the drives. the walkaround would be to mount the drives as SYSTEM but seems hacky either way. i'm also hiding different folders with SMB and I couldn't find a way to do that with NFS.
I'll stick with SMB for now

reply

Everything sound cool, thanks for share this knowledge, but why do you use el ol' PowerShell? In the other hand, I tried to copy files in Linux (from 4 Kb to 24 Mb, in local and networked scenarios) and the result is the same as in Windows, Linux 4.x/5.x and Windows 10/11 take several time to copy those files that my old Pentium 3 PC does in seconds under Windows 98 SE. So, what are we talking about here?
reply

I've been wishing there was something else I could do for a while in Windows! I've just decided to deal with SMB, but I think this could provide me the option to switch over potentially. I'll have to try it and see if I like it better. It will work as long as I can do it between two different Windows machines. I'll have to find out if that's possible.
reply

Ever since Windows 7 the NFS is available in add and remove section as a part of the Microsoft package. The only limitation is you need Professional, Enterprise, Server, or Ultra edition. I been using NFS in Windows since 12 years ago. I am not sure the Microsoft version of NFS is better then the open source version for Windows
reply

For SQL file sharing to access database files, Windows file sharing is faster. Windows pro only has 20 share max. What alternative software can be installed on windows without getting a file server? I have QNAP and NFS file sharing for SQL database is slower than windows. What settings could be changed?
reply

I ran the script in power shell (with admin privileges) and it said it had enabled NFS (note it only took a few seconds, so I guess theres a problem here?) but when I try to run the command in CMD to mount the share, cmd doesnt recognise the mount command? Not sure what im doing wrong.
reply

If you get this error in PowerShell -New-PSDrive : Parameter cannot be processed because the parameter name 'o' is ambiguous. Possible matches include:-
-OutVariable -OutBuffer.-
At line:1 char:7- TRY THIS! CMD.exe /c -mount -o mtype=hard \\servername\dir Z:- it worked for me.

reply

Can't quite see the link of the performance comparison but I already know what their mistake is (: one side of the link is not talking smb2, which is a common problem for a lot of tools written in Java. Correctly implemented smb2 tends to outperform NFS in most real world usage.
reply

I couldnt get NFS working, so turned off NFS, and my SMB is now completely messed up. Windows has completely lost the ability to connect to any of my servers via SMB. I've network reset, and tried a few other suggestions which have failed. My next step is to reset the whole PC.
reply
Add a review, comment






Other channel videos