Sunday, October 10, 2010

Error message: Ndmpcopy: Authentication failed for source

There are several reasons for ndmpcopy to fail:

•The password for both the source and destination filer are not given:
ndmpcopy -sa root: -da root: filer1:/vol1 filer:/vol1

•Authentication depending on the authentication type: challenge or text. With Data ONTAP 6.1 and earlier, an authentication error will occur if ndmpcopy tries to authenticate using md5.

•The source pathname is invalid. The following is an output from the 'ndmpcopy' command when the source path name is invalid:

Solution:
1.Set the options ndmpd.authtype to "challenge" on the source and destination. Data ONTAP 6.1 and earlier versions require ndmpcopy authentication to be set to TEXT.

2.Find the encrypted password for a user, using the following command:
ndmpd password ndmpuser

Find the source password:
fas270cl1-ca-n2> ndmpd password ndmpuser
password RtafEaSBeZEP31ws

Find the destination password:
fas270cl1-ca-n1> ndmpd password ndmpuser
password bHzZT0u3VFnIAeKD

3.Now retry the NDMP copy, specifying the passwords on the host and destination filers:

ndmpcopy -sa root:[passwd] -da root:[passwd] filer1:/vol1 filer2:/vol1

2 comments:

  1. Thank you! Would it be so hard for our favorite storage companies to write down on a manual, that you have to use the encrypted password?

    ReplyDelete
  2. This man deserves a hug! You have just saved me a age or three of tearing my hair out.

    ReplyDelete