Avamar: Integrazione di Data Domain: La replica ha esito negativo con: 5009-filecopy operation failed (NFS: Errore di I/O)
Summary: Integrazione di Avamar - Data Domain: Replica non riuscita con "Err: 5009-filecopy operation failed (NFS: Errore di I/O)"
Symptoms
La replica ha esito negativo con i seguenti errori:
(esempio tratto dai registri Avamar):
2020-02-26 11:27:39 avtar Info <42385>: id:1 Range-Replication selected because it is supported since DDOS 6.0 (container.1.cdsf)
2020-02-26 11:27:39 avtar Info <40160>: - Establishing a connection to the Data Domain system with basic authentication (Connection mode: A:0 E:0).
2020-02-26 11:27:39 avtar Info <40160>: - Establishing a connection to the Data Domain system with basic authentication (Connection mode: A:0 E:0).
2020-02-26 11:27:39 avtar Info <40160>: - Establishing a connection to the Data Domain system with basic authentication (Connection mode: A:0 E:0).
2020-02-26 11:27:40 avtar Info <40160>: - Establishing a connection to the Data Domain system with basic authentication (Connection mode: A:0 E:0).
2020-02-26 11:27:41 avtar Error <0000>: Replication failed - id: 4, unexpected exception caught: ddr_replthread:4:replicateSlice: ddp_filecopy_status failed
[24648] [140103118698240] Wed Feb 26 11:27:41 2020
ddp_filecopy_status() failed, start_offset[0], length[20971520], Err: 5009-filecopy operation failed (nfs: I/O error)
[24648] [140103120803584] Wed Feb 26 11:27:40 2020
ddp_filecopy_stop() failed, Err: 5004-nfs filecopy stop failed (nfs: No such file or directory)
...
[24648] [140103116592896] Wed Feb 26 11:27:40 2020
ddp_filecopy_stop() failed, Err: 5004-nfs filecopy stop failed (nfs: No such file or directory)
[24648] [140103180687104] Wed Feb 26 11:27:39 2020
ddp_access() failed, Path avamar-123456789/STAGING/5be457387ae27688587b250879ad303532b2fd33/BACKUP-C97A790FDAC757D5B883F6E3A5BF0BE9344B0355-1D5EC41EE3438C2, mode 0 Err: 5004-nfs lookup failed (nfs: No such file or directory)
[24648] [140103180687104] Wed Feb 26 11:27:39 2020
ddp_access() failed, Path avamar-123456789/STAGING/5be457387ae27688587b250879ad303532b2fd33/BACKUP-C97A790FDAC757D5B883F6E3A5BF0BE9344B0355-1D5EC41EE3438C2, mode 0 Err: 5004-nfs lookup failed (nfs: No such file or directory)
2020-02-26 11:27:41 avtar Error <0000>: Replication failed - id: 5, unexpected exception caught: ddr_replthread:5:replicateSlice: ddp_filecopy_status failed
...
[24648] [140103116592896] Wed Feb 26 11:27:41 2020
ddp_filecopy_status() failed, start_offset[0], length[20971520], Err: 5009-filecopy operation failed (nfs: I/O error)
[24648] [140103120803584] Wed Feb 26 11:27:41 2020
ddp_filecopy_status() failed, start_offset[0], length[20971520], Err: 5009-filecopy operation failed (nfs: I/O error)
...
[24648] [140103121856256] Wed Feb 26 11:27:40 2020
ddp_filecopy_stop() failed, Err: 5004-nfs filecopy stop failed (nfs: No such file or directory)
[24648] [140103119750912] Wed Feb 26 11:27:40 2020
ddp_filecopy_stop() failed, Err: 5004-nfs filecopy stop failed (nfs: No such file or directory)
[24648] [140103117645568] Wed Feb 26 11:27:40 2020
ddp_filecopy_stop() failed, Err: 5004-nfs filecopy stop failed (nfs: No such file or directory)
2020-02-26 11:27:42 avtar Error <18788>: Replication failed - a replication thread encountered error 4910, desc: Unknown exception caught.
2020-02-26 11:27:42 avtar Info <18789>: Backup Replication Stats: original backup size: 0 (0 bytes), precompression size: 0 (0 bytes), network bytes sent: 0 (0 bytes), sent: 0.00%
2020-02-26 11:27:42 avtar Error <18797>: Replication failed - The replicator returned an error.
2020-02-26 11:27:42 avtar Error <18773>: MReplication failed -- backup: 1D5EC41EE3438C2, from DD-6800-1.company.com(1):avamar-134567890 to DD-6800-2.company.com(1):avamar-123456789, DDR result code: 4912, desc: Replication failed
2020-02-26 11:27:43 avtar Warning <18125>: Calling DDR_REPLICATE returned result code:5009 message:I/O error
2020-02-26 11:27:43 avtar Error <10612>: Replication failed -- could not replicate file /cur/5be457387ae27688587b250879ad303532b2fd33/1D5EC41EE3438C2/ddr_files.xml to /STAGING/5be457387ae27688587b250879ad303532b2fd33/BACKUP-C97A790FDAC757D5B883F6E3A5BF0BE9344B0355-1D5EC41EE3438C2/ddr_files.xml, LSU: avamar-123456789, DDR result code: 5009, desc: I/O error
2020-02-26 11:27:43 avtar Info <40176>: - Multi-stream restore summary (current 0, max active 0, max cloned 0, total cloned 0, ddr handle 2):
2020-02-26 11:27:43 avtar FATAL <0000>: Replication failed
2020-02-26 11:27:43 avtar FATAL <40009>: DDR encountered errors.
2020-02-26 11:27:43 avtar Info <9772>: Starting graceful (staged) termination, DDR_ERROR event received (fatal severity) (wrap-up stage)
2020-02-26 11:27:43 avtar Info <0000>: Entering the 'final' phase of termination, DDR_ERROR need to exit)
2020-02-26 11:27:43 avtar Info <40176>: - Multi-stream restore summary (current 0, max active 0, max cloned 0, total cloned 0, ddr handle 2):
2020/02/26-18:27:43.18948 [avtar] INTERNAL ERROR: <0001> assert error (result == MSG_ERR_NONE), /local/jenkins/workspace/server_rollup_hotfix_SLES11-64/src/avtar/ade/adelib/interfaceade.cpp line 396
2020-02-26 11:27:43 avtar Info <5675>: Replicated 0 of 2 backups (0 errors) for client "test-files.company.com"
2020-02-26 11:27:43 avtar Error <6655>: Replicate interrupted.
2020-02-26 11:27:43 avtar Info <7925>: Restored 0 bytes from selection(s) with 0 bytes in 1 files
2020-02-26 11:27:43 avtar Info <7883>: Finished at 2020-02-26 11:27:43 MST, Elapsed time: 0000h:00m:04s
2020-02-26 11:27:43 avtar Info <40176>: - Multi-stream restore summary (current 0, max active 0, max cloned 0, total cloned 0, ddr handle 1):
2020-02-26 11:27:43 avtar Info <6149>: Error summary: 14 errors: 6655, 18773, 10612, 18797, 40009, 18788, 0(7)
2020-02-26 11:27:43 avtar Info <8468>: Sending wrapup message to parent
2020-02-26 11:27:43 avtar Info <5314>: Command failed (14 errors, 2 warnings, exit code 10007: miscellaneous error)
Cause
Anche se l'errore "Err: 5009-filecopy operation failed (nfs: I/O error)" è un errore generico per problemi di Data Domain. Sono necessarie ulteriori indagini su Data Domain per individuare la root cause.
In questo caso, la causa del problema era dovuta al fatto che la crittografia non era configurata allo stesso modo nei Data Domain di origine e di destinazione.
Nel registro sono stati segnalati i seguenti eventi:
02/26 22:01:51.161 (tid 0x7fa4fa49ffe0): filecopy ctx 541 dst DD-6800-2.company.com: ASSOC failed: Encrypted replication incompatible between source and destination (5342) (5342)
02/26 22:01:51.161 (tid 0x7fa4fa49ffe0): NOTICE: MSG-REPL-00508: filecopy ctx 541: Replication: originator disconnected from dst DD-6800-2.company.com
02/26 22:01:51.161 (tid 0x7fa4fa49ffe0): filecopy failed for , errno=5342, errstr=ASSOC failed: Encrypted replication incompatible between source and destination (5342)
02/26 22:01:51.161 (tid 0x7fa4fa49ffe0): nfc_worker - Unrecoverable filecopy for src_path: /data/col1/avamar-123456789/cur/5be457387ae27688587b250879ad303532b2fd33/1D5ECC7D985F54C/container.1.cdsf error = 5342. (Not attempting retry)
02/26 22:01:51.161 (tid 0x7fa4fa49ffe0): ERROR: MSG-NFS-00005: Failed to do a filecopy, err = [5342: ASSOC failed: Encrypted replication incompatible between source and destination (5342), ddr/repl/lrepl_originator.c, filecopy_do_associate, 1585]
02/26 22:01:51.162 (tid 0x7fa4fa49ffe0): nfc_worker - filecopy_send_file completed for task=64 filecopy idx=64 error=5
Ciò è stato verificato controllando l'impostazione di crittografia nei Data Domain di origine e di destinazione (o destinazione):
Fonte:
ddboost file-replication option show encryption
Encryption for file-replication is: disabled
Bersaglio:
ddboost file-replication option show encryption
Encryption for file-replication is: enabled
Resolution
1. Verificare se la crittografia deve essere abilitata o disabilitata in entrambi i Data Domain.
2. Accedere alla destinazione con la configurazione di crittografia errata.
3. Controllare, impostare e verificare la crittografia:
Per abilitare la crittografia:
ddboost file-replication option show encryption
Encryption for file-replication is: disabled
Authentication-mode is: anonymous
ddboost file-replication option set encryption enabled
Encryption for file-replication set to "enabled".
ddboost file-replication option show encryption
Encryption for file-replication is: enabled
Authentication-mode is: anonymous
Per disabilitare la crittografia:
ddboost file-replication option show encryption
Encryption for file-replication is: enabled
Authentication-mode is: anonymous
ddboost file-replication option set encryption disabled
Encryption for file-replication set to "disabled".
ddboost file-replication option show encryption
Encryption for file-replication is: disabled
Authentication-mode is: anonymous
4. Riavviare ddboost sul Data Domain in cui è stata abilitata la crittografia o disabilitarla.
ddboost status
DD Boost status: enabled
ddboost disable
The 'ddboost disable' command aborts running DD Boost operations.
Are you sure? (yes|no) [no]: y
ok, proceeding.
DD Boost disabled.
ddboost enable
DD Boost enabled.
ddboost status
DD Boost status: enabled
5. Eseguire nuovamente la replica.
Additional Information
Output dei comandi eseguiti nel passaggio 2:
SE@SRC-DD-6800-1## ddboost file-replication option set encryption enabled
Encryption for file-replication set to "enabled".
SE@SRC-DD-6800-1## ddboost file-replication option set encryption disabled
La crittografia per la replica di file è impostata su "disabled".
SE@SRC-DD-6800-1## ddboost file-replication option show encryption
La crittografia per la replica di file è: abilitata (o disabilitata)
Output dei comandi eseguiti nel passaggio 3:
SE@SRC-DD-6800-1## ddboost disable
Il comando "ddboost disable" interrompe l'esecuzione delle operazioni di DD Boost.
Sei sicuro? (sì|no) [No]: Sì
OK, procediamo.
DD Boost disattivato.
SE@SRC-DD-6800-1##
SE@SRC-DD-6800-1## ddboost enable
DD Boost enabled.
SE@SRC-DD-6800-1## stato
ddboost Stato DD Boost: abilitato
Questo contenuto è tradotto in 17 lingue:
| https://downloads.dell.com/TranslatedPDF/CS_KB541601.pdf |
| https://downloads.dell.com/TranslatedPDF/DA_KB541601.pdf |
| https://downloads.dell.com/TranslatedPDF/DE_KB541601.pdf |
| https://downloads.dell.com/TranslatedPDF/ES-XL_KB541601.pdf |
| https://downloads.dell.com/TranslatedPDF/FI_KB541601.pdf |
| https://downloads.dell.com/TranslatedPDF/FR_KB541601.pdf |
| https://downloads.dell.com/TranslatedPDF/IT_KB541601.pdf |
| https://downloads.dell.com/TranslatedPDF/JA_KB541601.pdf |
| https://downloads.dell.com/TranslatedPDF/KO_KB541601.pdf |
| https://downloads.dell.com/TranslatedPDF/NL_KB541601.pdf |
| https://downloads.dell.com/TranslatedPDF/NO-NO_KB541601.pdf |
| https://downloads.dell.com/TranslatedPDF/PL_KB541601.pdf |
| https://downloads.dell.com/TranslatedPDF/PT-BR_KB541601.pdf |
| https://downloads.dell.com/TranslatedPDF/RU_KB541601.pdf |
| https://downloads.dell.com/TranslatedPDF/SV_KB541601.pdf |
| https://downloads.dell.com/TranslatedPDF/TR_KB541601.pdf |
| https://downloads.dell.com/TranslatedPDF/ZH-CN_KB541601.pdf |