问题标签 [nfsclient]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
prometheus-operator - prometheus 没有看到来自 k8s 节点的 mountstats 指标
团队,
我在节点上有活动挂载,并且我有这些表达式集,它允许 proc 和 drop 休息,但我仍然没有看到 mountstats 指标推送到 prometheus。如果我还需要从下面截断一些东西,有什么提示ignored
吗?
我的坐骑在系统上如下所示
在普罗米修斯上,我看不到这些或任何具有 mountstats 的指标。
linux - 无法将 linux NFS 共享挂载到 Windows 2019
我有一个从 linux 服务器导出的 nfs 共享。exportfs 看起来像这样
我可以使用以下命令将此共享安装到 Windows 2012 R2 服务器mount -onolock <servername>:/usr/navigator/SVP/TRIGGER Y:
我无法在 Windows 2019 服务器上安装此共享。我已经设置了 AnonymousUID 和 AnonymousGID 注册表项值。重新启动了服务器。我在 linux 服务器上做了一个 tcpdump,我可以看到这些机器之间来回的流量。因此,不存在防火墙问题。
/var/log/messages 不显示任何信息。但是,netstat -anp
显示了 rpcbind 进程。任何帮助是极大的赞赏。不确定它是否是 Windows 2019 的问题。
qemu - Debian 10 上的 NFS 服务器,虚拟机无法挂载
我部署了 NFS 服务器,并在同一台 Debian 10 服务器上运行了 kvm/qemu 虚拟机。在我的个人计算机上,我可以挂载 NFS 共享,但不能在任何 VM 上挂载
虚拟机网络设置:
- 网络来源:
Host Device macvtap
- 源模式:
Bridge
故障排除:
- 能够从 VM ping 服务器
- 已验证
nfs-common
安装在虚拟机上 - 移除
/lib/systemd/system/nfs-common.service
(屏蔽,指向 /dev/null),重新加载守护进程,验证服务正在运行 showmount -e 10.0.0.200
输出:clnt_create: RPC: Unable to receive
sudo mount -t nfs 10.0.0.200:/export/filesystem /mnt -v
输出:mount.nfs: trying text-based options 'vers=4.2,addr=10.0.0.200,clientaddr=10.0.0.251' mount.nfs: mount(2): No route to host
- 在 mount 命令中将版本设置为 3 会产生与上述类似的输出
有人知道发生了什么吗?
nfs - NFS server becomes unresponsive until restart
I have a weird problem. I'm using libnfs 3.0.0-2 and nfs-utils 2.3.3-1 on arch-linux.
Sometimes nfs exports are being unresponsive and can not mount any export and mounted clients are can not read and write to these shares. Also showmount -e $nfsserver is shows nothing. After nfs-server restart everything goes back normal. The problem happens 4-5 times in a year. I have the issue over a year and can not track the problem due to no log or errors in server side and so much clients to investigate.
I only see one error in logs and I'm not sure this is related to this problem because problem not occurs after the log everytime.
The error log: "nfsd: peername failed (err 107)!"
I'm using nfs-server in archlinux. I have 30++ exports and high client usage. Clients are very differ; redhat, linux, windows and datastore. BTW: I have a very strong server. 20core, x2 socket and bunch of free rams.
I think first of all I need to open nfs-server debug but the problem not happens few months so it's hard to leave debug open due to prod system.
BTW: My nfs.conf only has an open line which is "threads=128"
What should I do?
server - 如何连接到远程 NFS 服务器以确认目录已正确挂载
我正在使用使用 Windows 10 操作系统的公司笔记本电脑,我想确认 nfs 服务器已正确安装在远程机器上。我怎样才能做到这一点?
我怎样才能在我的机器上安装 nfs 客户端来连接到这个 NFS 服务器,或者有没有其他方法可以实现这一点?
nfsclient - 如何使用 libnfs-python 为上下文完整句柄创建 NFS 上下文
我是 NFS 的新手,所以请多多包涵)。我已经挂载了一个 NFS 共享。我为 NFS 客户端找到了这个库:https ://github.com/sahlberg/libnfs-python 。自述文件说,如果您计划访问多个/许多文件,最好的选择是使用上下文完整句柄。我不确定这实际上意味着什么。我是否从库文档中获取此示例并相应地编写我的示例:
还是我必须做其他事情?我有点困惑。如果我写类似:
/mt/nfs/ 是我的挂载点,它会创建 /foo-test/foo-test2/ 吗(即它会创建一个嵌套目录 /foo-test2/?
kubernetes - JupyterHub 未在 Helm 上启动 | K8s
我有一个 metalLB 负载均衡器、k8s 集群(一个 master 和一个 worker)v1.18.5、helm 3.7,以及使用 helm 的 nfs 动态卷配置。我用 helm 运行了一个 jupyterhub 实例。在一分钟内,一切都设置好了,但是当我使用外部 IP 在浏览器上打开 JupyterHub 时,注意到加载。这是我的kubectl get all
另外,以下是我的存储类供参考:kubectl get sc
我不会粘贴配置文件,因为它非常大,基本上我所做的是
helm show values jupyterhub/jupyterhub > /tmp/jupyterhub.yaml
(在更改了一些值之后)
helm install jupyterhub jupyterhub/jupyterhub --values /tmp/jupyterhub.yaml
我更改的唯一几件事是安全密钥(十六进制 [如网站上所述])以及编写 nfs-客户端无论它说 storageClass 和 storageClassName 并且可能会改变存储大小(1Gi / 2Gi)。就这样。LoadBalancer 工作正常,因为我运行了 nginx,我可以轻松地在浏览器上打开它。所以我决定首先使用以下方法获取 pod 的名称来检查 JupyterHub pod 的名称:kubectl get pods
然后使用kubectl describe pod hub-6c9cb48df8-k5t4w -n default
which 给了我这个:
所以我知道豆荚是不健康的。但我没有任何其他细节来调试它。任何有关如何修复或调试此问题的帮助将不胜感激。
谢谢!
kubernetes - 访问 nfs 共享时,openshift pod 终端上的文件句柄过时
我在 openshift 上有一个 spring boot 应用程序,该应用程序需要连接到 nfs 共享以创建文件。但是,每当我尝试从 pod 终端访问挂载点时,都会被拒绝。这些 ???如下所示
知道为什么会出现这些问号吗?
为此的持久化卷如下所示
linux - nfs4_setfacl - 用户可以创建文件但不能创建目录
我已使用以下权限设置nfs4_sefacl
有趣的是, 的用户foo-group
只能在 下创建文件/mnt/shared
,但无法在该文件夹下创建任何目录。
我是 nfs4_setfacl 的新手,我可以知道我错过了什么吗?该卷已正确安装为 NFS4 卷。