How to set up NFS Xiaomi RedmiBook 7: from installation to fine optimization

Xiaomi RedmiBook 7 is a popular notebook with balanced specs, but its networking capabilities are often left untapped. NFS (Network File System, a protocol that allows you to mount remote folders as local drives with minimal latency. SMB or FTP, NFS Optimized for Unix-like systems, but successfully used on Windows with the right settings.

This article will help you understand how to set up NFS RedmiBook 7, regardless of operating system, from the basic server/client installation to solving typical connectivity problems. NFS-servers on a laptop for distributing files, connecting to an external NFS-server (for example, on a router or NAS) And we're going to focus on the unique nuances of the work. NFS Xiaomi laptops with hybrid network adapters (Wi-Fi 6) + Ethernet, which can affect connection stability.

1. What is it? NFS Why do you need it on RedmiBook 7?

NFS (Network File System, a network protocol developed by Sun Microsystems in 1984 for remote file access, has key advantages over alternatives (SMB, FTP, WebDAV):

  • ๐Ÿš€ Minimum overhead costs: NFS It transmits data with less latency, which is critical for working with large files (video, databases, projects in Blender or Unreal Engine).
  • ๐Ÿ”„ Client-side caching: Frequently used files are stored locally, reducing the number of server calls.
  • ๐Ÿ”’ Flexible Access Rights: Configure Permits through UID/GID (Like Linux, which is convenient for multi-user systems.
  • ๐ŸŒ Cross-platform: Works on Linux, macOS, Windows (with additional software) and even some NAS-device.

On RedmiBook 7. NFS relevant in the following cases:

  • ๐Ÿ’ป Development: mounting project folders from the server to work in VS Code, Docker or Git.
  • ๐ŸŽฌ Media Center: Streaming of films with NAS without buffering (coupled with Kodi or Plex).
  • ๐Ÿ“ฆ Backup: Automatically save backups to a network drive using rsync.
  • ๐ŸŽฎ Games: Storage of Minecraft game worlds or mods on a central server for LAN-game.

It is important to understand that NFS It doesn't encrypt traffic by default. If you want security, you'll have to configure it. NFS over TLS use VPN It's also sensitive to delays: when you connect over the Internet (not a local network), you may have performance problems.

๐Ÿ“Š What do you plan to use for? NFS on RedmiBook 7?
Development/programming
Media and entertainment
Backup
Local network games
Another option

2. Preparation of RedmiBook 7 to work with NFS

Before setting up NFS There are a few preparatory steps that you need to take. They depend on the operating system you have installed on your laptop.

2.1. Checking network settings

NFS RedmiBook 7 with Intel Wi-Fi 6 hybrid adapter AX200 + Ethernet is recommended:

  • ๐Ÿ”Œ Prefer wired connectivity (Ethernet) if possible. Wi-Fi 6 supports high speeds but can cause delays when roaming between access points.
  • ๐Ÿ“ก When using Wi-Fi, set a fixed channel on the router (e.g., channel 36 in the 5GHz band) and turn off 802.11r (Fast Roaming, if you don't need it.
  • ๐Ÿ”„ To the control panel. โ†’ Disable "Energy saving for network adapter" (in the driver properties).

Check the current connection speed by the command in PowerShell (Windows) or terminal (Linux):

# Windows


Test-NetConnection -ComputerName 192.168.1.1 -InformationLevel Detailed




Linux



iperf3 -c 192.168.1.1

Updating drivers

Outdated drivers of network adapters can cause connection breaks when working with NFS. For RedmiBook 7:

  1. Download the latest drivers for Intel AX200 from the official Intel website.
  2. Remove current drivers through Device Manager (right click on adapter) โ†’ "Remove the device" โ†’ Check "Delete driver programs").
  3. Install new drivers and restart the laptop.

โ˜‘๏ธ Preparation of RedmiBook 7 to NFS

Done: 0 / 5

Static adjustment IP

NFS It requires stable network addresses. Set up static. IP RedmiBook 7 on router or manually:

ParameterWindows 10/11Linux (Ubuntu/Debian)
The path to settingsParameters โ†’ Network and Internet โ†’ Ethernet/Wi-Fi โ†’ Adjustment of adapter parameters/etc/netplan/01-netcfg.yaml
IP-addressFor example, 192.168.1.100addresses: [192.168.1.100/24]
GatewayRouter address (e.g. 192.168.1.1)gateway4: 192.168.1.1
DNS8.8.8.8, 1.1.1.1nameservers: [8.8.8.8, 1.1.1.1]

โš ๏ธ Note: If you use Wi-Fi, make sure that the router settings are turned off AP Isolation: This feature blocks the exchange of data between devices on the same network, which will make it possible to do so. NFS inaccessible.

3.Tune in. NFS-servers on RedmiBook 7 (Linux)

If you plan to give away files from a laptop, you first need to configure NFS-On RedmiBook 7 with Linux (like Ubuntu or Manjaro), the process looks like this:

Installation of packages

Open the terminal and do:

# Ubuntu/Debian


sudo apt update && sudo apt install nfs-kernel-server




Arch/Manjaro



sudo pacman -S nfs-utils

Configuring export folders

Edit the file. /etc/exports:

sudo nano /etc/exports

Add a line to distribute the folder (for example, /home/user/nfs_share):

/home/user/nfs_share 192.168.1.0/24(rw,sync,no_subtree_check,no_root_squash)

Parameters:

  • rw - access to reading and writing.
  • Sync is synchronous recording (more reliable, but slower).
  • no_subtree_check โ€” Disables subtree inspection (accelerates work).
  • no_root_squash โ€” Allows root access (unsafe for public networks!).

Starting the server and checking

Apply the settings and start the server:

sudo exportfs -a


sudo systemctl restart nfs-kernel-server

Check the available exports:

sudo exportfs -v
How to check availability NFS-server from another device?
From another computer on the network, execute the command: showmount -e 192.168.1.100 (substitute IP If the team returns the list of exported folders, the server works correctly.

4. Setting up NFS-client on RedmiBook 7 (Windows/Linux)

If you need to connect to the external NFS-server (e.g., on the NAS or other PC, follow the instructions below.

Connection to Linux

mount the deleted folder with the command:

sudo mount -t nfs 192.168.1.101:/path/to/share /mnt/nfs_share

To mount automatically when booting, add a line to /etc/fstab:

192.168.1.101:/path/to/share /mnt/nfs_share nfs defaults 0 0

4.2 Connection to Windows

Windows does not support NFS "Out of the boxโ€ but can be used:

  • ๐Ÿ–ฅ๏ธ Built-in client NFS (editable Pro/Enterprise):

Third-party utilities

  • WinNFSd is a lightweight. NFS-server/client with graphical interface.
  • Hanewin NFS Server โ€“ a free solution for older versions of Windows.

โš ๏ธ Attention: In Windows 10/11 mounting NFS-Folders through the built-in client may cause errors 0x80070035 ("Network path not found.Solution: disable Windows Defender firewall for private networks or add port exception 2049 (TCP/UDP).

5. Speed optimization NFS on RedmiBook 7

By default. NFS It can be slower than expected. Optimize settings for maximum performance:

Mounting parameters

When mounting a folder, use the following options to accelerate:

sudo mount -t nfs -o rsize=8192,wsize=8192,hard,intr,noatime,nodiratime 192.168.1.101:/share /mnt/nfs

Decoding of parameters:

  • rsize/wsize=8192 โ€” Read/write block size (increases bandwidth).
  • Hard โ€“ hard mounting (repeats requests when failure occurs).
  • Intr โ€“ allows you to interrupt the suspended operations.
  • noatime, nodiratime โ€“ disables the recording of file access times (reduces disk load).

Configuring the server

On the server (if it runs on RedmiBook) 7) edit /etc/nfs.conf:

[nfsd]


threads=8# Increase the number of threads to handle requests




udp=y # Enable UDP for LANs (faster TCP)

5.3 Wi-Fi problems

If you are using a wireless connection, check:

  • ๐Ÿ“ถ Router mode: Install 802.11ac (5 GHz instead 802.11n (2.4 GHz).
  • ๐Ÿ”‹ Energy Saving: In Device Manager, turn off the option "Allow this device to be turned off for energy savings" for the Wi-Fi adapter.
  • ๐Ÿ”„ MTU: Reduce. MTU Up to 1400 in connection properties if packet loss is observed: netsh interface ipv4 set subinterface "Wi-Fi" mtu=1400 store=persistent

dd if=/dev/zero of=/mnt/nfs/testfile bs=1M count=1024

This will create a 1GB file on the network drive and show the real write speed.-->

Typical errors and their solution

When working with NFS RedmiBook 7 users often face the following problems:

Mistake.Reason.Decision
mount: Connection timed outThe firewall blocks port 2049 or the server is not responding.Turn off the firewall or check if it is running NFS-server (sudo systemctl status nfs-server).
Permission deniedIncorrect access rights to /etc/exports or UID/GID.Check the parameters of rw and no_root_squash. Use the chmod. 777 test-board.
Stale file handleThe server has restarted and the client is trying to access the file.Remount the folder (sudo umount) -f /mnt/nfs; sudo mount -a).
NFS: server not respondingUnstable network connection (especially over Wi-Fi)Use Ethernet or reduce it. MTU (see section 5.3).

If the problem is not solved, check the server logs:

# On the server


sudo tail -f /var/log/syslog | grep nfs




On the client.



dmesg | grep nfs

๐Ÿ’ก

90% of errors NFS They are associated with incorrect access rights or network problems. Always start your diagnosis by checking the ping command between the client and the server.

Alternatives NFS For RedmiBook 7

If NFS Not suitable for your task, consider alternative protocols:

  • ๐Ÿ“‚ SMB (Samba):
  • ๐Ÿ”— SSHFS:
  • โ˜๏ธ WebDAV: