Skip to main content
简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。

显示

贡献者

NFS show 命令用于查询一个或多个存储服务器的RPC服务和NFS导出。命令还会列出可用服务和导出、并显示每个导出的已用容量和可用容量、后跟每个导出的根属性。

语法
xcp show <ip_address_or_host_name>
重要说明 show 命令需要导出的NFSv3系统的主机名或IP地址。
显示示例
[root@localhost linux]# ./xcp show <IP address or hostname of NFS server>

getting pmap dump from <IP address or hostname of NFS server> port 111... getting export list from <IP address or hostname of NFS server>...
sending 3 mounts and 12 nfs requests to <IP address or hostname of NFS server>...

== RPC Services ==
'<IP address or hostname of NFS server>': UDP rpc services: MNT v1/2/3, NFS v3, NLM v4, PMAP v2/3/4, STATUS v1
'<IP address or hostname of NFS server>': TCP rpc services: MNT v1/2/3, NFS v3/4, NLM v4, PMAP v2/3/4, STATUS v1

== NFS Exports == Mounts Errors Server
3	0 <IP address or hostname of NFS server>

Space      Files   Space       Files
Free	    Free	Used       Used Export

93.9 MiB	19,886	1.10 MiB	104 <IP address or hostname of NFS server>:/
9.44 GiB	2.49M	65.7 MiB	276 <IP address or hostname of NFS server>:/catalog_vol
84.9 GiB	22.4M	593 MiB	115 <IP address or hostname of NFS server>:/source_vol

== Attributes of NFS Exports ==
drwxr-xr-x --- root root 4KiB 4KiB 6d2h <IP address or hostname of NFSserver>:/
drwxr-xr-x --- root root 4KiB 4KiB 6d2h <IP address or hostname of NFS server>:/catalog_vol
drwxr-xr-x --- root root 4KiB 4KiB 1h30m <IP address or hostname of NFS server>:/source_vol

Xcp command : xcp show <IP address or hostname of NFS server>
0 error
Speed	: 3.62 KiB in (17.9 KiB/s), 6.28 KiB out (31.1 KiB/s) Total Time : 0s.
STATUS	: PASSED

show -v

使用 -v 参数 show 命令以返回有关使用IP地址或主机名的NFS服务器的详细信息。

语法
xcp show -v