主题 : NanoPi M4v2 nfs挂载问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 145807
精华: 0
发帖: 1
金钱: 5 两
威望: 1 点
贡献值: 0 点
综合积分: 2 分
注册时间: 2021-02-03
最后登录: 2021-02-04
楼主  发表于: 34天前

 NanoPi M4v2 nfs挂载问题

NanoPi M4v2用官方提供的FriendlyDesktop-Ubuntu镜像运行nfs时报错exportfs: <path> does not support NFS export。有没有大胸弟帮忙解答一下

pi@NanoPi-M4v2:~$ sudo vim /etc/exports pi@NanoPi-M4v2:~$ sudo chmod -R 777 /home/pi/test/pi@NanoPi-M4v2:~$ sudo chown -R 777 /home/pi/test/pi@NanoPi-M4v2:~$ sudo /etc/init.d/nfs-kernel-server start[....] Starting nfs-kernel-server (via systemctl): nfs-kernel-server.serviceJob for nfs-server.service canceled. failed!pi@NanoPi-M4v2:~$ sudo /etc/init.d/nfs-kernel-server restart[....] Restarting nfs-kernel-server (via systemctl): nfs-kernel-server.serviceJob for nfs-server.service canceled. failed!pi@NanoPi-M4v2:~$ sudo /etc/init.d/nfs-kernel-server status● nfs-server.service - NFS server and services   Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enabled)   Active: failed (Result: exit-code) since Wed 2021-02-03 07:13:46 UTC; 10s ago  Process: 3200 ExecStopPost=/usr/sbin/exportfs -f (code=exited, status=0/SUCCESS)  Process: 3197 ExecStopPost=/usr/sbin/exportfs -au (code=exited, status=0/SUCCESS)  Process: 3196 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=1/FAILURE)
Feb 03 07:13:46 NanoPi-M4v2 systemd[1]: Starting NFS server and services...Feb 03 07:13:46 NanoPi-M4v2 exportfs[3196]: exportfs: /home/pi/test/new does not support NFS exportFeb 03 07:13:46 NanoPi-M4v2 systemd[1]: nfs-server.service: Control process exited, code=exited status=1Feb 03 07:13:46 NanoPi-M4v2 systemd[1]: nfs-server.service: Failed with result 'exit-code'.Feb 03 07:13:46 NanoPi-M4v2 systemd[1]: Stopped NFS server and services.