Skip to main content
A newer release of this product is available.

vserver nfs show

Contributors
Suggest changes

Display the NFS configurations of Vservers

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver nfs show command displays information about NFS-enabled Vservers. The command output depends on the parameter or parameters specified with the command. If no parameters are specified, the command displays the following information about all NFS-enabled Vservers:

  • Vserver name

  • Whether general NFS access is enabled

  • Whether access to NFSv3 clients is enabled

  • Whether access to NFSv4 clients is enabled

  • Whether NFS access over UDP is enabled

  • Whether NFS access over TCP is enabled

  • List of default Windows users (detailed view only)

You can specify additional parameters to display only information that matches those parameters. For instance, to display information only about Vservers that enable access over TCP, enter the command with the -tcp-enable true parameter.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields parameter, the command only displays the fields that you specify.

| [-krb-opts ] (privilege: advanced)

If you specify the parameter for -instance , the command shows detailed information about all NFS-enabled Vservers. Otherwise, if the -krb-opts parameter is specified, the command shows the following Kerberos-related information:

  • Vserver name

  • Maximum number of RPCSEC_GSS authentication contexts

  • Time, in seconds, an RPCSEC_GSS context can remain idle before being deleted

Otherwise, if the -fields parameter is specified, the command shows information about all of the NFS-enabled Vservers that you specify as a comma-delimited list.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all entries.

[-vserver <vserver name>] - Vserver

If you specify this parameter, the command displays information only about the specified NFS-enabled Vserver.

[-access {true|false}] - General NFS Access

If you specify this parameter, the command displays information only about the NFS-enabled Vservers that have the specified general-access setting.

[-rpcsec-ctx-high <integer>] - RPC GSS Context Cache High Water Mark (privilege: advanced)

If you specify this parameter, the command displays information only about NFS-enabled Vservers that have the specified maximum number of RPCSEC_GSS authentication contexts.

