I have created a volume vol1 on fas01. I have created cifs share called share1 on fas:/vol/vol1. Similarly i have created share1 on fas02:/vol/vol1. I have plaed a file on fas01:/vol/vol1 and copied to fas02:/vol/vol1 using ndmpcopy. Please find the attached screenshots for outputs.
If this solution resolved your issue, please mark it as resolution and give kudos
Tried the user name for both source and destination but facing the same source authentication error when i delete the source then it prompt the destination authentication error and when i deltee both source and destinatin id in the filer then i am aable to ndmpcopy in the same filer. Please note down that i have taken the above steps in same filer.
The KB "How to use NDMP-based copy utilities (such as ndmpcopy) to copy data between the same or different modes of Data ONTAP" uses:
Step 1: Enable NDMP and set a password on the source and destination storage systems.
Enable NDMP: netapp> ndmpd on
Create a new user specifically for NDMP: netapp*> useradmin user add ndmp -g "Backup Operators" New password: XXXXXXXXX Retype new password: XXXXXXXXX User <ndmp> added.
Non-root users have a special NDMP password that is different from their login password and is displayed by this command: netapp> ndmpd password ndmp password MzUV5p6R
Set NDMP to accept both plaintext and md5 authentication requests: netapp> options ndmpd.authtype plaintext,challenge
Step 2: Determine the arguments for your NDMP based copy
For 7-Mode: Authentication Type: Can be encrypted (called challenge or md5) or clear text (called text or clear-text); md5 / challenge is recommended Hostname or IP: Hostname or IP address of the storage controller Path: Path in the format/vol/volume(or/vol/volume/qtreeor/vol/volume/qtree/file)
If running the Data ONTAP 7-Modendmpcopycommand Build a command line: ndmpcopy -d -sa <source_user>:<source_pass> -st <auth_type> -da <dest_user>:<dest_pass> -dt <auth_type> <hostname_or_IP>:<source_path> <hostname_or_IP>:<dest_path>
Example syntax for a 7-Mode to 7-Mode NDMP-based copy by running thendmpcopycommand: netapp> ndmpcopy -d -sa ndmp:v0smhhqZ -st md5 -da ndmp:v0smhhqZ -dt md5 10.64.31.43:/vol/chris2/qt2 10.64.31.43:/vol/chris2/qt2-copy