File sharing on Windows is bad this is how to make it better

Поділитися
Вставка
  • Опубліковано 7 вер 2024
  • 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: christitus.com... .
    ►► Digital Downloads ➜ www.cttstore.com
    ►► Reddit ➜ / christitustech
    ►► Titus Tech Talk ➜ / titustechtalk
    ►► Twitch ➜ / christitustech

КОМЕНТАРІ • 328

  • @CapTVchilenaShootingStarMax
    @CapTVchilenaShootingStarMax 2 роки тому +256

    There's a big caveat: Windows does not allow non-ANSI characters for files in NFS shares. I tried this, but since I'm in a non-English environment, file names got mangled.

    • @salapolivalenta77
      @salapolivalenta77 2 роки тому +7

      I've noticed this also, unfortunately

    • @jakkiryanov9859
      @jakkiryanov9859 2 роки тому +10

      This is why i stopped using NFS.

    • @DaemonForce
      @DaemonForce 2 роки тому +16

      For me this is just as bad. Going back and forth between EN/JP/KR and having tons of non-English characters that get mangled by the network share simply makes NFS a non-starter. I use later versions of SMB tied to a server that will only connect shares to computers on this subnet.

    • @finestPlugins
      @finestPlugins 2 роки тому +28

      That kills it for me as well. Thanks for the heads up before I waste my time.

    • @walkinginshadow
      @walkinginshadow 2 роки тому +21

      If someone came here, like me, looking for a solution for shared folders over NFS under Windows 10, then the solution is in the region and system language settings. There is a section "Administrative language settings" where you can select UTF-8 as the system encoding 1. This works for filenames in mounted network drives. In the picture 2 a whole partition with the Ext-4 file system is shared over NFS from Ubuntu (running in a virtual machine) and is natively mounted in Windows.

  • @gwgux
    @gwgux 2 роки тому +60

    CIFS/SMB has always had more overhead out of the gate. However, NFSv4 does support user authentication and you can also tunnel it through SSH as an option if you're worried about security (NFSv4 can also do ACLs). The only caveat is that it'll add in overhead and may be on par or heavier than CIFS/SMB depending on how it was secured so there may be a performance hit (there's a LOT of variables involved when securing it that'll change depending on how it's being done). Even so, SMB is still easier to deal with in a large enterprise setting with hundreds of users for setting up permissions. Basically after going through all the effort to secure NFS and increasing the overhead, many admins could've just used SMB and been done with it.
    That being said, it depends when choosing one for a Windows client. Both have their place, and while I'm not praising Microsoft (SMB really should be more efficient than it is, and I'm not a fan of their NFS implementation either), there's a solid case to be made for both protocols. I only wish Microsoft would do better about supporting open standards like NFS. There is literally no technical reason why they can't make a good graphical tool for it and update how Windows supports it. Therefore it's just them trying to be proprietary over open standards....as usual.

    • @geneanthony3421
      @geneanthony3421 2 роки тому +2

      If you're maintaining a network you generally don't want to have to worry about putting out fires and using NFS on a Windows network seems like you're opening the door to possible longterm maintenance headaches for little gain. Windows should be pushed to use it but I kinda doubt it will since it will make support more complicated unless they do double duty and make the file share tool create shares in both when setting up and prefer NFS when both clients support it. Plus I don't see Windows want to make it easier to communicate with Mac and Linux.

    • @Anonymous______________
      @Anonymous______________ 2 роки тому +1

      I suspect he's never dealt with NFS identity mapping and the maintenance required to do it for large scale enterprise networks. The whole approach of blanketing directories with "other" having read, write, execute access because ACLs do not work correctly with active directory security principals unless you map user IDs and group IDs is absolutely ridiculous and insecure.

  • @jakemuff9407
    @jakemuff9407 2 роки тому +52

    I know you use Synology NAS box but it would be good if you showed the opposite side. Doing this from Debian or Ubuntu server e.g how to create an NFS share to be used for Windows.

    • @knutblaise9437
      @knutblaise9437 2 роки тому +5

      Totally agree with a video on configuring a NFS server! Basing it on Ubuntu Server would be great.

    • @wanggaard
      @wanggaard 2 роки тому

      I had a similar thought, but more that I am too lazy to setup NFS server on my little ubuntu server box. Should be easy to track down a howto though.

    • @DavidHathaway
      @DavidHathaway 2 роки тому +2

      If you decide to try, I created NFS shared about two months ago for Ubuntu, Arch, and Raspberry Pi machines. It took about 10 minutes of searching and 5 minutes of doing. You totally can do this. The Arch wiki is a great resource and since NFS is not new, there are plenty of HOW-TOs. That said, a video from Chris would be very welcome.

  • @KC_rocka
    @KC_rocka 2 роки тому +43

    Another great video. "Microsoft, do better" is something needed to be said ever since Windows 7.

    • @lizardltd
      @lizardltd 2 роки тому +3

      it's so weird that passionate people that love to code and create, just don't seem to care that their product is only getting worse and worse

    • @hycron1234
      @hycron1234 2 роки тому +1

      ... for that you would have to get rid of Satya Nadella.

    • @_GhostMiner
      @_GhostMiner 2 роки тому +1

      They actually did with Windows 8.1

    • @jonathanpalmer155
      @jonathanpalmer155 2 роки тому +2

      It used to be possible to print a list of the contents of a folder 'copy>prn'. Why is it not possible to do that in any version of Windows?

    • @shallex5744
      @shallex5744 3 місяці тому

      @@lizardltd no one said they were passionate

  • @HikariKnight
    @HikariKnight 2 роки тому +6

    AFP shares are deprecated on MacOS, Apple switched over to smb (even for time machine) as the default

    • @ChrisTitusTech
      @ChrisTitusTech  2 роки тому +1

      Strange, when editing my videos in Mac using FCP, I can't even create project files on a SMB share... but NFS is works perfectly. Good to hear them removing AFP though.

    • @dustatron
      @dustatron 2 роки тому

      @@ChrisTitusTech SMB has always been restricted on FCP. There was a hack back in the day where you would wrap your project in a .dmg image. That was a crappy work around though.

  • @tacioandrade
    @tacioandrade 2 роки тому +27

    NFS is a great tool, but in my view it loses in security in a desktop environment. With CIFS/SMB I have the option of putting the share protected by username and password, so that any user on the network with valid credentials can access the share.
    The same goes for ACLs applied on the created shares, they work too.
    NFS loses all this, or releases it via IP/DNS, which is less dangerous for the server environment, but in a local environment I don't think it is and anyone will have access to the data.
    That is, despite the risks, I believe that a Linux or BSD server running samba is the best option for general purpose file sharing!

    • @ChrisTitusTech
      @ChrisTitusTech  2 роки тому +8

      Good points, in small networks I love using NFS for the boost in performance, but for big business and folks that need user-based access controls on the shares, SMB makes much more sense. Just depends on the use case and what folks are trying to achieve.
      SMB 1/2 shouldn't be options anymore though, those early protocol version are riddled with vulnerabilities and NFS would be far more secure in that instance.

    • @EraYaN
      @EraYaN 2 роки тому +1

      Another thing is losing SMB direct or even just multi channel. NFS can do those things too but it's sure as hell is not as "Enable and it works". And all the search extensions etc that just don't work over the Windows NFS implementation.

    • @mharjula
      @mharjula 2 роки тому +2

      @@ChrisTitusTech NFS protocol does not really have security as security is expected to be handled on client side (unlike CIFS), even on very tight Linux krb5 world still all NFS is easily accessible by any root.

  • @peterschmidt9942
    @peterschmidt9942 2 роки тому +16

    Hey Chris, you reckon you could show how this is done in Linux? SMB really sucks on some distros through the file manager. It would be good to see how to use NFS in Linux. Cheers

  • @szaszm_
    @szaszm_ 2 роки тому +4

    I wouldn't call NFS the "default" on linux. Nowadays everyone uses SMB and if you right click share in dolphin or nautilus, it creates a samba share. And as others have said in the comments, NFS has its downsides, too. I prefer to use neither.

    • @joseroman1967
      @joseroman1967 2 роки тому +1

      Yea, just use a USB thumb drive to transfer data between to devices.. Listen to this guy.

    • @szaszm_
      @szaszm_ 2 роки тому +1

      @@joseroman1967 I didn't say that.

    • @thunderdomer3631
      @thunderdomer3631 7 днів тому

      @@joseroman1967 😂😂

  • @antonbotha2857
    @antonbotha2857 2 роки тому +4

    Thanks for the analogy on the forward and back slashes, I always struggled with it.

  • @MajorGlory01
    @MajorGlory01 2 роки тому +3

    Regarding changing PowerShell commands: Install-Windowsfeature is used on Windows Server OS, on desktop Clients the command is Enable-WindowsOptionalFeature. As far as I know this has always been the case. It is confusing however...

  • @ebiscaia
    @ebiscaia 2 роки тому +4

    Just to add my two cents because I tried to follow your tutorial today: don't name the .bat file "mount.bat". It would make the command loop as it is a Windows command.
    Thanks again Chris for one more tutorial

  • @Jazzynupe1911
    @Jazzynupe1911 2 місяці тому

    Also a note about the shell, you can run the same command from PowerShell, just have to be aware or escaping or format requirements. All standard commands like mount will work if you format properly.

  • @eric-seastrand
    @eric-seastrand 2 роки тому +6

    Great nfs-on-windows walkthrough! Would love a follow up video on how win-to-nix user mapping and permissions work.
    Anecdotally: TrueNas SMB on 10gbe is plenty to edit 4K 8bit 4:2:0 over network using Davinci Resolve. Even works over wifi6 but with worse latency when scrubbing. You could likely achieve the same for your synology NAS with some tuning.

    • @amadeuscrossing7061
      @amadeuscrossing7061 Рік тому

      How does one set this up good sir, I have been trying and the performance is mediocre. I have almost 0 cpu usage, crap transfer speed. Which makes no sense.

  • @beahydrated
    @beahydrated 2 роки тому +5

    Just wanted to say thankyou for the windows tool. Im not the best with windows, and its been such a help when im helping my tech unsavvy mates fix up their windows machines

  • @brianmccullough4578
    @brianmccullough4578 2 роки тому +5

    Thanks for this, I love learning new tools, even if they are old to some of you guys!

  • @dustatron
    @dustatron 2 роки тому +4

    So FYI, on 10gbe SMB is 100% capable of editing directly off of a network attached storage. I have done it for almost a decade and with with teams of people editing from the same NAS before. You are probably referring specifically to final cut X which does require NFS. That is just a Mac FCP X limitation. It has something to do with the library files they use.

    • @javaman2883
      @javaman2883 2 роки тому

      The overhead for SMB is higher than NFS, and it is sensitive to network congestion and latency. We get around 120MB per second over 10Gb fiber within one datacenter. But that drops to only 15MB per second when SMB is transfering to our other data center, even though there are multiple multi gigabit links to the internet from each datacenter.

    • @dustatron
      @dustatron 2 роки тому +1

      @@javaman2883 yeah 100% there is a ton more overhead for smb. All the security features and such. There is also jumbo packages to consider depending on the size of the data you are trying to stream.
      Networking is a complex topic and bottle necks are everywhere. I was just commenting based on something Titus said in the video. That a user can’t edit directly off of a NAS with smb. That’s not a true statement. It is possible and I have done it in an industrial setting. I found it to be fast and reliable for both Mac and windows.
      I have also used nfs and it was okay. I think it was lower latency but we actually saw better speeds over all from SMB. Also the NAS we used at the time had a network recycling bin feature that only worked when users where connected via smb. So if someone deleted a file it was stashed in a hidden recycling bin and easy to recover for 90 days.

    • @lukas_ls
      @lukas_ls 11 місяців тому

      @@dustatron You're kind of right but one could also say that you can technically edit from a mechanical hard drive. You can do it but the experience is just very poor. On Windows nfs doesn't seem to be that performant (from my experience) but going from smb to nfs (on Linux) is almost as significant as going from hard drives to SSDs. You'll just get so much lower latencies and IOPS than what is possible through nfs.

    • @dustatron
      @dustatron 11 місяців тому

      @@lukas_ls I think you can disable encriptions and other security features on smb to get better speeds. Do note that you need to have a raid capable of the bandwidth required and a switch that achieve 10gbe.
      But I am not trying to say either is 100% wrong for any use case. NFS has its benefits but it is a little more complicated to set up.

  • @FunctionGermany
    @FunctionGermany 3 місяці тому +1

    cool, but what if you can't map IPs to users for reasons like not having a synology NAS GUI or using DHCP on the clients? then you're stuck with free-for-all access to all allowed IPs that can communicate with the NFS server unless you start spending hours learning kerberos. i'm actually going back from using NFS+SMB to only using SMB in my network for simple and effective security.

  • @sillysimon7889
    @sillysimon7889 2 роки тому +8

    Authenticating simply by an IP seems kinda vulnerable. Anyone in the network could just statically configure his network interface to give himself the required IP to access the share. Is there an easy way to mitigate this and if not, would Kerberos based authentication help?

    • @x91w
      @x91w 2 роки тому +2

      If you have other people you don't know/trust on your local network then you HAVE MUCH BIGGER problems. I use encrypted volumes for everything important.

    • @EraYaN
      @EraYaN 2 роки тому +2

      @@x91w In every company there are tons of people you don't want on some of your file shares, partly because of segmentation, partly because not everyone needs to see everything.

    • @SmallSpoonBrigade
      @SmallSpoonBrigade 2 роки тому

      TBH, you probably shouldn't be running this over an unencrypted link in that case anyways. Personally, I tend to use sFTP rather than regular filesharing just because it does pretty much everything better. If both sides support it, scp is also great.
      But really, Windows has a bunch of issues with this sort of thing and unless you're wanting to spend the time and money to address it, you're better off not bothering with any of those bits as there's better standalone products out there. Or, just do like I do and create a Raspberry Pi fileserver to handle filesharing.

  • @sovo1212
    @sovo1212 2 роки тому +3

    I don't like having to fiddle with the command line just to share some files between two devices, especially when I only need to make a quick backup and the devices aren't mine. To me, it's frustrating to see it's 2022 and still there isn't a quick and simple, graphical and FREE way to share files between Linux, Android, Windows, and other OSes. Most of the time I end up using FTP, which is the same I was using over 20 years ago.

  • @johnbazaar8440
    @johnbazaar8440 2 роки тому +3

    Thank you. Exactly the tool I’ve been looking for to get away from SMB.
    Thanks,
    John

  • @Cashyonyt
    @Cashyonyt 3 місяці тому

    Late and unrelated to the reasons in the video. For some random reason, SMB shares started playing up on Windows to Synology. If I used torrents it'd make file browsing crawl to a stop/crash. Moving to NFS solved this. I can not figure out why SMB suddenly stuffed up.

  • @kshysztof9649
    @kshysztof9649 5 місяців тому

    I love how you casually just dissed windows with the back and forward slashes

  • @capability-snob
    @capability-snob 2 роки тому +2

    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.

  • @salapolivalenta77
    @salapolivalenta77 2 роки тому +4

    Great video! using this for 2 years :) In order to have rw rights, after you will deal with the /etc/exports file make sure to check the user and group id of the user which owns the exported folder and also to add the same values as decimal DWORDs AnonymousUid and AnonymousGid in the regedit path explained into the video. This solution is working just fine since 20h1 and also in windows 11.

  • @jonshouse1
    @jonshouse1 2 роки тому +29

    SMB vulnerable NFS not ? Comparing a protocol with encryption and authentication(SMB) to one with neither(NFS).... hmmmm .... I am a Linux fan and user all the way but this video is poorly thought through, illogical, and largely meaningless.

    • @michaelc657
      @michaelc657 2 роки тому

      Yeah, if you simply want to have personal files from the rest of your family, basic SMB authorizations is good enough. NFS is okay for Linux-based servers sharing public folders to desktop Linux, though.

    • @Zaicyn
      @Zaicyn 2 роки тому

      If your local network is compromised to the point where that sort of encryption is needed, you got far worse problems than just NFS. No one should have access to the transfer to read it unless they have already hijacked a key point in your infrastructure. At that point everything is likely compromised regardless.

    • @jonshouse1
      @jonshouse1 2 роки тому +7

      @@Zaicyn Well done on entirely missing my point. The point is that to compare a protocol (and code) with the requirements (and implementation) of authentication and encryption to one with neither is meaningless. NFS can not be "vulnerable" or "exploited" as it lacks ANY security. It is like comparing cars to skateboards and saying "the engines on the skateboards tend to be more reliable", they both have wheels, it is true, but at the same time utterly meaningless.

    • @TheCocoaDaddy
      @TheCocoaDaddy 2 роки тому +4

      @@jonshouse1 I agree with you on this video. I didn't click "DISLIKE" because I liked seeing how to get NFS setup on Windows (something I didn't know you could do). Otherwise, I'm with you. I'm responding to this specific comment because NFS _can_ be exploited. A search on the CVE - Mitre website found 218 entries. SMB had the 476 entries, as shown in the video. Anyway, thanks for posting your comments. :)

    • @jonshouse1
      @jonshouse1 2 роки тому

      @@TheCocoaDaddy The "number" of CVE is also meaningless... You do not need to "break into" a building with no doors or windows, you just walk in, same with NFS.... As you can clearly just walk in then pretending any of this is a vulnerability is the type of things that keep security researchers employed but means very little in the real world. At this point you are probably sorting NFS CVE by "remote code execution" in an attempt to "win" an argument, again I suspect entirely missing the point I was making ;-)

  • @bassbo1
    @bassbo1 2 роки тому +3

    well it's not working for me, how about a guide how to set nfs share in linux and mount that under windows ? that would help. This is very limited to synology.

  • @ClintChance
    @ClintChance 2 роки тому +14

    You mentioned performance increase, how much more could we expect over a 1G connection?
    I'll be turning over to a 10g soon, but just curious for now

    • @cartanfan-youtube
      @cartanfan-youtube Рік тому

      About to set this up on a 1 gigabit network, leaving this comment here in the meantime so I can get back and update you with the results

    • @DeetexSeraphine
      @DeetexSeraphine 7 місяців тому

      He mentioned a performance increase in context of smaller files. Assuming that to be the case, this just leaves the performance of the receiving media.

  • @abaddon3k
    @abaddon3k 2 роки тому +4

    Really would have been nice if you had linked the github you started with instead of just your own links, not everyone runs a synology box and having the original guide to follow for a standard linux NFS setup without having to read a URL from your video is very helpful.

  • @crazman123
    @crazman123 2 роки тому +1

    I was able to connect to an NFS drive via a gui on windows no command line needed.

  • @4ngeldus739
    @4ngeldus739 2 роки тому +2

    The fact that this feature is in windows and disabled by default with no gui to enable it is pretty dumb. It makes it worse that you can't create an NFS share in the regular versions on windows

    • @franciscooteiza
      @franciscooteiza 2 роки тому

      Hello!!! of course there is a GUI, that you don't know that is not Windows fault!

    • @4ngeldus739
      @4ngeldus739 2 роки тому

      @@franciscooteiza they didn’t show it in the video. Send me a tutorial that shows it being done in the GUI

  • @JuanLopez-db4cc
    @JuanLopez-db4cc 2 роки тому +1

    Wonderful explanation kind sir. Job well done! Thanks a bunch.

  • @TheBrendanMcCoy
    @TheBrendanMcCoy 2 роки тому +3

    Every time I've tried NFS with Windows clients, there has been a lot of UI unresponsiveness and mount instability, such that SMB ends up getting in the way or standard user interaction less. Has something changed about this?

    • @Anonymous______________
      @Anonymous______________ 2 роки тому

      Yup, NFS has locking and file handling issues with Windows clients. Sadly, I don't believe he's ever used SMB hosted on a Linux system. I have numerous large scale SAMBA servers running on Linux in conjunction with CTDB with several hundred clients, all capable of delivering line speed. Sure, SAMBA is a very chatty protocol, but in terms of security and complexity it is far easier to deploy than a 20-year-old legacy protocol such as NFS. For anyone looking for extremely high performance, they usually use different clustered file server solutions and then re-export them using SAMBA. The lack of Linux experience seems to show in this video.

  • @chinesepopsongs00
    @chinesepopsongs00 Рік тому

    Your tweet about the change in syntax is incorrect. It has not changed but there where 2 options one from DISM and one from Server Manager module. Server Manager version was the first that could use remote sources if feature source was not availble local. However that option was also later added in the DISM module. Microsoft finally decided to remove one of the 2 options because it makes no sense to have 2 teams develop and maintain the same functionality.

  • @jonneygleeberson6987
    @jonneygleeberson6987 2 роки тому

    when i try to mount the network drive it says the command "mount" is not recognized as a command...
    I am using cmd, non admin....

  • @AdmV0rl0n
    @AdmV0rl0n 2 роки тому +2

    The brutality is NFS has no simplified tooling. Period. Windows has all the basic tooling embedded in the OS down to right click folder level, permissions and ACLs. If NFS and its cohorts want to climb into position to replace SMB, its not that their things is bad, its that their tool is arcane, people think its clever, and until that changes, good luck.
    If I really want to be blunt, then so be it. Both SMB and NFS have such baggage, that maybe its real that we need a modernised, multi platform, file sharing, well engineering replacement, with tooling right into the UI. We won't get it, but anyway.

  • @briancapps7593
    @briancapps7593 2 роки тому

    you are the best windows guy on youtube, They should hire you,

  • @Alex_Dumitrache
    @Alex_Dumitrache 2 роки тому

    How can I make it not try to automount the share? I tried it out on a laptop and it does not like not having them available. It crashes the whole explorer.

  • @anon1div0
    @anon1div0 2 роки тому

    Good info. I’ve extracted the 'button' code to make a simple install batch file. Thanks.

  • @TheBigTechEddy
    @TheBigTechEddy 2 роки тому +1

    i think you forgot to tell that it doesn’t work on windows 10 home. at least not on mine. i halve also synology, i dit exactly what you did, but my computer doesn’t have mount in cmd, only in powershell. but the -o option is not recognized and when i leave it out, the syntax of the share is wrong.

    • @deleterium
      @deleterium 2 роки тому +1

      I tried this a year ago and got same dead end: No NFS in Windows 10 Home.

    • @SpockoMan
      @SpockoMan 2 роки тому +1

      I have Windows 11 Pro, and I am getting the same thing...the -o option is ambiguous and cannot seem to get it to work, either.

    • @jujucabalala
      @jujucabalala 2 роки тому

      @@SpockoMan I even upgraded to Win 11 pro and still cannot get this to work. Services for NFS does not appear in Windows Add and Remove Features and no mount.exe as weill...

  • @RebelliousX
    @RebelliousX 3 місяці тому

    The only downside to NFS is the lack of clear way to restrict access compared to SMB with ACLs. Logging in as anonymous and all can see data is bad. I mean sure there is Kerberos authentication for NFS4 but it is a pain to setup, might be worse than SSH.

  • @janpetersen8441
    @janpetersen8441 2 роки тому

    Doesn't look like MS want me to have this feature. Script finished OK, and say the feature is enabled, but in CMD calling nfsadmin returns "not recognized as an internal or external command". Guess I need to upgrade my Windows license to professional or something?

  • @MajorGlory01
    @MajorGlory01 2 роки тому

    Will definitely try this on my old Zyxel 325 NAS which only supports SMBv1. It should support NFS and I only use Windows clients, so this is the perfect tutorial for me!

  • @XiongZhou
    @XiongZhou Рік тому +1

    Tried NFS on Windows server 2022, 2 big problems: 1. Windows NFS only support ANSI characters 2. UID/GID mapping for linux clients, otherwise it will create permission hell.

  • @ErikS-
    @ErikS- 5 місяців тому

    8:55 - so true! Like config.sys with all the drivers haha!
    Those times were so great!

  • @DeusWolf
    @DeusWolf 2 роки тому +3

    Chris, I think you've mentioned in various videos that you mount your home directories from NFS on all your linux systems, I think that would make an interesting follow-up video to this one.

    • @TommyApel
      @TommyApel 2 роки тому +1

      You can boot a full linux off nfs if you want to.

  • @n0madfernan257
    @n0madfernan257 2 роки тому

    I have a lot of thinking on this one, thank you for summing it up

  • @postnick
    @postnick Рік тому +1

    I know it's maybe my machine but I just tried NFS vs Samba and still getting the same 50 megabits down from my truenas to windows. The kicker is I can do 105 writes. (SSD array)
    But from my Mac I can do closer to 80. its frustratingly slow.

  • @YouTob.
    @YouTob. 2 роки тому

    Hi. I only have 2 computers, no NAS, one shares music to the other, do I have to use this protocol? thanks!

  • @ganeshputtige
    @ganeshputtige 2 роки тому +1

    By default NFS is not encrypted. SSHFS is encrypted by default and offers better performance than SMB. Microsoft Windows also supports SSHFS through addon software component. Isn't it a better choice over NFS?

  • @VilerVicious
    @VilerVicious 3 місяці тому

    I am having a hard time mounting an NFS share, on a windows client, through public IP address. I tested an Ubuntu VM hosted by the same exact windows machine and it can mount the NFS through public IP with no problems. Could you guys please help? I've tried anything I had in mind, with no success. Thanks, and great video!

  • @davidanderson2436
    @davidanderson2436 2 роки тому +1

    Great video thanks - when mapping out the drives - wouldn't the NFS maps be just as susceptible as the SMB maps? - once the drive is mapped (and set to auto map with a script) the dBag that is trying to ransomware you connects - he's gonna grab all those mapped drives regardless - not sure I see how one is more secure than the other once the connection is made.

  • @walterbyrd8380
    @walterbyrd8380 2 роки тому

    In my experience: Windows 10 **HATES** SAMBA. With older versions of windows, connecting to samba was a cinch. Now, you have to fight with it, and fight with it, and fight with it. Nothing "just works." When I google the issue, I get about about 1000 different "fixes." I guess I'm supposed to try them one at a time and hope something eventually works.

    • @ChrisTitusTech
      @ChrisTitusTech  2 роки тому

      Make sure you create the share with v3 and you'll be fine. v1 is instantly rejected in Win10 and rightfully so, because it has TONs of security flaws.

  • @posterboi87
    @posterboi87 2 роки тому

    You should do Steam Deck videos. I would love to see the crazy things you do. I have been trying to figure out for sharing for "cloud save" for emulators. Playing on a handheld then jumping to your desktop with no loss in progress would be DOPE

  • @johngalt8708
    @johngalt8708 2 роки тому

    So I can't share my Windows files using NFS because Windows 10 doesn't have an NFS server? There's no software that can make up for this? NFS might be great for using Tdarr with.

  • @choppergirl
    @choppergirl Рік тому

    I don't want anything complicated, I want it to work just right out of the box with no security at all. Just work. It's like a guy that sells houses with the most complicated security config file ever ont he front doors and windows, and nobody he sells them to understands it all, so they all just have to leave their doors and windows unlocked and the system off to just simply USE their house. This is SMB and NFS. It don't work out of the box, and the config files are too complicated for anyone on earth to understand.
    As soon as you said "It can't share a folder" at the 2 minute mark I was like, why did you just waste all of our time then... literally, that is file sharing, that's what we wnat.

  • @yunodiewtf
    @yunodiewtf 2 роки тому +1

    Can you do something like "cheap used inifiniband network between different OS PCs and do NFS with RDMA from linux share do linux pc and windows PCs" kinda thing?

  • @HectorLugo
    @HectorLugo 2 роки тому

    This did not work for me at all. Maybe Win 11 changed something. it complains that the option -o anon is ambiguous. I tried my user name, but that did the same thing

  • @dvc214
    @dvc214 2 роки тому

    Thank you Chris, this is what I've needed for soooo long

  • @bertvantol9669
    @bertvantol9669 2 роки тому

    I always used Windows ....
    But now playing with Linux, how to connect to my NAS from startup ??

  • @middle_pickup
    @middle_pickup Рік тому

    Can you set up a folder in windows to be shared to a raspberry pi through NFS?

  • @betao180z
    @betao180z 2 роки тому +1

    Very interesting! However, it is not for me. Good job!
    By the way, your channel offers a unique service. I have been following you since late 2018 and have been learning a lot.
    Thank you for the great work offered.
    Finally, I am Brazilian and the way you speak is very easy to understand and practice my poor English. Thanks again!

  • @mohammadmekayelanik7408
    @mohammadmekayelanik7408 10 місяців тому

    I am getting "mount: invalid option - 'anon'" can you suggest why?

  • @UrsRau
    @UrsRau Рік тому

    I just bought this Windows Toolbox based on this video, as I have been battling nfs mounting linux nfs exports to my windows machine. BUT the current version of the toolbox does not seem to have any tweak for NFS anymore? All I can see is a install feature under config to add NFS. But it dos not make any difference at all.
    What did the config add NFS actually do?

  • @KadargoGaming
    @KadargoGaming 2 роки тому +2

    You did not make a transfer test. I wonder!

  • @foobar1269
    @foobar1269 2 роки тому +1

    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

    • @BrondRando
      @BrondRando 2 роки тому +1

      I'm curious about this too. Would be interesting to see some comparisons.

  • @edwardecl
    @edwardecl 2 роки тому

    Does Windows NFS client handle unicode now, last time I tried to use it it didn't and it was a super old version of NFS that was slow AF.

  • @reaperc
    @reaperc 2 роки тому +1

    So I successfully switched to NFS and transferred a bunch of files to my server. Under SMB I was getting about 80 MB/S - 85 MB/s and with NFS its hanging between 60 MB/s - 70 MB/s. I don't understand why it's slower.

    • @RaduUrsache
      @RaduUrsache 2 роки тому

      same here. i see no benefit making walkarounds for worse performance. I'll stick with SMB3

    • @kiyashko86
      @kiyashko86 2 роки тому

      How did you get such speeds? I have 1gbit+ all devices but have only 10-15MB/s, as some other comments here. Or you made a mistake and you have 80mb/s = 10Mb/s.

    • @reaperc
      @reaperc 2 роки тому

      @@kiyashko86 extremely large files are slower. My files were smaller, so I think that's why.

    • @kiyashko86
      @kiyashko86 2 роки тому

      @@reaperc Yea, Bingo! Definitely small files can run faster, they more athletic, and wires are thin. And LAN wires have 8 cores, so that's why 8x speed difference.

  • @knutblaise9437
    @knutblaise9437 2 роки тому +2

    I'm unfamiliar with NFS. The idea of limiting access by IP address/range could be concerning for some users. Is there an augmented version of NFS or a Linux NFS alternative that provides increased security? PuTTY for instance can use certificates for accessing Linux servers. SCP can use an encrypted ssh tunnel for accessing files. I'm hoping Linux has pulled together some of these technologies to create an SSH/PKI challenge-response mechanism to limit access to files. For performance I understand not wanting to encrypt all file transfers but for many restricting access beyond their IP address would be necessary.

    • @mercuriete
      @mercuriete 2 роки тому +1

      I am not familiar either but it seems a limitation from client side. He connects with anonymous user what seems a Windows side problem.

    • @ivailogeimara
      @ivailogeimara 2 роки тому +2

      NFS is very simple protocol. It just restricts by IP. Permissions for files are inherited from the Linux permissions. You can have more complex permissions with NFS ACL. If you want more security (login, etc.) then you need to add Kerberos which is considered PITA to setup and I don't know if Windows supports it.
      Normally for home environment people don't care that much about security because you have full control over the network and every device on it.

    • @mercuriete
      @mercuriete 2 роки тому +1

      ​@@ivailogeimara I don't recall properly but I remember when I was in college, I had to set up a NIS server with NFS for home folders. I don't really remember if with this setup you need to be autenticated first to mount NFS or NFS can be mounted at any time.
      Thank for your explanation, I will do my research on the subject. :)

    • @SchoolforHackers
      @SchoolforHackers 2 роки тому +2

      Sun’s Network Information System (NIS) is deprecated, so your step up in permission management is LDAP, i.e. OpenLDAP, AD, NDS. That’s basically how you get Kerberos (to oversimplify), and yes , setup is a PITA.

    • @39zack
      @39zack 2 роки тому +2

      NFS is old and very simple.
      NFS V1 was only for in-house experiments by Sun
      NFS V2 came in 1989
      NFS V3, 1995
      NFS V4, 2000
      NFS V4.2, 2016

  • @RaduUrsache
    @RaduUrsache 2 роки тому +2

    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

  • @jwalsh5764
    @jwalsh5764 2 роки тому

    Thanks! Just got my unraid nfs shares mounted.

  • @FloDaddelt
    @FloDaddelt Рік тому

    Great video! Thank you for this, I am using a WD NAS but I'm sure I get this to work there as well.

  • @mbarrio
    @mbarrio Рік тому

    In windows explorer, with an NFS share mounted at Z: I can't execute .exe files... also can't open a zip with peazip and extract to the same dir.-.. useless

  • @sopota6469
    @sopota6469 Рік тому

    The only thing that proves the CVE vulnerability search is that SMB is a more widely used protocol. If you do the same search today the first 6 listed are Linux SMB implementation vulnerabilities 🤦‍♂

  • @JohnLuzzi123
    @JohnLuzzi123 2 роки тому

    I set this up, but NFS is was slower than SMB for me, why?

  • @rossq9432
    @rossq9432 2 роки тому

    If you get an error that says Parameter cannot be processed because the parameter name 'o' is ambiguous. When you use the mount command
    Change mount in the command to mount.exe

  • @kennethrutt7986
    @kennethrutt7986 2 роки тому

    I have to ask, what do you use for your green screening? The image of you, overlaid on your video looks really good.

  • @Potew
    @Potew 2 роки тому

    Worked here on my 10-year old SMB-v1-only ReadyNAS but it is extremly slow. Couldn't even copy a single file, only view them. Any tips to increase the speed?

  • @elvinhaak
    @elvinhaak 2 роки тому

    Hi. I'm new here, also new on Windows11 (I'm a Linux-guy...). Somehow also this tool does not get it working. MS Windows11 home in English language just newly OEM installed.
    Seems to be that also this script does not install NFS.
    Is there any way to use the Linux system with some "sudo app install nfstools " or just a mount in Linux to get it working maybe? My home-network (several (older) PC's and some Pi's) all work with Linux and get their files on a little NFS fileserver and really don't want to install Samba for just one PC...

  • @TheTrulyInsane
    @TheTrulyInsane Рік тому

    Well, for whatever reason, my connection to my truenas server via nfs on windows hits an absolutely amazing 30mb/s transfer speeds and I can't get it to go any higher.. so smb it is for now

  • @idahofur
    @idahofur 2 роки тому

    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.

  • @timetorelaxfocus9642
    @timetorelaxfocus9642 Рік тому +1

    The "toolbox" link is not working.

  • @catupeloco
    @catupeloco 2 роки тому

    probabiy the performance boost is because nas box is unix base. I think if you map smb beetween two windows boxes it will perform just fine

  • @justins7796
    @justins7796 2 роки тому

    that program is a dream, no internet surfing required:)

  • @prettylady1347
    @prettylady1347 7 місяців тому

    How can I get an NFS server on an android device using Termux, please. Any ideas?
    I tried this command but in vain (apt-get install nfs-kernel-server )

  • @whtiequillBj
    @whtiequillBj 2 роки тому

    Why do you mount them to drive letters and not file system folders? 📂

  • @davidanderson2436
    @davidanderson2436 Рік тому

    Is there any way to get an NFS client to work on Windows 11 Home? 99% of the computers I use are Pro or Linux, there's that 1% that sneaks in with home! Driving me batty - changed my NAS to use NFS and now I have one user left out in the cold cause shes running Windows 11 Home 😔

  • @dannyreneau8236
    @dannyreneau8236 2 роки тому

    I have a Synology NAS DS218 that I setup access to from my Windows 10 Pro PC. I setup access to the NAS using both (Synology Control Panel) File Services *SMB*, and File Services * NFS*. I then proceeded to test copying a large file (~4.3 GBs) from my local hard drive to the NAS over each logical connection. In my experience, I saw a slightly slower throughput 10.3 - 10.5 MB/s ( Avg) using the NFS connection -vs- using the SMB connection where I saw better throughput Avg ~11.3 - 11.5 MB/s. I even went into the "Advanced Settings" and changed the "read packet & write packet" sizes to 32 KB for each and re-tested with no improvement. Am I missing something? I don't see the speed improvement using NFS over SMB as touted in the above post. In fact, I would say SMB has a slight advantage in speed for copying this large file. I do realize that Chris mentioned "small files", but I would think this "supposed speed improvement" would also be noticed on large files as well... ? What am I missing and/or NOT doing right that I'm not seeing a speed performance using NFS? I'm sticking with SMB for now as it seems to be the obvious choice for performance.

  • @spacecube40
    @spacecube40 2 роки тому

    Good video. Suggestion: Next video going to be sshfs and windows! :)

  • @Michael-sn1wq
    @Michael-sn1wq 2 роки тому

    Windows is backward thinking therefore back slashes. Pure genius, worth a like and follow for that comment alone

  • @hallambaker
    @hallambaker 2 роки тому

    The presenter makes a big deal about the 'insecurity' of Windows SMB. Then tells people to use NFS host mount using the IP address as the authentication.
    The reason NFS doesn't have so many CVE reports is that it essentially offers no security in that mode.

  • @williammurdock3028
    @williammurdock3028 2 роки тому

    So I'm still using SMB for my home non-server network. I File Share with just 4 different IDs between each devices. I run three VMs on one system, with access restricted to that device.

  • @heckyes
    @heckyes 2 роки тому

    Woah, cool tools Chris.
    Does it "Debloat" as well?

  • @radaplay
    @radaplay Рік тому

    does nfs work correctly with active directory and ldap ?

  • @j23j232002
    @j23j232002 2 роки тому +5

    I do not have nothing against SMB, especially the latest versions 3+ and not sure why is considered slow, I have seen worse on NFS. And beauty of this one, if the server has problems and trust me it happens all the time even on Linux, either the service goes bonkers and even restart does little causing mounting problems., Try troubleshoot with unmount and go ahead with "resource busy" error . Stale file handles another problem that makes you rip your hair. Good luck restarting client that lost its NFS connection , it will get stuck until it gets mount back so it can unmount again, button press is the only fix working in this case. It may not show on single computer but multiple access to same volume and domino effect sooner or later. Do not get me started on Apple OS X mounting any network file system, it is turd be it SMB and NFS, copy errors, io timeouts, Finder reporting no write permissions when in fact they are there, and terminal copy works. Welcome to beautiful beach ball and share ejections upon copies. And as far as vunerebilty list what does not have it, your vids are great as long a there is no this funboy bias, then it is just meh.

  • @chuwy2k
    @chuwy2k 2 роки тому

    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?

  • @JFat5158
    @JFat5158 2 роки тому

    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.

  • @anmac6910
    @anmac6910 Рік тому

    How can i mount my s8 galaxy in linux via smb or nfs ?

  • @jmtrad1906
    @jmtrad1906 2 роки тому

    Sadly is one of those cases that Windows don't do it because of backwards compatibility. But i believe they could make it work

  • @Spydaw
    @Spydaw 2 роки тому

    Would this work on a Win10Home machine, as I notice that the NFS option is not available under the Enable Features Window.

  • @justina208
    @justina208 2 роки тому

    its trickier when the share is smb AND nfs and you have active directory authentication involved. our Synology box isn’t very good about user ID mapping between Linux/Windows either. would like to use NFS at work though.