Firefly开源社区

标题: RK3566-ROC-PC NFS服务器安装报错 [打印本页]

作者: zx8814626    时间: 2022-4-27 11:15
标题: RK3566-ROC-PC NFS服务器安装报错
A dependency job for nfs-server.service failed. See 'journalctl -xe' for details.
A dependency job for nfs-server.service failed. See 'journalctl -xe' for details.
invoke-rc.d: initscript nfs-kernel-server, action "restart" failed.
● nfs-server.service - NFS server and services
   Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enabled)
   Active: inactive (dead)

4月 27 02:27:52 firefly systemd[1]: Dependency failed for NFS server and services.
4月 27 02:27:52 firefly systemd[1]: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
4月 27 02:27:55 firefly systemd[1]: Dependency failed for NFS server and services.
4月 27 02:27:55 firefly systemd[1]: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
Failed to restart nfs-kernel-server, ignoring.


tchip_askquestions

备注.txt

855 Bytes, 下载次数: 1, 下载积分: 灯泡 -1 , 经验 -1


作者: Liuth    时间: 2022-4-27 16:31
rk356x 内核默认没有开启 nfs 服务端 (CONFIG_NFSD)
需要在 SDK/kernel 中打开并重新编译烧录
作者: Liuth    时间: 2022-4-29 09:07
进入SDK/kernel目录
make ARCH=arm64 firefly_linux_defconfig
make ARCH=arm64 menuconfig
按斜杠 / 搜索 NFSD
打开 NFSD 等一系列有关 NFS 服务端的选项
再搜索打开 OVERLAY_FS_NFS_EXPORT
选择save
然后执行 make ARCH=arm64 savedefconfig
mv defconfig arch/arm64/configs/firefly_linux_defconfig
编译内核




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1