Systemctl没有说明具体细节,lsof也不会提供任何线索......
/ etc / fstab中:
tmpfs /tmp tmpfs defaults,noatime,nosuid,size=300m 0 0
tmpfs /var/tmp tmpfs defaults,noatime,nosuid,size=50m 0 0
tmpfs /var/log tmpfs defaults,noatime,nosuid,mode=0755,size=100m 0 0
tmpfs /var/run tmpfs defaults,noatime,nosuid,mode=0755,size=5m 0 0
tmpfs /root tmpfs defaults,noatime,nosuid,size=10m 0 0
/dev/mmcblk2p1 /boot ext2 defaults,ro 0 0
/dev/mmcblk2p2 / f2fs defaults,ro 0 0
/dev/mmcblk2p3 /mnt/data f2fs defaults,noatime,discard 0 0
任何想法?
迎接...... Peedy
答案 0 :(得分:1)
检查错误:
sudo systemctl status nfs-server.service
我收到了以下错误消息:
exportfs[432]: exportfs: could not open /var/lib/nfs/.etab.lock for locking: errno 30 (Read-only file system)
exportfs[433]: exportfs: can't open /var/lib/nfs/etab.tmp for writing
这些控制台命令对我有帮助:
touch /tmp/.etab.lock
sudo ln -s /tmp/.etab.lock /var/lib/nfs/.etab.lock
touch /tmp/etab.tmp
sudo ln -s /tmp/etab.tmp /var/lib/nfs/etab.tmp
然后重新启动服务或系统。