NetWorker:儘管來源損毀,但複製的儲存集仍錯誤地標示為有效

Summary: 在受影響的 NetWorker 版本中,即使複製操作失敗且記錄報告錯誤,損壞的儲存集在複製後仍可能被錯誤地標示為有效。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

  • A saveset 在備份期間有效,稍後會損毀。
  • 複製已損毀的 saveset 完成但仍標記已複製 saveset 在媒體資料庫中有效。
  • 受影響的 NetWorker 版本為 19.6.x19.7.x9.8.x,以及 19.9.0.4 之前的版本。
  • nsrclone 報告失敗,但 mminfo 顯示已複製的 saveset 具有有效標誌。

範例:

root@server:#  mminfo -q ssid=2557547202 -r "clonetime(22),sscreate(22),volume,pool,totalsize(2),sumflags,clflags,name"
      clone time            ss created      volume         pool        total fl clflg name
11/13/2022 04:52:34 PM 11/13/2022 04:52:34 PM VM040089     DUMPS_5WKS 31 GB cb  RMAN:HOT_F_DB_name_1.rman  <=== Backup valid but corrupted data
  • 啟動 nsrclone 的腐敗者 saveset
root@server:# nsrclone -D9 -v -s nsr_server -b CLONE_5WKS -S 2557547202 >> clone_log.txt 2>&1 ; echo $?
1   <=== An error is correctly reported from the nsrclone command
  • NetWorker 複製輸出記錄會報告 saveset 為無效
root@server:/$ tail -50 clone_log.txt
      forced volume location: SN_name;
          inactivity timeout: 180;
                      job id: 1104237;
                      manual: Yes;
               NSR operation: cloning;
                   save sets: \
...
11/22/22 17:29:08.948529 start_regular_clone for Regular type failed: Unable to start clone session: other clones exist for failed save set RMAN:HOT_F_DB_name_1.rman ssid=2557547202
 11/22/22 17:29:08.948586 Exiting process_this_snode for Regular clone
11/22/22 17:29:08.948603 Function for Regular clone returned: Unable to start clone session: other clones exist for failed save set RMAN:HOT_F_DB_name_1.rman ssid=2557547202
 162560:nsrclone: Unable to start clone session: other clones exist for failed save set RMAN:HOT_F_DB_name_1.rman ssid=2557547202
...
198620:nsrclone: Some of the clones failed
198620:nsrclone: Some of the clones failed
11/22/22 17:29:08.953903 alldone(): ENTER
...
         completion severity: 50;
           completion status: failed;
...
11/22/22 17:29:08.954582 nsrclone, alldone(): EXIT
  • Daemon.log 從 NetWorker 伺服器報告錯誤:
181147 11/22/2022 05:29:08 PM  ansrd NSR critical Unable to clone save sets for nsr_prd: other clones exist for failed save set RMAN:HOT_F_DB_name_1.rman ssid=2557547202
71193 11/22/2022 05:29:08 PM  nsrd NSR info Error Alert: Clone operation failed with error: 'Some of the clones failed'.
  • 可使用 Daemon.raw 從儲存節點報告錯誤:
198625 22/11/2022 5:29:04 PM  2 0 11 2180355872 29752 0 SN_name nsrmmd#43 NSR warning Reading volume 'VM040089' failed: 'Bad file descriptor' ^M
198625 22/11/2022 5:29:08 PM  2 0 11 2180355872 29752 0 SN_name nsrmmd#43 NSR warning Reading volume 'VM040089' failed: 'Bad file descriptor' ^M
  • 複製完成後,您可以看到 saveset 中指定如下:
root@server:/# mminfo -q ssid=2557547202 -r "clonetime(22),sscreate(22),volume,pool,totalsize(2),sumflags,clflags,name"
      clone time            ss created      volume         pool        total fl clflg name
11/22/2022 05:13:30 PM 11/13/2022 04:52:34 PM VC00500U     CLONE_DUMPS_5WKS 31 GB hb  RMAN:HOT_F_DB_name_1.rman  <= Clone is considered as VALID
11/22/2022 05:13:30 PM 11/13/2022 04:52:34 PM VC0250BO     CLONE_DUMPS_5WKS 31 GB tb  RMAN:HOT_F_DB_name_1.rman     <= Clone is considered as VALID
11/13/2022 04:52:34 PM 11/13/2022 04:52:34 PM VM040089     DUMPS_CIBOS_5WKS 31 GB cb s RMAN:HOT_F_DB_name_1.rman     <= saveset source has been newly set as suspect

Cause

NetWorker 錯誤地標記了複製 saveset 即使來源有效 saveset 已損毀,且複製作業失敗。此行為是由於克隆驗證邏輯中的缺陷造成的。

Resolution

以下 NetWorker 版本可解決此問題:

  • 19.9.0.5
  • 19.10.0.2
  • 19.11.x 以上的所有版本

升級至上述版本之一,以確保損毀 savesets 在克隆過程中被正確標記為無效。

Products

NetWorker Family
Article Properties
Article Number: 000379427
Article Type: Solution
Last Modified: 17 ديسمبر 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.