Network storage by protocol NFS (Network File System allows Xiaomi TVs to access files on the Internet NAS, It's the perfect solution for watching movies in your home server or even your computer with minimal latency. 4K HDR, Listening to music without compressing or running emulators from an external disk, but standard instructions often don't give a damn about the nuances: why Mi Mi is so important. TV Stick doesn't see NFS-The ball, how to get around the restrictions MIUI TV mounting or why video slows down when playing over the network.
In this article, step-by-step adjustment NFS Xiaomi TV tailor-made 2023โ2026 This includes avoiding the typical errors (Permission denied, mount: invalid argument) and optimizing performance. ReadyNAS/Synology and tuning NFS-Windows-based 11 We'll focus on security, how to limit access to the balloon just for your TV.
If you have previously tried to set up NFS through ES conductor or FX File Explorer and encountered bugs โ the article has a section with alternative methods, including manual mounting through the ADB and the use of specialized applications such as NFS All instructions tested on Xiaomi models TV A2 43", Mi TV Q2 55" and Mi" TV P1 65" with the latest firmware updates.
1. What is it? NFS Why is it better than Samba for Xiaomi? TV
Protocol NFS (Network File System was developed specifically for Unix systems, but today is supported by most network storage and modern TVs, including the Xiaomi line. SMB (Samba), NFS provide:
- ๐ Higher data transfer speeds โ up to 30-50% faster when working with large files (e.g. movies in the Internet) 4K Blu-ray Remux).
- ๐ Less stress on CPU โ query processing occurs at the kernel level, not through user space (as in Samba).
- ๐ฎ Support for special access rights โ you can flexibly configure permissions for different devices on the network.
- ๐ Retaining file metadata (owner, group, rights) that is critical for working with Kodi or Plex.
In practice, this means that the film in 4K HDR 100 Mbps bitrate will be played without jerks even on Xiaomi TV Stick with a weak processor, whereas Samba can see slowdowns, NFS It works better with network protocols. IPv6, What is important for modern routers with double stack.
However, NFS has its downsides:
โ ๏ธ Attention: Protocol NFS If your network is not secure (for example, open Wi-Fi is used), data can be intercepted. NFS Only in trusted local networks or use VPN remotely.
For comparison, Samba (SMB) It's easier to set up and supported by all devices out of the box, but it's less efficient if your primary script is watching media, NFS If you just want to copy files from your TV to your PC, Samba will do it.
2.Preparation: What will be needed to set up NFS
Before setting up, make sure you have everything you need:
- ๐บ Xiaomi TV on the MIUI TV 5/6 Android TV 11/12 (model 2020 Older versions (e.g. Mi) TV 4A 2018 years may not be supported NFS.
- ๐ฅ๏ธ NFS-server: it could be: NAS (Synology, QNAP, Western Digital My Cloud: Windows Computer 11/10 (fixed NFS-Linux machine (Ubuntu, Debian) or macOS (with enabled) NFS) Supported router USB-accumulator NFS (ASUS RT-AX88U, Keenetic)
- ๐ Stable network connection โ preferably over cable (Gigabit Ethernet), as Wi-Fi 5 GHz can limit the speed when transferring large files.
- ๐ฑ Xiaomi remote control or Mi Remote app for navigation on the menu.
- ๐ง Administrator rights on the device that will be NFS-server.
Important: If you are using Windows as a NFS-servers, please note that the built-in support NFS Windows 11/10 To work fully, you will need to install additional components (Server for the NFS and the client for NFS) via the control panel โ Programmes and components โ Enabling or disabling Windows components.
For Linux or NAS No additional action is required โ support NFS However, check that the server has nfs-kernel-server packages installed (for Linux) or the service is activated. NFS (for NAS).
Check the TV model (must support) NFS)
Make sure the server (NAS/PC) on and connected to the network
Connect the TV to the router with a cable (recommended)
Update Xiaomi firmware TV last-minute
Write it down. IP-server address (required to connect)-->
3.Tune in. NFS-server (for example, Synology) NAS Windows 11)
Instructions for the two most popular scenarios: Home NAS Windows computer.
Adjustment NFS synology NAS
1. Open the Control Panel of your NAS and go to the General folders section.
2. Select the folder you want to make available by NFS (Or create a new one, and click on the properties. โ Permits NFS.
3. Click Create and specify:
- ๐ IP-TV address (can be specified range, for example, 192.168.1.0/24)
- ๐ Access Rights: Select Read/Write or Read Only
- ๐ Encoding: install UTF-8 (It is important for the correct display of Cyrillic file names)
- ๐ Anonymous Access: Disable (recommended)
4. Save settings and restart the service NFS in the Terminal section and SNMP โ Terminal settings.
Note: On QNAP Western Digital My Cloud is similar, but the paths in the menu may be different. โ NFS.
Adjustment NFS-server on Windows 11
Windows is not a natural environment for NFS, It supports it through additional components:
1. Include components NFS:
DISM /Online /Enable-Feature /FeatureName:ServicesForNFS-ClientOnly
DISM /Online /Enable-Feature /FeatureName:ServicesForNFS-ServerOnlyOr through a graphical interface: Control panel โ Programme programmes โ Enabling or disabling Windows components โ mark the server for NFS and the client for NFS.
2. Open Server Manager (can be found through search) and go to File and Storage Services โ General resources.
3. Create a new shared folder or select an existing one, then in properties go to the permissions tab NFS.
4. Add a rule to IP-TV addresses with Read/Write or Read Only rights.
5. To the Control Panel โ Administration โ Check that the server services NFS client NFS launched.
โ ๏ธ Attention: In Windows NFS It works slower than on Linux/NAS, If you notice delays in video playback, consider a Linux machine or NAS.
How do you check that NFS-server?
4. Connection NFS Xiaomi TV: step-by-step
Now, to the TV itself, there are two main ways: through the built-in file manager (not available on all models) and through the application side (Kodi, VLC, NFS Manager).
Method 1: Through a standard file manager (MIUI TV)
1. Open the File Manager on the TV (the folder icon in the application menu).
2. Select the Network โ Add network storage.
3. In the Type field, select NFS.
4. Fill in the fields:
- ๐ Server address: IP-address NAS/PC (e.g. PC, 192.168.1.100)
- ๐ Path to folder: Full path to the ball (e.g, /mnt/volume1/media synology)
- ๐ค Username: leave blank (if anonymous access is allowed on the server) or enter the login
- ๐ Password: If authentication is required
5. Click Connect and wait for the folder to appear in the list of network resources.
Problems if the TV can't see? NFS-ball:
- Check that the server is allowed access to IP-TV address.
- Make sure there are no Cyrillic characters on the way to the folder (use only the Latin alphabet).
- Restart the TV and server.
Method 2: Through Kodi (recommended for media)
The Kodi app is better optimized for network drives and supports additional features (caching, autoconnection).
1. Install Kodi from Google Play (if it is on your model) or through APK (installation APK Xiaomi TV We have our knowledge base).
2. Open Kodi and go to Settings โ File manager โ Add a source.
3. In the Protocol field, select NFS.
Please indicate:
- ๐ server: IP-address (e.g. 192.168.1.100)
- ๐ Way: /mnt/volume1/media (for Synology or /exports/media (Linux)
5.Can you name the source (e.g., Movies) NFS) and keep.
6.The folder will now be available in the Files section of Kodi.
โ ๏ธ Note: If you play video through NFS Kodi sees jerks, turn on caching: Go to Kodi Settings โ Player. โ Video. Enable the option to Cache video in memory. Set the cache size at least 100. MB.
๐ก
If the TV is not connected to NFS, Try temporarily disabling the firewall on the server (NAS/PC) and check if the router is blocking access. Once the connection is successful, you can return the firewall settings by adding an exception to the IP-TV address.
5. Solving typical connection errors NFS
Even with the right setup, there can be errors, and let's look at the most common ones and how to fix them.
| Mistake. | Reason. | Decision |
|---|---|---|
| mount: invalid argument | Wrong folder path format or protocol version NFS | Use the path in format /mnt/volume1/media (without nfs://). Try to specify the protocol version: nfsvers=3 or nfsvers=4 manually (through ADB). |
| Permission denied | No access rights from the said IP-address | Check the permission settings on the server. IP On Synology: Control Panel. โ Shared folders โ Permits NFS. |
| The TV can't see. NFS-ball | Service NFS not running on a server or blocked by a firewall | Reset the service NFS (sudo service nfs-kernel-server restart for Linux. |
| Video slows down when playing | Insufficient network speed or weak TV processor | Connect the TV to the router with a cable. In Kodi, turn on caching (see section above). |
| No route to host | The server is not available on the network | Check that the server and the TV are on the same subnet. Use the ping command. IP_servers from the TV (via the ADB). |
If the error does not disappear, try manual mounting through ADB:
1. Connect to the TV on ADB (switch-on ADB Xiaomi TV We have our knowledge base).
2. execute the command:
adb shell mount -t nfs -o nolock,proto=udp,nfsvers=3 192.168.1.100:/mnt/volume1/media /mnt/media/nfsWhere:
- 192.168.1.100 โ IP your server,
- /mnt/volume1/media โ ballway,
- /mnt/media/nfs โ Local folder on the TV (should exist).
On some Xiaomi models (e.g. Mi) TV P1 2021) built-in NFS-The client only works with the protocol. NFSv3. If your server is using NFSv4 By default, force the version in the export settings (on the server) or in the mounting command (nfsvers parameter)=3).
๐ก
If standard methods do not work, manual mounting through ADB โ A bug in the console will indicate the exact cause of the problem (for example, incorrect rights or inaccessibility of the server).
6. Optimization of productivity NFS Xiaomi TV
Even after a successful connection, there may be delays in playing or scrolling through the file list.
- ๐ Use a wired connection โ Wi-Fi 5 GHz may not be able to handle the flow 4K HDR (Bitrate up to 150 Mbps. Gigabit Ethernet cable guarantees stability.
- ๐ถ Set up QoS on your router โ Prioritize TV traffic to avoid lags while other devices are using the network at the same time.
- ๐ Enable caching in the player - in Kodi or VLC Increase the size of the buffer to 200-300 MB.
- ๐๏ธ Break the library into folders โ if you have thousands of files in one folder, the TV will take a long time to scan them.
- ๐ Turn off the rights check (if security is not critical) โ set the right balls on the server no_root_squash (for Linux or allow anonymous access (for Synology).
For Linux servers, optimize exports NFS, adding /etc/exports following:
/mnt/media 192.168.1.0/24(rw,sync,no_subtree_check,no_root_squash,anonuid=1000,anongid=1000)Where:
- rw - reading/writing,
Sync โ synchronous recording (more reliable, but slower; you can use async for speed)
- no_root_squash โ Retains root rights (unsafe for open networks!),
- anonuid/anongid โ UID/GID defaulter.
After the changes, restart. NFS-server:
sudo exportfs -ra
sudo service nfs-kernel-server restartโ ๏ธ Attention: Async increases speed but risks data integrity when a sudden power outage occurs. Use it only if the server is equipped with an uninterruptible power supply (UPS).
7. Alternative ways to connect network disks
If NFS not suitable (for example, due to complexity of setup or compatibility issues), consider alternatives:
| Protocol | Pluses | Cons | How to set up on Xiaomi TV |
|---|---|---|---|
| SMB (Samba) | Easy to set up, support for all devices | Slower. NFS, Problems with Cyrillic in file names | Through the File Manager โ Network โ SMB. Indicate. IP, login. |
| FTP | It works even on older Xiaomi models. | Low speed, no metadata support | Use it. ES conductor or FX File Explorer (install via the APK). |
| WebDAV | Encrypting traffic (HTTPS), cross-platformity | High load on the server CPU | In Kodi, select WebDAV as the protocol and specify URL (for example, https://192.168.1.100/webdav). |
| DLNA/UPnP | Automatic media detection, no manual setup | Limited format support, no access to the file system | Turn it on. DLNA on a server (such as Plex or Jellyfin) and use the built-in Xiaomi player. |
For maximum compatibility, you can configure multiple protocols on the server at the same time. NAS lightly activated NFS, and SMB, and DLNA โ The TV will be able to choose the best option automatically.