NetWorker:在自訂提供的 0 位元組 Writerlist.txt 檔案後,出現錯誤「無法取得 WINDOWS 角色與功能的寫入者清單」

Summary: 自定義提供的 0 位元組長度writerlist.txt檔使編寫器驗證步驟在準備卷快照服務 (VSS) 備份時失敗。

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

使用者在叢集中的一個節點上遇到 VSS 備份錯誤。雖然其他節點始終成功,但有問題的資源失敗,並顯示以下錯誤消息:
11/16/17 17:42:37.343548 WINDOWS ROLES AND FEATURES: sow_init_save_sysset_walker () called 11/16/17 17:42:37.343548 WINDOWS ROLES AND FEATURES: sow_save: Failed to get writers list for WINDOWS ROLES AND FEATURES: WINDOWS ROLES AND FEATURES: ERROR: Failed to get writers list for WINDOWS ROLES AND FEATURES: 95088:save: Cannot back up the volume save set because the initialization of VSS did not succeed.
這表示無法正確識別 VSS 編寫器的情況,從而阻止 VSS 操作完成。

使用排程的備份原則和執行 save 命令。

Cause

執行 save 兩個節點主機上的命令必不可少,才能重現錯誤,並排比較產生的記錄:
C:\Program Files\EMC NetWorker\nsr\bin>save -D9 -s myserver -b Datadomain -o "VSS:NSR_SYS_WRITER_WIN32_SERVCOMP_USER=yes" C:\Lgto\nmsap91_win_x64\win_x64\networkr\file_to_backup
兩個記錄會同步,直到觸發下列方法:
PopulateSupportedWriterList() Enter
在此之後,兩個節點都會顯示:
CVssSysReqBackup::Init(): Successfully updated writer list.
然後,兩個節點都使用以下方法啟動編寫器驗證步驟:
IsWriterSupported()
這就是差異的開始:
  • 節點一:
IsWriterSupported() Enter.
04/10/18 11:22:57.671021 VSS Writer {d61d61c8-d73a-4eee-8cdd-f6f9786b7xxx} is supported
04/10/18 11:22:57.671021 IsWriterSupported() Exit
[for each writer]
  • 節點二:
IsWriterSupported() Enter.
04/10/18 11:14:17.601823 VSS Writer {d61d61c8-d73a-4eee-8cdd-f6f9786b7xxx} is not supported
04/10/18 11:14:17.601823 IsWriterSupported() Exit
[for each writer]
最後,在節點二中收到以下內容:
95088:save: Cannot back up the volume save set because the initialization of VSS did not succeed
在 NODE ONE 中,調試日誌顯示,在執行方法期間, 使用了預設支援的系統編寫器清單
 PopulateSupportedWriterList() 
04/10/18 11:22:56.702238 PopulateSupportedWriterList() Enter./n04/10/18 11:22:56.702238 lgwstat: Failed to open file/directory: \\?\C:\Program Files\EMC NetWorker\nsr\bin\writerlist.txt
04/10/18 11:22:56.702238 PopulateDefaultSupportedWriterList() Enter.
04/10/18 11:22:56.702238 PopulateDefaultSupportedWriterList() Exit
但是在節點二中,似乎完成並使用了以下內容
PopulateUserSupportedWriterList() 
而不是:
PopulateDefaultSupportedWriterList().
04/10/18 11:14:16.664317 PopulateSupportedWriterList() Enter.
04/10/18 11:14:16.664317 PopulateUserSupportedWriterList() Enter.
04/10/18 11:14:16.664317 PopulateUserSupportedWriterList() Exit
在檢查用戶端檔案系統節點二時,我們發現 有一個使用者提供的寫入器清單,這是一個 0 位元組的檔案:
C:\Program Files\EMC NetWorker\nsr\bin>dir writerlist.txt
Volume in drive C has no label.
Volume Serial Number is 5F41-F8xx
Directory of C:\Program Files\EMC NetWorker\nsr\bin
11/10/2017  10:01 AM                 0 writerlist.txt
1 File(s)              0 bytes
0 Dir(s)  33,237,905,408 bytes free
這用於在方法執行期間填充編寫器清單:
 PopulateUserSupportedWriterList()
作為一個不包含任何內容的 0 位元組檔,
PopulateUserSupportedWriterList() 
無法為編寫器創建一致的數據結構,然後設置為不受支援。

Resolution

必須從 NODE TWO 檔案系統移除 0 位元組檔案。
C:\Program Files\EMC NetWorker\nsr\bin\writerlist.txt
使用下列項目時:
PopulateDefaultSupportedWriterList()
允許完成 save 手術。

卸除完成後:
  • 節點二:
PopulateSupportedWriterList() Enter./n04/11/18 14:31:10.389231 lgwstat: Failed to open file/directory: \\?\C:\Program Files\EMC NetWorker\nsr\bin\writerlist.txt04/11/18 14:31:10.389231 PopulateDefaultSupportedWriterList() Enter.
04/11/18 14:31:10.389231 PopulateDefaultSupportedWriterList() Exit.
04/11/18 14:31:10.389231 PopulateSupportedWriterList() Exit.

就像我們在節點一上看到的那樣。現在可使用節點二進行 VSS 備份。

Affected Products

NetWorker Family, NetWorker, NetWorker Series
Article Properties
Article Number: 000056703
Article Type: Solution
Last Modified: 29 Jul 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.