NFSサーバーでマウント状況を表示する

NFSサーバーでマウント状況を表示する

・クライアントのホスト名とマウントされたディレクトリを表示

# showmount -a
All mount points on nfs-server:
192.168.x.x:/home/nfs-share
192.168.x.x:/home/nfs-share
192.168.x.x:/home/nfs-share

・クライアントからマウントされているディレクトリの表示

# showmount -d
Directories on nfs-server:
/home/nfs-share

・NFSサーバのエクスポートリストを表示

# showmount -e
Export list for nfs-server:
/home/nfs-share 192.168.x.x/24

管理者