[-rpcsec-ctx-idle <integer>] - RPC GSS Context Idle (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers that have the specified timeout value for idle RPCSEC_GSS contexts.

[-v3 {enabled|disabled}] - NFS v3

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the v3 option matches the specified input.

[-v4.0 {enabled|disabled}] - NFS v4.0

If you specify this parameter, the command displays information only about NFS-enabled Vservers for which the v4.0 option matches the specified input.

[-udp {enabled|disabled}] - UDP Protocol

If you specify this parameter, the command displays information only about the NFS-enabled Vservers that have the specified NFS-over-UDP access setting.

[-tcp {enabled|disabled}] - TCP Protocol

If you specify this parameter, the command displays information only about the NFS-enabled Vservers that have the specified NFS-over-TCP setting.

[-default-win-user <text>] - Default Windows User

If you specify this parameter, the command displays information only about the NFS-enabled Vservers that have the specified list of default Windows users.

[-enable-ejukebox {true|false}] - Enable NFSv3 EJUKEBOX error (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the enable-ejukebox option matches the specified input.

[-v3-require-read-attributes {true|false}] - Require All NFSv3 Reads to Return Read Attributes (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which NFSv3 read operations are required or not required to return read attributes.

[-v3-fsid-change {enabled|disabled}] - Show Change in FSID as NFSv3 Clients Traverse Filesystems (privilege: advanced)

If you specify this parameter, the command displays information about changes in file system identifiers (FSIDs) as NFSv3 clients traverse file systems.

[-v3-connection-drop {enabled|disabled}] - Enable the Dropping of a Connection When an NFSv3 Request is Dropped (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the v3-connection-drop option matches the specified input.

[-ntfs-unix-security-ops {fail|ignore|use-export-policy}] - Vserver NTFS Unix Security Options (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the NTFS-UNIX security setting matches the specified input.

[-chown-mode {restricted|unrestricted|use-export-policy}] - Vserver Change Ownership Mode (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the chown-mode setting matches the specified input.

[-trace-enabled {true|false}] - NFS Response Trace Enabled (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the trace-enabled option matches the specified input.

[-trigger <integer>] - NFS Response Trigger (in secs) (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers with the specified NFS response trigger time.

[-udp-max-xfer-size <integer>] - UDP Maximum Transfer Size (bytes) (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers with the specified UDP maximum transfer size. The range is 8192 to 57344.

[-tcp-max-xfer-size <integer>] - TCP Maximum Transfer Size (bytes) (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers with the specified TCP maximum transfer size. The range is 8192 to 1048576.

[-v3-tcp-max-read-size <integer>] - NFSv3 TCP Maximum Read Size (bytes) (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers with the specified TCP maximum transfer size for NFSv3 read requests. The range is 8192 to 1048576.

Note This parameter is deprecated and may be removed in a future release of Data ONTAP. Use the -tcp-max-xfer-size parameter instead.
[-v3-tcp-max-write-size <integer>] - NFSv3 TCP Maximum Write Size (bytes) (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers with the specified TCP maximum transfer size for NFSv3 write requests. The range is 8192 to 65536.

Note This parameter is deprecated and may be removed in a future release of Data ONTAP. Use the -tcp-max-xfer-size parameter instead.
[-v4.0-acl {enabled|disabled}] - NFSv4.0 ACL Support

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the v4.0-acl option matches the specified input.

[-v4.0-read-delegation {enabled|disabled}] - NFSv4.0 Read Delegation Support

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the v4.0-read-delegation option matches the specified input.

[-v4.0-write-delegation {enabled|disabled}] - NFSv4.0 Write Delegation Support

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the v4.0-write-delegation option matches the specified input.

[-v4-fsid-change {enabled|disabled}] - Show Change in FSID as NFSv4 Clients Traverse Filesystems (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the showing of NFSv4 file system identifier (FSID) changes has been enabled or disabled.

[-v4.0-referrals {enabled|disabled}] - NFSv4.0 Referral Support (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the v4.0-referrals option matches the specified input.

[-v4-id-domain <nfs domain>] - NFSv4 ID Mapping Domain

If you specify this parameter, the command displays information only about the NFS-enabled Vservers having the specified domain name.

[-v4-validate-symlinkdata {enabled|disabled}] - NFSv4 Validate UTF-8 Encoding of Symbolic Link Data (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which validation of UTF-8 encoding of symbolic link data has been enabled or disabled.

[-v4-lease-seconds <integer>] - NFSv4 Lease Timeout Value (in secs) (privilege: advanced)

If you specify this parameter, it displays the locking lease period. It is expressed in seconds. Clients that have been inactive for a period equal or longer to the lease period may lose all their locking state on a node.

[-v4-grace-seconds <integer>] - NFSv4 Grace Timeout Value (in secs)

If you specify this parameter, it displays the grace period for clients to reclaim file locks after a server failure. The grace period is expressed in seconds.

[-v4-acl-preserve {enabled|disabled}] - Preserves and Modifies NFSv4 ACL (and NTFS File Permissions in Unified Security Style)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the v4-acl-preserve option matches the specified input.

[-v4.1 {enabled|disabled}] - NFSv4.1 Minor Version Support

If you specify this parameter, the command displays information only about NFS-enabled Vservers for which the v4.1 option matches the specified input.

[-rquota {enabled|disabled}] - Rquota Enable

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the rquota option matches the specified input.

[-v4.1-implementation-domain <nfs domain>] - NFSv4.1 Implementation ID Domain (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the v4.1-implementation-domain option matches the specified input.

[-v4.1-implementation-name <text>] - NFSv4.1 Implementation ID Name (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the v4.1-implementation-name option matches the specified input.

[-v4.1-implementation-date <Date>] - NFSv4.1 Implementation ID Date (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the v4.1-implementation-date option matches the specified input.

[-v4.1-pnfs {enabled|disabled}] - NFSv4.1 Parallel NFS Support

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the v4.1-pnfs option matches the specified input.

[-v4.1-referrals {enabled|disabled}] - NFSv4.1 Referral Support (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the v4.1-referrals option matches the specified input.

[-v4.1-acl {enabled|disabled}] - NFSv4.1 ACL Support

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the v4.1-acl option matches the specified input.

[-vstorage {enabled|disabled}] - NFS vStorage Support

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the vstorage option matches the specified input.

[-v4-numeric-ids {enabled|disabled}] - NFSv4 Support for Numeric Owner IDs

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the v4-numeric-ids option matches the specified input.

[-default-win-group <text>] - Default Windows Group

If you specify this parameter, the command displays information only about the NFS-enabled Vservers that have the specified list of default Windows groups.

[-v4.1-read-delegation {enabled|disabled}] - NFSv4.1 Read Delegation Support

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the v4.1-read-delegation option matches the specified input.

[-v4.1-write-delegation {enabled|disabled}] - NFSv4.1 Write Delegation Support

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the v4.1-write-delegation option matches the specified input.

[-v4.x-session-num-slots <integer>] - Number of Slots in the NFSv4.x Session slot tables (privilege: advanced)

If you specify this parameter, this command displays information only about the NFS-enabled Vservers for which the v4.x-session-num-slots option matches the specified input. The range is 1 to 2000.

[-v4.x-session-slot-reply-cache-size <integer>] - Size of the Reply that will be Cached in Each NFSv4.x Session Slot (in bytes) (privilege: advanced)

If you specify this parameter, this command displays information only about the NFS-enabled Vservers for which the v4.x-session-slot-reply-cache-size option matches the specified input. The cache size is expressed in bytes. The range is 512 to 4096.

[-v4-acl-max-aces <integer>] - Maximum Number of ACEs per ACL (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the v4-acl-max-aces option matches the specified input.

[-mount-rootonly {enabled|disabled}] - NFS Mount Root Only

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the mount-rootonly option matches the specified input.

[-nfs-rootonly {enabled|disabled}] - NFS Root Only

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the nfs-rootonly option matches the specified input.

[-auth-sys-extended-groups {enabled|disabled}] - AUTH_SYS Extended Groups Enabled (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the auth-sys-extended-groups option matches the specified input.

[-extended-groups-limit <integer>] - AUTH_SYS and RPCSEC_GSS Auxillary Groups Limit (privilege: advanced)

If you specify this parameter, the command displays information about the NFS-enabled Vservers for which the extended-groups-limit option matches the specified input. The range is 32 to 1024.

[-validate-qtree-export {enabled|disabled}] - Validation of Qtree IDs for Qtree File Operations (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which validate-qtree-export option matches the specified input.

[-mountd-port <integer>] - NFS Mount Daemon Port (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the mountd-port option matches the specified input.

[-nlm-port <integer>] - Network Lock Manager Port (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the nlm-port option matches the specified input.

[-nsm-port <integer>] - Network Status Monitor Port (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the nsm-port option matches the specified input.

[-rquotad-port <integer>] - NFS Quota Daemon Port (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which the rquotad-port option matches the specified input.

[-permitted-enc-types <NFS Kerberos Encryption Type>,…​] - Permitted Kerberos Encryption Types

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which permitted-enc-types option matches any of the following : des, des3, aes-128, aes-256.

[-showmount {enabled|disabled}] - Showmount Enabled

If you specify this parameter, the command displays information only about the NFS-enabled Vserver's for which the showmount option matches the specified input.

[-name-service-lookup-protocol {TCP|UDP}] - Set the Protocol Used for Name Services Lookups for Exports

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which -name-service-lookup-protocol matches the parameter.

[-map-unknown-uid-to-default-windows-user {enable|disable}] - Map Unknown UID to Default Windows User (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which -map-unknown-uid-to-default-windows-user is enabled or disabled.

[-netgroup-dns-domain-search {enabled|disabled}] - DNS Domain Search Enabled During Netgroup Lookup (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which -netgroup-dns-domain-search is enabled or disabled.

[-netgroup-trust-any-ns-switch-no-match {enabled|disabled}] - Trust No-Match Result from Any Name Service Switch Source During Netgroup Lookup (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which -netgroup-trust-any-ns-switch-no-match is enabled or disabled.

[-ntacl-display-permissive-perms {enabled|disabled}] - Display maximum NT ACL Permissions to NFS Client (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which -ntacl-display-permissive-perms matches the parameter.

[-v3-ms-dos-client {enabled|disabled}] - NFSv3 MS-DOS Client Support

If you specify this parameter, the command displays information only about NFS-enabled Vservers for which NFSv3 MS-DOS client support is enabled or disabled.

[-ignore-nt-acl-for-root {enabled|disabled}] - Ignore the NT ACL Check for NFS User 'root' (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which -ignore-nt-acl-for-root is enabled or disabled.

[-cached-cred-positive-ttl <integer>] - Time To Live Value (in msecs) of a Positive Cached Credential (privilege: advanced)

If you specify this parameter, the command displays information about the NFS-enabled Vservers time to live value of the positive cached credentials.

[-cached-cred-negative-ttl <integer>] - Time To Live Value (in msecs) of a Negative Cached Credential (privilege: advanced)

If you specify this parameter, the command displays information about the NFS-enabled Vservers time to live value of the negative cached credentials.

[-skip-root-owner-write-perm-check {enabled|disabled}] - Skip Permission Check for NFS Write Calls from Root/Owner (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which -skip-root-owner-write-perm-check is enabled or disabled.

[-v3-64bit-identifiers {enabled|disabled}] - Use 64 Bits for NFSv3 FSIDs and File IDs (privilege: advanced)

If you specify this parameter, the command displays information only about the NFS-enabled Vservers for which -v3-64bit-identifiers is enabled or disabled.

[-v4-inherited-acl-preserve {enabled|disabled}] - Ignore Client Specified Mode Bits and Preserve Inherited NFSv4 ACL When Creating New Files or Directories (privilege: advanced)

If you specify this parameter, the command displays information about the NFS-enabled Vservers for which -v4-inherited-acl-preserve matches the specified input.

[-v3-search-unconverted-filename {enabled|disabled}] - Fallback to Unconverted Filename Search (privilege: advanced)

If you specify this parameter, the command displays information about the NFS-enabled Vservers for which -v3-search-unconverted-filename matches the specified input.

[-file-session-io-grouping-count <integer>] - I/O Count to Be Grouped as a Session (privilege: advanced)

If you specify this parameter, the command displays information about the NFS-enabled SVMs for which the -file-session-io-grouping-count matches the specified input.

[-file-session-io-grouping-duration <integer>] - Duration for I/O to Be Grouped as a Session (Secs) (privilege: advanced)

If you specify this parameter, the command displays information about the NFS-enabled SVMs for which the -file-session-io-grouping-duration matches the specified input.

[-checksum-for-replay-cache {enabled|disabled}] - Enable or disable Checksum for Replay-Cache (privilege: advanced)

If you specify this parameter, the command displays information about the NFS-enabled SVMs for which the -checksum-for-replay-cache matches the specified input.

[-cached-cred-harvest-timeout <integer>] - Harvest timeout (in msecs) for a Cached Credential (privilege: advanced)

If you specify this parameter, the command displays information about the NFS-enabled Vservers harvest timeout for cached credentials.

[-idle-connection-timeout <integer>] - Idle Connection Timeout Value (in seconds)

If you specify this parameter, the command displays information about the NFS-enabled Vservers idle connections timeout

[-allow-idle-connection {enabled|disabled}] - Are Idle NFS Connections Supported

If you specify this parameter, the command displays information only about NFS-enabled Vservers for which the -allow-idle-connection option matches the specified input.

[-v3-hide-snapshot {enabled|disabled}] - Hide Snapshot Directory under NFSv3 Mount Point

If you specify this parameter, the command displays information about the NFS-enabled Vservers for which -v3-hide-snapshot matches the specified input.

Examples

The following example displays information about all NFS-enabled Vservers:

cluster1::> vserver nfs show
       General                                              Default
Vserver      Access  v3       v4       v4.1     UDP      TCP      Windows User
------------ ------- -------- -------- -------- -------- -------- ------------
vs0          true    enabled  disabled disabled enabled  enabled  -
vs1          true    enabled  disabled disabled enabled  enabled  -
2 entries were displayed.

The following example displays Kerberos-related information about all NFS-enabled Vservers:

cluster1::*> vserver nfs show -krb-opts
Vserver Context High Context Idle
-------------- ------------ ------------
vs0            30           30
vs1            30           30
2 entries were displayed.