我试图从我的Qnap挂载NFS共享到我的笔记本电脑,运行Manjaro (Arch Linux),但我一直被服务器拒绝访问,我不知道问题是什么!
$ sudo mount 10.0.2.6:/backup /mnt/nas/backup
mount.nfs: access denied by server while mounting 10.0.2.6:/backup
挂载点:
$ showmount -e 10.0.2.6
Export list for 10.0.2.6:
/backup
/Web
/Recordings
/Public
/Mu
我们必须在我们的Netapp上执行NFS数据存储VMWare使用的NFS数据存储的实时卷大小调整。调整大小后,我们所有的Windows都很好。然而,我们的一些Linux存在问题。
一些Linux刚刚停止响应。在重新启动那些VM之后,我在日志中找不到任何问题的迹象。
不过,我确实在一些VM上找到了这类日志消息:
May 29 14:56:02 rhel6-server-1314 kernel: INFO: task jbd2/dm-0-8:382 blocked for more than 120 seconds.
May 29 14:56:02 rhel6-server-1314 kernel
我无法启动nfs服务。
# systemctl start nfs-server
Failed to start nfs-server.service: Unit is masked.
# service nfs status
Redirecting to /bin/systemctl status nfs.service
Unit nfs.service could not be found.
RPC和NFS都已安装,我注意到在以下文件中没有文件:
# cd /lib/systemd/system/nfs-common.service
bash: cd: /lib/systemd/syste
用于man hier的Linux文件系统层次结构文档( /usr/bin )说:
/usr/bin
This is the primary directory for executable programs.
Most programs executed by normal users which are not
needed for booting or for repairing the system and which
are not installed locally should be placed in this
directory.
我在11.10通过PXE在网络上启动了一个系统。我升级到12.04,现在在启动过程中启动失败,使用以下消息:
Gave up waiting for root device. Common problems:
-Boot args (cat /proc/cmdline)
-Check rootdelay= (did the system wait long enough?)
-Check root= (did the system wait for the right device?)
-Missing modules (cat /proc/modules; ls /dev)
ALERT!
nfs导出btrfs和ext4的覆盖时遇到问题。覆盖可以工作,但是即使它是用nfs_export=on挂载的,我还是得到了错误消息:
exportfs: /data/merged does not support NFS export
这是我的出口:/data/merged 192.168.0.0/255.255.255.0(ro,fsid=1,async,insecure,crossmnt)
uname -a = 4.18.0-13-generic #14~18.04.1-Ubuntu SMP Thu Dec 6 14:09:52 UTC 2018 x86_64 x86_64 x86_64