NFS
info
This feature requires the Storage package.
NFS allows sharing local directories over a network. RouterOS currently supports NFS v4-only mode.
warning
NFS uses port TCP/2049. If the port is not available, in disk print detail you will see the state stuck at nfs-state="mounting".
Properties
| Property | Description |
|---|---|
| nfs-address | IP address of the NFS target. (host device IP) |
| nfs-share | Specify the folder to mount (client parameter) |
| nfs-sharing | Disable/enable NFS on the host device |
Configuration example
Host
/disk
set pcie1-nvme1 nfs-sharing=yes
Client
/disk
add type=nfs nfs-address=192.168.1.1
Linux client
mkdir /mnt/files
mount -t nfs 192.168.1.1:/ /mnt/files