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.