Useful Netapp commands
Sometimes it is necessary to find information directly from a NetApp Filer.
These commands can be run from a putty or ssh session into the filer. You will need to be logged in a 'root' for many of them.
version <shows the Ontap version>
ifconfig -a <shows the IP address>
uptime <shows how long the filer has been up>
ndmpd variables:
on - Enables NDMP request-handling by the daemon. Enabling/disabling NDMP persists across reboots.
off - Disables NDMP request-handling by the daemon. Processing continues for requests that are already in progress. New requests are rejected. By default, NDMP service is disabled at system startup.
status - Displays the current state of NDMP service.
probe [ session ] - Displays diagnostic information about the specified session. If session is not specified, information about all sessions is displayed.
kill session - Signals the specified session to stop processing its current requests and move to an inactive state. This allows hung sessions to be cleared without the need for a reboot, since the off command waits until all sessions are inactive before turning off the
NDMP service.
killall - Signals all active sessions to stop processing their current requests and move to an inactive state.
version [ maxversion ] - Displays the maximum version that
NDMP currently supports when invoked without the optional maxversion. Sets the maximum version that NDMP allows when maxver_sion is specified. Currently supported values of maxversion are 2,3, and 4. By default, the maximum version is set to 4 at system startup. If maxversion is changed with ndmpd version maxversion, the changed value persists across reboots.
snapmirror status <shows if snapmirror is enabled>
sysconfig -m <shows attached media changers>
sysconfig -t <shows attached tape drives>