How to display deleted exported NFSv4 volumes?

with nfsv3, I can use the showmount command to display volumes.

NAME showmount - show mount information for an NFS server

SYNTAX / usr / sbin / showmount [-adhv] [--all] [--directories] [--exports] [--help] [--version] [host]

DESCRIPTION showmount requests a mount daemon on the remote host to obtain information about the status of the NFS server on this machine. Without parameters, showmount lists the set of clients that are installed from this host. Exiting showmount is intended to display as if it were being processed through `` sort -u ''.

but it seems that the nfsv4 volumes will NOT be listed. How can I get nfsv4 volumes from a remote host?

+5
source share
1 answer

Pure NFSv4 does not provide a way to get an export list. However, most nfs servers export from nfsv4 and nfsv3 at the same time. This allows you to detect v4 exports. In general, NFSv4 creates a pseudo file system from the export list and exports the pseudo '/'.

+4
source

All Articles