Avamar:EFIMicrosoftBootBCD 的 VSS 備份失敗,並顯示錯誤 32,原因是檔案存取問題

Summary: 使用基於 Avamar VSS 附掛程式版本的修正,解決 Avamar Volume Shadow Copy Service (VSS) 備份失敗的 EFI 分割區和錯誤代碼 32。

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

已觀察到以下症狀:

  • Avamar Windows VSS 備份完成,但發生例外情況:
[avtar] direlem error:init_ntfs_hardlink: Open file for hardlink information failed 
"\\?\GLOBALROOT\Device\HarddiskVolume1\EFI\Microsoft\Boot\BCD", LastError=32 
(code 32: The process cannot access the file because it is being used by another process)

  • avtar 程序會出現此錯誤:
avtar Error <5139>: File access share error "\\?\GLOBALROOT\Device\HarddiskVolume1\EFI\Microsoft\Boot\BCD" 
(code 32: The process cannot access the file because it is being used by another process).

  • 將以下旗標新增至avtar.cmd檔案應可解決此問題:
--x31=268435456
  • 在某些情況下,問題仍然存在,並顯示新的錯誤:
2024-11-04 21:15:17 avtar Info <5008>: Logging to C:\Program Files\avs\var\TXT_Daily_2030_8hrs-Test_Plantsec02-1730773800009#2-3015-VSS.log
2024-11-04 21:15:17 avtar Info <5174>: - Reading C:\Program Files\avs\var\avtar.cmd
2024/11/05-03:15:17.86100 [avtar]  uflags::parsefile  Printing flags from C:\Program Files\avs\var\avtar.cmd:
.cmd flag [1]: --x31=268435456
.cmd flag [2]: --debug=true

                              xxxxxxxxxxx

  <targetlist>
    <path name="\\?\GLOBALROOT\Device\HarddiskVolume1\EFI\Microsoft\Boot\" />
  </targetlist>

               xxxxxxxxxxxxxxxxxxx

2024/11/05-03:15:28.74600 [avtar]  CBackupBCDUtility::exportTmpBCD out (The operation completed successfully.) return (0) bRet (1)
2024/11/05-03:15:28.74600 [avtar]  CBackupBCDUtility::convert2TempBCDPath pathOld(\\?\GLOBALROOT\Device\HarddiskVolume1\EFI\Microsoft\Boot\BCD) pathNew(C:\Temp\av_bcd_tmp-20241104_211528\BCD)
2024/11/05-03:15:28.74600 [avtar]  filestream::fileopen openBCD convert2new path(\\?\GLOBALROOT\Device\HarddiskVolume1\EFI\Microsoft\Boot\BCD) pathNew(C:\Temp\av_bcd_tmp-20241104_211528\BCD)
2024-11-04 21:15:28 avtar Error <16507>: Path "\\?\GLOBALROOT\Device\HarddiskVolume1\EFI\Microsoft\Boot\BCD": Total processed bytes 24576 is inconsistent with original data size 28672
2024/11/05-03:15:28.85700 [avtar]  ucontainer::base::check_set subsequent error 80 - padded a file with zeros because we were unable to read all data from endfile not being set because we already have this error 0 - success
2024/11/05-03:15:28.85700 [avtar]  upath::parentdir() discarding non-entry element 'HarddiskVolume1'
2024/11/05-03:15:28.85700 [avtar]  upath::parentdir() discarding non-entry element 'Device'
2024/11/05-03:15:28.85700 [avtar]  upath::parentdir() discarding non-entry element 'GLOBALROOT'
2024/11/05-03:15:28.85700 [avtar]  CBackupBCDUtility::isBCDBackupIssue path(\\?\globalroot\device\harddiskvolume1\efi\microsoft\boot\bcd.log) : exit code 32 bRet 1
2024/11/05-03:15:28.85700 [avtar]  CBackupBCDUtility::convert2TempBCDPath pathOld(\\?\GLOBALROOT\Device\HarddiskVolume1\EFI\Microsoft\Boot\BCD.LOG) pathNew(C:\Temp\av_bcd_tmp-20241104_211528\BCD.LOG)
2024/11/05-03:15:28.85700 [avtar]  filestream::fileopen openBCD convert2new path(\\?\GLOBALROOT\Device\HarddiskVolume1\EFI\Microsoft\Boot\BCD.LOG) pathNew(C:\Temp\av_bcd_tmp-20241104_211528\BCD.LOG)
  • 此行為會導致備份完成時發生錯誤,而這些錯誤會在之後導致執行裸機復原 (BMR) 的任何嘗試失敗。
  • 受影響的環境:所有版本的 Avamar VSS 附掛程式,以及設定 EFI 分割區的 Windows 2012 及更新版本。

Cause

此問題已識別為已設定Microsoft Windows 2012 伺服器及更新版本設定 EFI 分割區時發生的軟體問題。

警示:無法從備份中排除記錄中引用的開機組態資料 (BCD) 目錄,因為它需要在 BMR 復原後開機進入 Windows。

如需更多詳細資料,請檢查:

https://learn.microsoft.com/en-us/windows/win32/vss/using-vss-automated-system-recovery-for-disaster-recovery?redirectedfrom=MSDN(外部連結)

Resolution

如果在 Avamar Windows VSS 附掛程式備份「EFI\Microsoft\Boot\BCD」時遇到代碼 32 錯誤。
請務必將旗標「--x31=268435456」新增至avtar.cmd檔案,並根據用戶端附掛程式版本套用修補程式 (HF)。

  • v19.9-100-78 => HF 338870 
  • v19.10-100-135 => 無可用的 HF,請升級至組建 166 並套用對應的 HF
  • v19.10-100-166 (SP1) => 高頻338885
  • v19.12-100-186 => 高頻338884

若要從 Dell 支援端下載 Hotfix,請參閱 Avamar 中所述的步驟:如何從 Dell 支援網站尋找和下載產品 hotfix、修補程式、安裝或升級套裝

若要套用 Hotfix,請依照 Dell 支援使用的讀我檔案提供的指示操作,或參閱 Dell 知識文章,以取得特定的 Hotfix。

套用修補程式後,請重新開機 Avamar Windows VSS 附掛程式服務,並再次嘗試備份「EFI\Microsoft\Boot\BCD」目錄。

檢查 Avamar 記錄中與「EFI\Microsoft\Boot\BCD」目錄相關的任何錯誤,以確認問題是否已解決。

警示:如果在套用 hotfix 後問題仍然存在,請聯絡 Dell 支援以取得進一步協助。

Affected Products

Avamar Client for Windows

Products

Avamar, Avamar Server, Avamar Virtual Edition
Article Properties
Article Number: 000063956
Article Type: Solution
Last Modified: 06 Aug 2025
Version:  13
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.