The ndmpd command

Purposes of the ndmpd command

The ndmpd command enables NDMP support on the filer and displays information about backup and restore operations that use NDMP.

The ndmpd command syntax

The syntax for the ndmpd command is as follows:

ndmpd [ on | off | status | probe [session]| kill [session] ]

The ndmpd command options

The following table describes the ndmpd command options.

Option Description
on
Enables NDMP.
Running NDMP after each reboot

If you want the filer to run NDMP after each reboot, put the ndmpd on command in the /etc/rc file.

off
Disables NDMP. After you enter ndmpd off, the filer continues processing existing requests but rejects new ones.
status
Displays the current state of each NDMP session. Sessions are numbered 0 to 99.
probe

Displays detailed information about the NDMP session specified. The information is for debugging.

Using the probe option without a session parameter displays NDMP information for all sessions.

kill

Terminates the specified session.

Use this option if you want to clear a hung NDMP session.

Example of status option

In the following example, the ndmpd status command displays information about session 4:

ndmpd status
ndmpd ON.
Session: 4
  Active
  version:                3
  Operating on behalf of primary host.
  tape device:    not open
  mover state:    Idle
  data state:     Idle
  data operation: None

Example of probe option

In the following example, the ndmpd probe 0 command shows detailed status of active session 4:

ndmpd probe 0
ndmpd ON.
Session: 4
  isActive:               TRUE
  protocol version:       3
  effHost:                Local
  authorized:             FALSE
  client addr:            10.10.10.12:47154
  spt.device_id:          none
  spt.ha:                 -1
  spt.scsi_id:            -1
  spt.scsi_lun:           -1
  tape.device:            not open
  tape.mode:              Read only
  mover.recordSize:       0
  mover.recordNum:        0
  mover.state:            Idle
  mover.mode:             Read
  mover.pauseReason       N/A
  mover.haltReason        N/A
  mover.dataWritten:      0
  mover.seekPosition:     0
  mover.bytesLeftToRead:  0
  mover.windowOffset:     -1

Copyright © 1999, Network Appliance, Inc. All rights reserved.

Part No. 210-02334
File: ndmp2.htm
Last updated: 04/26/99 08:11:52