Data Domain - DD Retention Lock으로 인해 Commvault 백업 오류가 발생하여 파일 액세스 시간을 설정할 수 없음
Résumé: Data Domain Retention Lock이 활성화된 경우 Commvault 백업이 중단되고 'Cannot set file access time' 및 'Cannot mark file' 오류가 발생합니다.
Symptômes
Commvault 로그에서
egrep 'Cannot set the access time of the file' *
5912 16e0 03/14 13:14:28 39714925 89335656-66296274 [MEDIAFS ] RealMagneticFS Created <\\x.x.x.x\xxxxxxxxx_cvlt_hs_win_30days_repl\xxxxxx_Folder1\CV_MAGNETIC\V_24431218\CHUNK_xxxxx7588> file
5912 16e0 03/14 13:14:28 39714925 89335656-66296274 [DSBACKUP ] Archive File creation succeeded Type: 16 SubType: 131 Status: 0 EventErrorCode: 0
5912 16e0 03/14 13:14:28 39714925 89335656-66296274 [DSBACKUP ] Archive File creation succeeded Has been Sent
5912 19e8 03/14 13:14:28 39714925 89335656-66296274 [DSBACKUP ] Job Update Interval seconds [300]S
5912 c0c 03/14 13:14:28 39714925 89335656-66296274 [MEDIAFS ] SetFileValidData is not supported on this path. Code [87]. Current Offset [0x0000000000000000], Chunk increment size [134217728]
5912 33b4 03/14 13:14:30 39714925 89335656-66296274 [DM_RECEIVER] Recieved close for ARCHIVE FILE ID = [224722928]
5912 33b4 03/14 13:14:30 39714925 89335656-66296274 [DM_BASE ] Going to close chunk for archive File [224722928] The current size of the chunk is [217752447 ]
5912 33b4 03/14 13:14:30 39714925 89335656-66296274 [MEDIAFS ] RealMagneticFS::FinalizeChunkForBackup: Setting the end of file to offset [0x000000000D000000]
5912 33b4 03/14 13:14:30 39714925 89335656-66296274 [MEDIAFS ] Cannot set the access time of the file [\\x.x.x.x\xxxxxxxxx_cvlt_hs_win_30days_repl\xxxxx_Folder1\CV_MAGNETIC\V_24431218\CHUNK_569777588]. Time [133555148680000000], Error [5].
5912 33b4 03/14 13:14:30 39714925 89335656-66296274 [MEDIAFS ] Cannot mark the file [\\x.x.x.x\dc19900dd0100_cvlt_hs_win_30days_repl\xxxxxx_Folderx\CV_MAGNETIC\V_24431218\CHUNK_569777588] as read only.
5912 33b4 03/14 13:14:30 39714925 89335656-66296274 [MEDIAFS ] CloseSpecific Failed to close the Media Handle - VolId=24431218
5912 33b4 03/14 13:14:30 39714925 89335656-66296274 [DM_BASE ] Error handler: Setting JPR for [errorType - 1] [Error-code - 996] [Error-module - 218104071] [Event-ID - 1040187703] [Handler type - 218104061]
5912 33b4 03/14 13:14:30 39714925 89335656-66296274 [DM_BASE ] setting job pending reason [job-ID - 39714925] [job type - 1] [Argument count - 3]
5912 33b4 03/14 13:14:30 39714925 89335656-66296274 [DM_BASE ] **ERROR** Failed to close the Chunk on Media. ArchiveFile=224722928 ChunkId= 569777588
5912 33b4 03/14 13:14:30 39714925 89335656-66296274 [DM_RECEIVER] DataReceiver::Close: Error: DataWriter Close Failed. ArchFileId [224722928]
5912 33b4 03/14 13:14:30 39714925 89335656-66296274 [DSBACKUP ] Failed to Close Archive File
5912 33b4 03/14 13:14:30 39714925 89335656-66296274 [DSBACKUP ] ERROR! Failed to close Archive file Type: 16 SubType: 132 Status: 102 EventErrorCode: 117440531
5912 33b4 03/14 13:14:30 39714925 89335656-66296274 [DSBACKUP ] ERROR! Failed to close Archive file Has been Sent
5912 33b4 03/14 13:14:30 39714925 89335656-66296274 [DSBACKUP ] [error] occured [handled - yes]
DD ddfs.info 로그에서
First grep for the chunk in DDFS and then get the file handle.
grep "CHUNK_xxxxx7588" ddfs.info.7
03/13 22:26:36.837110 [7facfe393c50] FM fm_dm1_open:3690 - Create: /data/col1/xxxxxxxx_cvlt_win_30days_repl/xxxx_Folder1/CV_MAGNETIC/V_24429117/CHUNK_xxxxx7588, FH: ---->5700bc:0:xxx:0:xxx:xxxxx:0:<--------:0:(0:99436), tag: 0, cp_uuid = c85bf3507bxxxxxx:67d1086dbxxxxx
Grep for file handle.
grep "5700bc:xxxxxxxxxxxxxxx" ddfs.info.7
03/13 22:26:36.837110 [7facfe393c50] FM fm_dm1_open:3690 - Create: /data/col1/xxxxxxxx_cvlt_hs_win_30days_repl/xxxxxx_Folder1/CV_MAGNETIC/V_24429117/CHUNK_xxxxx7588, FH: 5700bc:0:xxxxx:0:xxxx:xxx:0:(0:99436), tag: 0, cp_uuid = c85bf3507xxxxx:67d1086dbxxxxx
03/13 22:27:52.381294 [7facfb801050] Attempt to set atime of file 5700bc:0:xx:x:xxxxx:xxxxx:0 to less than minimum retention period of mtree
Cause
Commvault가 atime을 (Current time) + (Retention-lock min-retention-period)보다 작은 값으로 설정하려고 합니다.
Résolution
최소 보존 기간을 낮추거나 Commvault를 설정하여 atime을 현재 값 세트보다 나중으로 설정합니다.
Informations supplémentaires
https://community.commvault.com/self-hosted-q-a-2/difference-between-retention-lock-enabling-worm-compliance-lock-6540 [community.commvault.com] ">
https://documentation.commvault.com/2023e/expert/configuring_worm_storage_lock_and_compliance_lock.html [documentation.commvault.com] ">
Retention Lock, Compliance Lock, Software WORM, WORM Copy → 이 모든 것은 동일한 CommVault 소프트웨어 레벨의 WORM 보호를 나타냅니다. 이는 작업, 클라이언트, 백업 세트 또는 유효한 작업이 있는 하위 클라이언트를 삭제하지 못하게 하고 보존 기간을 줄이지 못하게 합니다.
11.30 이전 버전에서는 Java 콘솔을 사용하여 스토리지 정책 복제본 레벨에서 WORM을 사용 설정합니다. 또는 스토리지 풀의 모든 복제본에 Retention Lock 워크플로를 사용합니다.
버전 11.30부터 옵션의 이름이 'Compliance Lock' 는 WORM 스토리지와의 혼동을 방지하기 위한 것이며 Command Center 및 Java 콘솔의 스토리지 풀 속성에서 사용할 수 있습니다. 토글을 선택합니다. "Compliance Lock" 스토리지 풀에서 이를 활성화합니다.
WORM 스토리지 → 하드웨어 수준(스토리지 공급업체 측) WORM 보호를 나타냅니다. 이 옵션을 사용하면 스토리지 측에서 직접 삭제 및 수정을 방지하기 위해 데이터가 스토리지 측에서 잠깁니다.
자동으로 활성화됩니다. "Compliance Lock" WORM 스토리지가 활성화된 경우 스토리지 측 잠금에 맞춰 보존 변경을 방지합니다.
11.30 → 사용 전 "Enable WORM Storage" 이를 활성화하는 워크플로.
11.30 →부터 Command Center와 Java Console의 스토리지 풀 속성 아래에 이 옵션을 표시했습니다. 스토리지 풀에서 "WORM Storage"를 선택하여 활성화합니다.