Network storage by protocol NFS (Network File System allows you to turn your Xiaomi RedmiBook 8 Pro into a full-fledged client for working with remote folders - whether it is a real-life client. NAS-A server, another computer on the LAN, or cloud storage, is a technology that is particularly sought after by developers, system administrators, and users who need to quickly share large files without copying them to physical media.
However, the NFS configuration on Xiaomi laptops has nuances: preinstalled Windows 11 does not include the NFS client out of the box, and in Linux distributions (for example, Ubuntu or Manjaro, which are often installed on RedmiBook) requires a manual configuration /etc/fstab. In this guide, we will analyze both scenarios - from installing the necessary software to solving typical errors like mount.nfs: access denied by server or access rights problems.
Important: If youβre using RedmiBook 8 Pro with dual boot (Windows + Linux), the instructions for each OS are independent β the NFS settings on one system wonβt affect the other. Also note that Ethernet is recommended for stable operation instead of Wi-Fi, especially when transferring files over 10 GB.
1. Laptop Preparation: Checking Network Parameters
Before you set up NFS, make sure your RedmiBook 8 Pro is properly connected to the LAN and has access to the NFS server.
- π Check the type of connection: give preference to a wired connection (port) RJ-45 RedmiBook 8 Pro supports speeds up to 1 Gbps. If you use Wi-Fi, make sure the router runs in the 5 GHz band to minimize latency.
- π‘ Set up static. IP: server-client NFS preferably IP-router (DHCP-reservations) to avoid problems with changing addresses.
- π Open ports: protocol NFS port 2049/TCP and 2049/UDP. In Windows Firewall (Windows Defender) or ufw in Linux, you need to allow them.
To check the connection to the NFS server, run on the command line (Win + R β cmd or Linux terminal):
ping <IP- server address>If the ping passes (0% loss) NFS-folders are not mounted, the problem may be in the export settings on the server or access rights.
β οΈ Note: Some RedmiBook 8 Pro firmware (especially with Windows 11 preinstalled) DCH) service NFS Client may conflict with Intel Wi-Fi adapter drivers AX200. If, after the installation of the client NFS Update the adapter driver via Xiaomi Driver Installer or manually from Intelβs website.
2. Setting up NFS in Windows 11 on RedmiBook 8 Pro
By default, Windows 11 doesn't support NFS, so you need to install it manually. Here's a step-by-step guide:
- Installation of the component NFS: Open the control panel. β Programme programmes β Turning Windows components on or off. Find the Services in the list NFS and mark: π Client for NFS π Services for UNIX (subsystem UNIX-Applications β optionally, for compatibility
- Press OK and wait until the installation is complete (reboot will be required).
Mounting of the network folder:
- Open this computer. β Connect the network disk.
- In the folder field, specify the path in format: \\<IP-server>\<export> (for example, \\192.168.1.100\movies).
- Mark Connect when you log in and click Ready.
If you have a 0x80070035 error ("Network path not found"), check:
- π Correctness IP-server address and export name (registrar is important!).
- π On the server. NFS file-wise /etc/exports must be a rule of the form: /path / to / folder *(rw,sync,no_subtree_check,no_root_squash)
- π‘οΈ Windows Firewall Allows Incoming Connections to NFS (port 2049).
IP-ping server address|Port 2049 opens on server and client|Component βCustomer for NFS" fixed|Export name is given without typos|-->
3. NFS configuration in Linux (Ubuntu/Manjaro) on RedmiBook
If youβre using Linux on RedmiBook 8 Pro, the NFS setup process is easier than Windows, but requires you to work with the console.
Installation of packages:
sudo apt update & & sudo apt install nfs-common # For Debian/Ubuntu
sudo pacman -S nfs-utils # For Manjaro/ArchCreation of a mounting point:
sudo mkdir -p /mnt/nfs_shareMounting of the folder:
sudo mount -t nfs <IP- server>:/path/to/export /mnt/nfs_shareFor automatic mounting, add a line to /etc/fstab:
<IP- server>:/path/to/export /mnt/nfs_share nfs defaults 0 0β οΈ Note: When using RedmiBook 8 Pro with Ubuntu 22.04+ and nucleus 5.15+ This may be the case with mount.nfs: requested error. NFS The solution is to explicitly specify the version of the protocol in the mount command: sudo mount -t nfs -o nfsvers=4 <IP-server>:/export /mnt/nfs_share
Windows 11|Ubuntu|Manjaro/Arch|Other Linux|Dual download-->
4. Solving Common NFS Errors
Even with the right NFS setup on the RedmiBook 8 Pro, errors can occur.
| Mistake. | Reason. | Decision |
|---|---|---|
| mount.nfs: access denied by server | The NFS server does not allow connection from your IP or incorrect export rights. | Check the /etc/exports file on the server. Restart NFS: sudo exportfs -ra. |
| 0x80070043 (Windows) | Incompatibility of NFS protocol versions (usually NFSv3 vs NFSv4) | Specify the version manually when mounting or update the NFS client in Windows. |
| Stale file handle | The NFS server has been rebooted and the client is trying to access the outdated descriptor. | Rewire folder: sudo umount /mnt/nfs_share && sudo mount -a. |
A critical feature for RedmiBook 8 Pro: Wi-Fi 6 (AX200) and NFS can simultaneously experience network freezes. This is due to adapter drivers in Linux kernels older than 5.10.
5. Optimizing NFS performance
By default, NFS uses conservative settings, which can lead to low data rates on the RedmiBook 8 Pro. Hereβs how to optimize the work:
- β‘ Increase the size of the buffer: when mounting add options: sudo mount -t nfs -o rsize=8192,wsize=8192,hard,intr <IP>:/export /mnt/nfs_share where rsize and wsize are the sizes of read/write buffers (maximum) 1048576).
- πΆ Disable attributes (if not): noatime option will reduce server load: sudo mount -t nfs -o noatime,nodiratime <IP>:/export /mnt/nfs_share
- π Use it. NFSv4: It supports caching and works better with large files.=4.
To test the transmission speed, use the command:
dd if=/dev/zero of=/mnt/nfs_share/testfile bs=1G count=1 oflag=directIf the speed is below 50MB/s when wired, check the MTU settings on the network (the optimal value for NFS is 9000 for Jumbo Frames).
π‘
If files are copied slowly after setting up NFS, try disabling antivirus (such as Xiaomi Security or Windows Defender) β they can scan network traffic and slow down transmission.
6.Security: Protection NFS-linkage
The NFS protocol does not encrypt traffic by default, making it vulnerable to interception on the local network. To protect data on RedmiBook 8 Pro, it is recommended that:
- π Use it. VPN: For example, WireGuard or OpenVPN for traffic tunneling NFS.
- π‘οΈ Restrict access to IP: into /etc/exports point out specific IP instead of *: /way 192.168.1.100(rw) 192.168.1.101(ro)
- π Configure Kerberos: To authenticate users (requires additional server configuration).
To check for vulnerabilities, use the Nmap utility:
nmap -sV -p 2049 <IP- server>If port 2049 is open to external access (not just local area network), close it in the firewall!
What if the NFS is βhangingβ and does not respond?
7.NFS Alternatives for RedmiBook 8 Pro
If NFS is not suitable for compatibility or security reasons, consider alternative protocols for network file access.
| Protocol | Pluses | Cons | Recommendation for RedmiBook |
|---|---|---|---|
| SMB (Samba) | It is easy to configure and supported by all OS. | Slower than NFS when working with a large number of small files. | Ideal for file sharing with Windows-PC. |
| SSHFS | Encrypting traffic out of the box, simple setup. | High load on the CPU when transferring large files. | Good for temporary access to deleted files. |
| WebDAV | It works via HTTP/HTTPS and is easily integrated with the cloud. | Low speed compared to NFS/SMB. | Suitable for accessing files from the browser. |
For mounting SMB-Use the Linux folder:
sudo apt install cifs-utils
sudo mount -t cifs//<IP- server>/share /mnt/smb_share -o username=user,password=passπ‘
NFS is optimal for high-speed LANs (1 Gbps+), whereas SMB is more versatile for mixed environments (Windows + Linux).