NFS Mount Failures
Troubleshoot ONTAP NFS mount failures: export policies, security flavors, root squash, LIFs, routing, NFSv4 domain. Real commands included.
Home / Troubleshooting / Network & Connectivity Problems
Symptoms: clients can't mount or connect, "no route to host", LIFs that flap or won't come home, transfers that crawl, iSCSI sessions that drop. This guide walks the ONTAP command path from link to LIF to route to packet.
ONTAP participates in up to three logically separate networks, and the fix is different for each:
| Network | Who is on it | Typical failure symptom |
|---|---|---|
| Data / client network | NFS, SMB, iSCSI, S3 clients hitting SVM LIFs | Mounts time out, "no route to host", IO errors, slow throughput |
| Cluster interconnect | Nodes talking to each other (e0a/e0b or e4a-e4f) | Cluster haphazard, cluster show shows nodes unreachable, volume move stalls |
| Management / node network | Cluster mgmt LIF, node mgmt LIFs, SSH/HTTPS | Can't SSH in, ONTAP System Manager unreachable, monitoring down |
Ask: can clients reach the LIF IP at all? If a ping to the LIF address fails while the node's other LIFs work, it's LIF- or switchport-level. If nothing on the subnet works, check the switch first — ONTAP is frequently the victim of a misconfigured port-channel or VLAN, not the cause.
# The single most useful command: every LIF, current location, state
network interface show -fields vserver,lif,role,home-node,home-port,curr-node,curr-port,address,state,failover-policy
# Short form
network interface show
# Detail for one LIF
network interface show -vserver vs1 -lif lif1 -instance
network port show) or the LIF is admin-down. Check network interface modify -vserver vs1 -lif lif1 -status-admin up only after confirming the port is up.network interface failover-groups show.-failover-policy disabled (or sfo-partner-only if you must), and use iscsi node show -instance to confirm hosts see all paths.
# Every port: link state, health, speed, ifgrp membership
network port show -fields node,port,role,link,admin-status,health,ifgrp,mtu,speed
# Detailed counters for one port
network port show -node node1 -port e0c -instance
# ifgrp members and their link states
network ifgrp show
spanning-tree portfast / edge port settings.# Classic: error counters per interface (tx errors, rx errors, discards)
system node run -node node1 -command netstat -x | grep -A6 "e0c"
# Per-interface drops and input/output errors
system node run -node node1 -command netstat -i
# Or via ONTAP statistics
statistics show -object nic -instance node1:e0c -sample-id netchk
# (stop with)
statistics stop -sample-id netchk
If NFS mounts, pings, and small transfers work but large reads/writes hang or time out, suspect MTU. ONTAP ports default to 1500; jumbo environments set 9000 on the node port, the switch (including every hop), and the client. One 1500 hop in the middle of a 9000 path silently breaks large packets.
# What MTU is configured on the ONTAP ports?
network port show -fields node,port,mtu
# Ping with the DF (don't-fragment) bit and a jumbo payload, from ONTAP itself
network ping -vserver vs1 -destination 10.1.1.50 -size 8972 -df true -count 3
# From a Linux client against the LIF
# ping -M do -s 8972 10.1.1.101
8972 = 9000 MTU minus 20 (IP) minus 8 (ICMP). 1472 is the equivalent for 1500 MTU.network port show -instance on the node, then the switch's show interface MTU on each hop.network port modify -node node1 -port e0c -mtu 9000. Note: ifgrp members must all have the same MTU, and changing MTU on a port takes the LIFs on it briefly down — plan a maintenance window.network port vlan show) inherits the parent port's MTU.If link is up but ONTAP reports l2_reachability degradation or vifmgr.reach.err, stop before changing routes: the broadcast-domain reachability repair runbook explains the decisive scan, every status, and the VLAN/ifgrp/LIF side effects of repair.
# Routes ONTAP knows about, per SVM
network routes show -vserver vs1
# Default route(s) — every data SVM needs one or a subnet route
network routes show -vserver vs1 -fields destination,gateway,metric
# Where LIFs are allowed to live (routing groups tie LIFs to routes)
network routing-groups show -vserver vs1
# Test reachability from ONTAP's perspective (9.9+; older: vserver ping)
network ping -vserver vs1 -destination 10.1.1.50 -count 3
network traceroute -vserver vs1 -destination 10.1.1.50
network routes show with the actual network design.network interface show -vserver vs1 -lif lif1 -fields routing-group).network ping on ONTAP uses the SVM's routing context — a ping that fails from ONTAP but works from a client (or vice versa) tells you which side's routing is broken.Many "network" failures are really name-resolution failures — the mount works by IP but not by hostname, or SMB/Kerberos fails because the SVM can't resolve the domain controller.
# What DNS servers does the SVM use, and can it reach them?
vserver services name-service dns show -vserver vs1
vserver services name-service dns check -vserver vs1
# Check name resolution for a specific host from ONTAP
vserver services name-service getxxbyyy -vserver vs1 -hostname dc01.example.com -type host
# NIS domain status (if used)
vserver services name-service nis-domain show -vserver vs1
dns check tests each configured DNS server in order and reports latency — a DNS server that's slow or unreachable will cause intermittent NFS/SMB delays even when the data path is fine.export-policy rules matching by hostname silently don't match. Rule of thumb for a fast diagnosis: export-policy rule show entries by IP vs the failing client's resolved name.vserver services active-directory show and the DNS search domains (dns show).# packet-tracer replays a packet through the data path and tells you the verdict
network packet-tracer -vserver vs1 -source 10.1.1.50 -destination 10.1.1.101 -protocol nfs
# More detail with the port and connection ID
network packet-tracer -vserver vs1 -source 10.1.1.50 -source-port 63456 -destination 10.1.1.101 -destination-port 2049 -protocol tcp -connection-id 1
# Live capture on a port (with filters to keep it small)
network packet capture start -node node1 -port e0c -duration 30 -host 10.1.1.101 -vserver vs1
network packet capture show
network packet capture stop -node node1 -port e0c
/mroot/etc/capture/ on the node as pcap files; pull them with system node run -node node1 -command "ls /mroot/etc/capture" and copy via system node run + your normal scp path (ONTAP 9.x: vserver services web access or copy the file via NFS/SMB share if mounted).network connection show -vserver vs1 -protocol nfs — if clients are in SYN_SENT while the LIF is up, the answer is almost always switch/VLAN/MTU, not ONTAP.# ifgrp config: members, mode (lacp/static), policy, mtu
network ifgrp show -fields node,ifgrp,mode,policy,mtu,port
# Which node ports belong to which ifgrp and their link state
network port show -fields node,port,ifgrp,link
lacp) requires the switch to run LACP on the same members; static (manual) requires the switch side to be a manual/static port-channel. A mismatch shows up as flapping or dropped traffic on some members.ip hashes on IP+port). One TCP connection always lands on exactly one member — a single NFS client doing a big sequential copy gets one link's worth of throughput, no matter how many members the ifgrp has. That's expected; parallel flows distribute. Don't chase "my ifgrp only uses one port" as a bug without checking flow count.network ifgrp show -fields node,ifgrp,lacp-mode and check the switch's LACP counters for out of sync members.# Which LIFs are iSCSI, and are all paths visible to hosts?
iscsi node show -instance
iscsi interface show -vserver vs1
# Sessions per host
iscsi session show -vserver vs1
# ALUA path state (all paths should be active/optimized or active/non-optimized)
iscsi node show -instance | grep -i -A3 alua
iscsi interface show lists the LIFs; compare with what the host's initiator logged in to.iscsi session show counts them) and that round-robin/ALUA path selection is configured on the host side.# Cluster health from one node
cluster ping-cluster -node node1
# Interconnect ports (role = cluster) and their link state
network port show -fields node,port,role,link,speed
# Which node is the mediator/epsilon, and are all nodes in the quorum?
cluster show
cluster ping-cluster runs connectivity and latency checks between all nodes; high latency or packet loss here causes "node not responding" messages, volume-move stalls, and slow failovers.cluster show for epsilon).network port show -fields link,health and network interface show -fields state in your alerting; alert on LIF failover and port health degraded, not just link down.network port show -instance, network interface show, network routes show, netstat -x, and a packet-tracer result — that set answers most questions without a case.