,

Mount NFS Shares on Windows 11

This post outlines the process of creating and mounting NFS shares in Ubuntu Linux for Windows access. NFS facilitates secure file sharing across different operating systems, with user management for permissions. It involves enabling NFS services in Windows, using the command prompt, and accessing shares via Windows File Explorer for seamless integration.

This post describes how to create NFS shares in Ubuntu Linux and mount them in Windows 11.

Network File System (NFS) is a protocol that lets you share files and directories over a network. You can store files on a single server and have multiple clients access them.

With NFS, you can effectively manage permissions for users and groups, ensuring your files are securely shared and protected.

NFS is a widely used protocol for sharing files across different operating systems. If you’re in a mixed environment where Windows systems need to access files stored on NFS servers (like Linux servers), mounting NFS allows seamless access to shared files.

Install and export NFS share

To mount an NFS share on Windows, you must first install and configure the NFS share.

If you haven’t already done so, use the post below to learn how to do it.

How to install and export NFS share on Ubuntu

Once you’re done, continue below.

Mount NFS share in Windows

After sharing the folder on the NFS server, open the Windows machine and navigate to Control Panel > Programs > Programs and Features.

Next, click “Turn Windows features on or off,” as shown below.

When the configuration panel opens, select and enable the NFS Services option.

Click OK and close.

That should enable Windows clients to mount NFS shares. Now that this feature is enabled on your Windows machine, open the command prompt and mount the share from the NFS server.

mount srv1.example.com:/home/nfsshare Z:\

You should see Windows mount the share.

You can now go to Windows File Explorer and see the mounted share.

That should do it!

Conclusion:

In summary, mounting NFS shares on Windows allows for seamless integration of file access between Linux and Windows systems. Here are the key points to remember:

  • NFS Protocol: Enables file sharing across different operating systems efficiently.
  • User and Group Management: Ensures secure file sharing with proper permission settings.
  • Installation: Ensure NFS services are installed and configured correctly on the server and client machines.
  • Command Prompt: Use the command line to mount NFS shares with ease.
  • File Accessibility: Mounted shares can be accessed directly through Windows File Explorer.

With these steps completed, you can enjoy a seamless file-sharing experience across your network!

Comments

  1. steve Spence Avatar
    steve Spence

    The mount command in windows 10 gives returns an error without the \\ before the ip address

  2. Hi! Thank you for the article! Could you change from `mount 10.0.2.7/home Z:\` to `mount 10.0.2.7:/home Z:\` how on your screenshot, please.

    1. Done… Thanks for that

  3. carlos perez Avatar
    carlos perez

    on my W10, after mounting my share it did not appear under “This PC” I just mapped manually

    thanks

  4. Didn’t really work for my needs, not possible to edit existing files. I tried for hours to get real write permissions but it isn’t possible

  5. @Kross – try this to enable write permissions – refer https://graspingtech.com/mount-nfs-share-windows-10/

  6. Jay Kavanaugh Avatar
    Jay Kavanaugh

    I can see the directory but the files in the directory are not visible from windows. I have a network with a couple of linux machines and the 2nd linux box can see the files but windows cannot:

    T:\>dir
    Volume in drive T has no label.
    Volume Serial Number is 0000-0000

    Directory of T:\

    17/11/2018 01:15 ..
    17/11/2018 01:15 .
    0 File(s) 8,192 bytes
    2 Dir(s) 160,240,812,032 bytes free

    T:\>mount \\192.168.1.5\export\video T:

    fred@HTPC-A:/mnt/video$ ls -al
    total 48
    drwxrwxr-x 12 fred fred 4096 May 3 2019 .
    drwxr-xr-x 7 root root 4096 Nov 7 2018 ..
    drwxrwxr-x 2 fred fred 4096 May 8 2019 CNNs
    drwxrwxr-x 9 fred fred 4096 Mar 23 2017 GoPro
    drwxrwxr-x 13 fred fred 4096 Mar 23 2017 Music
    drwxrwxr-x 14 fred fred 4096 Mar 23 2017 TV
    fred@HTPC-A:/mnt/video$

  7. daniel Avatar

    Really thank you I have passed my exam because of your tutorial 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

Exit mobile version