加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – 如何列出远程导出的NFSv4卷?

发布时间:2020-12-14 01:11:24 所属栏目:Linux 来源:网络整理
导读:当我使用NFSv3时,我可以使用showmount命令列出卷: NAME showmount – show mount information for an NFS server SYNOPSIS /usr/sbin/showmount [ -adehv ] [ –all ] [ –directories ] [ –exports ] [ –help ] [ –version ] [ host ] DESCRIPTION show
当我使用NFSv3时,我可以使用showmount命令列出卷:

NAME
showmount – show mount information for an NFS server

SYNOPSIS
/usr/sbin/showmount [ -adehv ] [ –all ] [ –directories ] [ –exports ] [ –help ] [ –version ] [ host ]

DESCRIPTION
showmount queries the mount daemon on a remote host for information about the state of the NFS server on that
machine. With no options showmount lists the set of clients who are mounting from that host. The output from
showmount is designed to appear as though it were processed through ”sort -u”.

但是,似乎不会列出NFSv4卷.
如何获取从远程主机导出的NFSv4卷列表?

解决方法

纯NFSv4不提供获取导出列表的方法.然而,大多数nfs服务器同时使用nfsv4和nfsv3导出.这使得发现v4导出成为可能.通常,NFSv4从导出列表构建伪文件系统并导出伪’/’.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读