NetWorker:啟用 DD 保留鎖定時,nsrclone 無法複製先前無法透過指令檔自動複製的儲存集

Resumen: 啟用 DD 保留鎖定時,nsrclone 無法複製先前無法使用指令檔自動複製的儲存集。

Este artículo se aplica a: Este artículo no se aplica a: Este artículo no está vinculado a ningún producto específico. En este artículo no se identifican todas las versiones de los productos.

Síntomas

  • 部分儲存集先前無法使用腳本或自動複製。
  • 「ghost」儲存集可能會顯示,沒有具有 mminfo 的磁片區名稱 (請參閱下方)。
  • 檢查目的地檔案系統顯示的儲存集檔案,但不是「備註」檔案。
  • saveset 的掃描器命令失敗 (請參閱下方)。
  • 進一步嘗試複製儲存集失敗,並顯示錯誤:犯 錯:5004-nfs 查閱失敗 (nfs:沒有此類檔案或目錄)
mminfo CLI 輸出顯示具有「E」旗標的複製儲存集失敗:
# mminfo -q ssid=928093938 -r ssid,cloneid,ssretent,clretent,ssflags,clflags,copies
ssid         clone id retent  clretent ssflags clflg copies
928093938   1532073714 08/24/2018 08/20/2018 vrF         2
928093938   1532252170 08/24/2018 08/24/2018 vrF   E     <--- This is the incomplete clone.

但是,一旦我們新增「磁片區」交換器,只會報告 1 行:
# mminfo -q ssid=928093938 -r ssid,cloneid,ssretent,clretent,ssflags,clflags,copies,volume
ssid         clone id retent  clretent ssflags clflg copies volume
928093938   1532073714 08/24/2018 08/20/2018 vrF         2 source-volume-name
                                                         ^ ---2 copies yet only 1 shows in the output.

掃描器 CLI 輸出:
8909:scanner: using 'DD-name_destination-device-path' as the device name
8936:scanner: scanning Data Domain disk destination-volume-name on DD-name_destination-device-path
8939:scanner: Data Domain disk destination-volume-name already exists in the media index
107505:scanner: Opening the file '/nw-server-name/destination-device-path/08/04/notes/705d0dc6-00000004-5982f3fd-599ed855-190c442c-4c9896fd' failed [5004] ([57525] [140043448723232] Wed Aug  1 13:18:50 2018
        ddp_open_file() failed for File: //nw-server-name/destination-device-path/08/04/notes/705d0dc6-00000004-5982f3fd-599ed855-190c442c-4c9896fd, Err: 5004-nfs lookup failed (nfs: No such file or directory)
).
107505:scanner: Opening the file '/nw-server-name/destination-device-path/08/04/notes/705d0dc6-00000004-5982f3fd-599ed855-190c442c-4c9896fd' failed [5004] ([57525] [140043448723232] Wed Aug  1 13:18:50 2018
        ddp_open_file() failed for File: //nw-server-name/destination-device-path/08/04/notes/705d0dc6-00000004-5982f3fd-599ed855-190c442c-4c9896fd, Err: 5004-nfs lookup failed (nfs: No such file or directory)
).
8761:scanner: done with Data Domain disk destination-volume-name
nsrclone CLI 輸出: 
80470:nsrclone: Following volumes are needed for cloning
80471:nsrclone:         source-volume-name (DD)
100303:nsrclone: Cloning savesets from storage node 'nw-server-name'
142165:nsrclone: Number of clone threads per client is set to 256. Max number of savesets per thread is set to 0. Max client threads is set to 0.
104860:nsrclone: Concurrent proxy clone started for service type DD.
Cloning save sets from the volume source-volume-name
Total client count in a volume source-volume-name is 1
77426:nsrclone: Cloning save sets from the volume source-volume-name
104861:nsrclone: Total client count in a volume source-volume-name is 1
104864:nsrclone: Number of clone threads per client set to 1. Max number of savesets per thread is set to 0. Max client threads is set to 30 for volume source-volume-name
174908:nsrclone: Saving the backup data in the pool 'destination-pool'.
175019:nsrclone: Received the media management binding information on the host 'nw-server-name'.
174910:nsrclone: Connected to the nsrmmd process on the host 'nw-server-name'.
32379:nsrclone: Cloning save set index:705d0dc6-00000004-5982f3fd-599ed855-190c442c-4c9896fd (ssid/cloneid 928093938/1532073714)
75360:nsrclone: Cloning of size 1 KB is in progress...
72985:nsrclone: Source volume 'source-volume-name' ready for cloning
75675:nsrclone: Failed to initiate the save nsrmmd to create a clone instance.
Direct File Save failed for /nw-server-name/destination-device-path/active/df304e8e-00000006-375196f2-5b5196f2-23ce16ac-34ae8c2d on volume destination-volume-name
75267:nsrclone: Failed to initiate mmd session for ssid 928093938.
75712:nsrclone: Cloning failed for save set : index:705d0dc6-00000004-5982f3fd-599ed855-190c442c-4c9896fd (ssid 928093938)
77276:nsrclone: Total size cloned so far: 0 KB.

141764:nsrclone: Unable to perform clone of client saveset. Error: proxy_clone_rs failed.

104863:nsrclone: Concurrent proxy clone completed for sevice type DD.
67790:nsrclone: Total size cloned: 0 KB.
77275:nsrclone: DD cloning failed
Proxy clone failed to clone all or few savesetsSome of the clones failed
Some of the clones failed

Causa

DD 已啟用保留鎖定。這可防止移除不完整的原始儲存集,並防止下次複製嘗試在目的地路徑中覆寫資料。

Resolución

因應措施:

在上面的掃描器嘗試中,在目的地找到儲存集的路徑:
//nw-server-name/destination-device-path/08/04/notes/705d0dc6-00000004-5982f3fd-599ed855-190c442c-4c9896fd

我們需要儲存集本身的路徑,其會比「備註」高出一層,例如:
//nw-server-name/destination-device-path/08/04/

然後新增 DD mtree 路徑,該路徑一律會啟動 /data/col1/mtree 名稱。DD CLI 上的「mtree list」會顯示已設定的 Mtree。Mtree 名稱通常與主機 NetWorker 伺服器名稱相符。接著將長儲存集名稱新增至結尾。
因此在此範例中,完整路徑會變成:
/data/col1/nw-server-name/destination-device-path/08/04//705d0dc6-00000004-5982f3fd-599ed855-190c442c-4c9896fd

我們必須使用此路徑停用目的地 Data Domain 系統上的保留鎖定:
  • 在目的地 DD CLI 上執行:mtree 保留鎖定還原 [path] (路徑從上方)。這 會要求 sysadmin 密碼。
  • 再次複製儲存集 - 現在應該不會發生錯誤,因為它現在可以寫入目的地路徑。
  • 複製的儲存集的 mminfo 查詢現在應該可以正常運作。
  • 對任何其他受影響的儲存集重複上述步驟。

Productos afectados

NetWorker

Productos

NetWorker
Propiedades del artículo
Número de artículo: 000052916
Tipo de artículo: Solution
Última modificación: 27 sept 2023
Versión:  3
Encuentra las respuestas que necesitas con la ayuda de otros usuarios de Dell
Servicios de asistencia
Comprueba si tu dispositivo está cubierto por los servicios de asistencia.