Network storage NFS (Network File System lets you turn your Xiaomi RedmiBook 10 c a full client for working with deleted files - whether it is a home NAS, It's a corporate server or a cloud solution, unlike a cloud server. SMB or FTP, protocol NFS Optimized for Unix-like systems, but works well on Windows 11/10 (The main advantage is the minimal overhead of data transfer, which is critical for video editing, databases or backups.
However, the setup NFS on the RedmiBook 10 It has nuances: from choosing the right version of the protocol (v3 or v4) before resolving access rights issues uid/gid. In this article, we will discuss all the steps from server preparation to folder mounting in different OSes, as well as consider typical errors like Permission denied or No route to host.
1.Preparation: What it takes to connect NFS
Before mounting a network folder, make sure that the basic conditions are met:
- π Network connection: RedmiBook 10 and NFS-The server must be on the same local area network (or have routing between subnets). For tests, use a wired connection - Wi-Fi can add delays.
- π₯οΈ NFS-Server: This can be a separate device (Synology, QNAP, Raspberry Pi, another Linux computer (nfs-kernel-server) or even Windows with installed NFS-server.
- π Access Rights: The server must have an exportable directory configured with the correct permissions for your server. IP Or subnets. /etc/exports Linux:
/mnt/storage 192.168.1.0/24(rw,sync,no_subtree_check,no_root_squash)RedmiBook 10 running Windows will require:
- π₯ Client NFS: Built-in support is only available in Windows editions 10/11 Pro/Enterprise. For Home, you need to install third-party solutions like Hanewin NFS Client.
- π§ Administrator rights: Network drive mounting requires increased privileges.
β οΈ Please note: if your RedmiBook 10 It runs on Linux (e.g., Xiaomiβs distribution), check the kernel version with the uname command. -r. For NFS v4.2+ You'll need a core no lower. 5.4.
2.Tune in. NFS-servers (briefly)
The main topic of the article is the client part on RedmiBook. 10, You can't connect without a properly configured server. Consider the minimum configuration for a Linux server (Debian/Ubuntu):
- Install packages: sudo apt update & & sudo apt install nfs-kernel-server
- Edit the export file /etc/exports, add a line (replace) IP_client and path: /path/k/folder IP_client(rw,sync,no_subtree_check)
- Apply changes and restart the service: sudo exportfs -a sudo systemctl restart nfs-kernel-server
For the Windows server:
- Activate the role of the server for NFS via Server Manager β Add roles and components.
- Set up shared folders in Properties β NFS-permissions, indicating the client IP.
If the server is used, it's critical. NFS v4, RedmiBook 10 client must support the same version. Windows compatibility often requires a rollback. v3.
π‘
Before setting up the server, check if the firewall (e.g., ufw on Linux) blocks ports. NFS: 2049/tcp, 111/udp, 20048/udp.
3. Connection NFS RedmiBook 10 for Windows
The instructions are relevant for Windows 10/11 Pro/Enterprise. If you have a Home version, skip this section and use third-party clients (see the end of the article).
Step 1: Activate the client NFS
- Open Control Panel β Programs and Components β Enable or disable Windows components.
- Find the Services. NFS and mark:
Reboot the laptop.
Step 2: mounting the network folder
Use the command in PowerShell (on behalf of the administrator):
mount -o anon,nolock 192.168.1.100:/path/to/folder Z:Where:
- 192.168.1.100 β IP yours NFS-server;
- /path/to/folder - exported directory;
- Z: is the letter of the disk under which the folder will be displayed.
For constant mounting (after restarting), add a command to the task scheduler with a trigger When you start the system.
β οΈ Note: Anon mounts a folder with anonymous user rights. If the server requires authentication, use the -o mtype=hard,retrans=5 tune in /etc/idmapd.conf server-side.
Ensure that the components NFS included|Check the ping to the server (ping 192.168.1.100)|Perform installation on behalf of the administrator|Check the availability of files in the conductor|Set up automatic connection at start-up (optional)-->
4. Connection NFS RedmiBook 10 on Linux
If you have a RedmiBook 10 It runs on Linux (e.g. preinstalled Xiaomi Linux Edition), the process is simplified with built-in support. NFS We use the classical method of /etc/fstab.
Step 1: Installation of utilities (if not available)
sudo apt install nfs-common # For Debian/Ubuntu
sudo dnf install nfs-utils # For FedoraStep 2: Manual mounting (for the test)
sudo mount -t nfs 192.168.1.100:/path/to/folder /mnt/nfs -o rw,soft,timeo=10,retrans=2Options:
- rw β mount in read/write mode;
- soft β break the connection when hanging (for non-critical data);
- timeo=10 β server response timeout (in tenths of a second).
Step 3: Automatic mounting via fstab
Add a line to /etc/fstab:
192.168.1.100:/path/k/folder /mnt/nfs nfs rw,soft,intr,rsize=8192,wsize=8192 0After saving, do:
sudo mount -aImportant for Xiaomi RedmiBook! If files are displayed with nobody:nogroup rights after mounting, you need to configure mapping on the server. UID/GID into /etc/idmapd.conf or use the option no_root_squash into /etc/exports.
How to check the speed NFS-connection?
5. Solving typical errors
Even with the correct setup, the connection NFS It can end in errors. Let's look at the most common ones:
| Mistake. | Reason. | Decision |
|---|---|---|
| mount: 192.168.1.100:/No such file or directory | A wrong path on the server or server does not export the folder. | Check it out. /etc/exports on the server and perform sudo exportfs -r. |
| Permission denied | Inadequate rights or infidels uid/gid. | Use the anonuid option=1000,anongid=1000 at mounting (replace 1000 at yours) UID). |
| No route to host | Network problems: firewall, routing. | Check ping and telnet 192.168.1.100 2049. Turn off the firewall temporarily for the test. |
| Stale file handle | The server has restarted and the client keeps the descriptors obsolete. | Rewire folder: sudo umount -l /mnt/nfs; sudo mount /mnt/nfs. |
For Windows, specific errors:
- π« Error 53: Make sure that the Client for service is available NFS launched (services.msc).
- π« Error 67: Wrong syntax of mount command. Use quotation marks for paths with spaces.
π‘
If files are not displayed after mounting, check the nohide option in the /etc/exports on the server - it allows you to see files in mounted folders.
6. Optimizing NFS performance
By default. NFS It uses conservative settings, which can limit speed. For RedmiBook 10 with gigabit Ethernet, we recommend that you use it:
- π Increase packet size: In mounting options (fstab or command) add:
rsize=32768,wsize=32768This will increase the read/write buffer size to 32 KB (maximum for the user). NFS v3).
- π Set up timeouts: For unstable networks, reduce timeo and retrans:
timeo=5,retrans=2For Windows, optimization is limited, but you can:
- π Use the parameter -o rsize=16384,wsize=16384 mount.
- π Shut down. TCP Offload in network adapter properties (may conflict with the NFS).
Test changes using dd or iozone, for example, to check the sequential record:
iozone -a -n 1G -g 4G -i 0 -i 1 -f /mnt/nfs/testfile7. Alternative solutions for Windows Home
If you have a RedmiBook 10 It works on Windows. 10/11 Home, built-in customer NFS No, let's look at the workarounds:
| Decision | Pluses | Cons |
|---|---|---|
| Hanewin NFS Client | Free, simple installation. | Not updated since 2013, may not work with NFS v4. |
| Dell NFS Plug-in | Supports NFS v3/v4, stable. | Officially only for Dell, but it works on other PCs. |
| WinFsp + SSHFS | Active development, supports encryption. | More difficult to set up, requires SSH-server-access. |
For Hanewin. NFS Client instruction:
- Download and install the program.
- Open up. NFS Network on the Start menu.
- Add the server: specify IP and exportable folder.
- Assign a letter to the disk and mount.
8 Security: How to protect NFS-connection
Protocol NFS It does not initially encrypt traffic, so it protects data:
- π Use it. VPN: Set up WireGuard or OpenVPN between client and server.
- π Restrict access by IP: V /etc/exports point out specific IP, not subnetwork:
/mnt/storage 192.168.1.55(rw) # RedmiBook Only- π‘οΈ Disable unused versions NFS: V /etc/default/nfs-kernel-server Leave only the correct version (for example, RPCNFSDOPTS="--no-nfs-version 2").
- π Set up Kerberos: Integrate for Enterprise Networks NFS Kerberos for authentication.
For Windows, additionally:
- Turn off Anonymous access in the settings NFS-client.
- Use IPSec to encrypt traffic between the client and the server.
π‘
NFS v4 Supports embedded encryption (RPCSEC_GSS), But you need to configure Kerberos on the server and the client, and it's easier to tunnel through the server for home use. SSH (sshfs).