树莓派Raspberry Pi 4B部署NFS时报错

阿里云国内75折 回扣 微信号:monov8
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6

系统是官方烧录器烧的Raspberry OS 64bit armv7
基本上流程是按照这个流程走的写好/etc/exports后执行sudo service nfs-server start服务起不来总是失败根据提示sudo journalctl -xe后看到以下内容

Feb  6 23:23:05 LightyearsPiVer systemd[1]: Mounting NFSD configuration filesystem...
Feb  6 23:23:05 LightyearsPiVer systemd[1]: Starting Preprocess NFS configuration...
Feb  6 23:23:05 LightyearsPiVer systemd[1]: proc-fs-nfsd.mount: Mount process exited, code=exited status=32
Feb  6 23:23:05 LightyearsPiVer systemd[1]: Failed to mount NFSD configuration filesystem.
Feb  6 23:23:05 LightyearsPiVer systemd[1]: Dependency failed for NFS Mount Daemon.
Feb  6 23:23:05 LightyearsPiVer systemd[1]: Dependency failed for NFS server and services.
Feb  6 23:23:05 LightyearsPiVer systemd[1]: Dependency failed for NFSv4 ID-name mapping service.
Feb  6 23:23:05 LightyearsPiVer systemd[1]: nfs-idmapd.service: Job nfs-idmapd.service/start failed with result 'dependency'.
Feb  6 23:23:05 LightyearsPiVer systemd[1]: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
Feb  6 23:23:05 LightyearsPiVer systemd[1]: nfs-mountd.service: Job nfs-mountd.service/start failed with result 'dependency'.
Feb  6 23:23:05 LightyearsPiVer systemd[1]: proc-fs-nfsd.mount: Unit entered failed state.

乍一看是几个dependency错误但往上看能看到是proc-fs-nfsd.mount启动失败。

TL;DR

重启解决问题

$ reboot

解决方案来自Raspberry Pi Forums

已经尝试过的解决方案对我无效但可能能帮到你

以下是我在搜索这个错误时遇到的一些解决方案但他们和我遇到的问题不同但可能是你的问题所以建议都看看

阿里云国内75折 回扣 微信号:monov8
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6