Backup Windows 2008 R2 x64 "Shadow Copy Components" failed with error code 1 if the system booted from UEFI partition

Article:TECH168824  |  Created: 2011-09-05  |  Updated: 2012-01-06  |  Article URL http://www.symantec.com/docs/TECH168824
Article Type
Technical Solution


Problem



Backup Windows 2008 R2 x64 "Shadow Copy Components" or "System State" failed with error code 1 if the system booted from UEFI partition.

Detailed Status of job:

8/26/2011 2:40:28 PM - begin writing

8/26/2011 2:44:16 PM - Error bpbrm(pid=5444) from client win-client1: ERR - Error encountered while attempting to get additional files for System State:\

8/26/2011 3:02:40 PM - Info bptm(pid=5948) waited for full buffer 34590 times, delayed 84113 times   

8/26/2011 3:02:40 PM - Info bpbrm(pid=5444) validating image for client win-client1       

8/26/2011 3:02:43 PM - end writing; write time: 00:22:15

the requested operation was partially successful(1)

The job was successfully completed, but some files may have been busy or unaccessible. See the problems report or the client's logs for more details.

 

Bpbkar log:

2:44:12.640 PM: [3136.3708] <2> ov_log::V_GlobalLog: INF - Generating Component: BCD file list:

2:44:12.640 PM: [3136.3708] <2> ov_log::V_GlobalLog: INF - Status 0x00000003 returned calling FindFirstFile for \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy97eBootDrive%\bootmgr in brUtil::GenerateFileList

2:44:12.640 PM: [3136.3708] <2> ov_log::V_GlobalLog: INF - Informational: Component:BCD no files are present to protect.

2:44:12.640 PM: [3136.3708] <2> ov_log::V_GlobalLog: INF - Component Set BCD has 1 files missing on the snapshot

2:44:12.640 PM: [3136.3708] <2> ov_log::V_GlobalLog: INF - brUtil:: 0x00000001 Could not get the next object to read. Probably end of list.

2:44:12.640 PM: [3136.3708] <2> ov_log::V_GlobalLog: INF -   AD:Status E_SNAPSHOT_ALL_COMPONENT_FILES_MISSING_ON_SNAPSHOT (0xE0009421) calling FS_OpenObj in SystemState::OpenObj:169

2:44:12.640 PM: [3136.3708] <2> ov_log::V_GlobalLogEx: INF - beds_ss_access::V_OpenForRead(): FS_ACCESS_DENIED returned from BEDS for object 'System State:\Automated System Recovery\BCD\BCD'

2:44:12.640 PM: [3136.3708] <4> dos_backup::tfs_readopen: INF - file System State:\Automated System Recovery\BCD\BCD skipped

2:44:12.640 PM: [3136.3708] <2> ov_log::V_GlobalLog: INF -  v_beds::V_FindNext() EXIT Name: bRC:false LastError:0xFFFFFE07:0xa000fe07 (2684419591)

 

2:44:12.640 PM: [3136.3708] <4> tar_base::V_vTarMsgW: INF - tar message received from dos_backup::tfs_scan_up()

2:44:12.640 PM: [3136.3708] <2> tar_base::V_vTarMsgW: ERR - Error encountered while attempting to get additional files for System State:\

2:44:12.640 PM: [3136.3708] <2> dtcp_write: TCP - success: send socket (452), 84 of 84 bytes

2:44:12.640 PM: [3136.3708] <2> ov_log::V_GlobalLog: INF -  v_beds::V_FindNext() EXIT Name: bRC:false LastError:0xFFFFFE07:0xa000fe07 (2684419591)

... 


Error



ERR - Error encountered while attempting to get additional files for System State:\

Status 0x00000003 returned calling FindFirstFile for \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy97eBootDrive%\bootmgr in brUtil::GenerateFileList

Component Set BCD has 1 files missing on the snapshot

Status E_SNAPSHOT_ALL_COMPONENT_FILES_MISSING_ON_SNAPSHOT (0xE0009421) calling FS_OpenObj in SystemState::OpenObj:169

bRC:false LastError:0xFFFFFE07:0xa000fe07 (2684419591)

 


Environment



NetBackup 7.1.0.1, Windows 2008 R2 x64

 


Cause



This is caused by the system booted from uEFI partition, to confirm whether the OS uses uEFI, we can use "bcdedit /v" command, a sample of output of this command indicates that the OS booted from uEFI:

c:\>bcdedit /v

Windows Boot Manager
--------------------
identifier              {9dea862c-5cdd-4e70-acc1-f32b344d4795}
device                  partition=\Device\HarddiskVolume1
path                    \EFI\Microsoft\Boot\bootmgfw.efi
description             Windows Boot Manager
locale                  en-US
inherit                 {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
default                 {2d5a668f-b30d-11e0-b562-e69d3babffea}
resumeobject            {2d5a668e-b30d-11e0-b562-e69d3babffea}
displayorder            {2d5a668f-b30d-11e0-b562-e69d3babffea}
toolsdisplayorder       {b2721d73-1db4-4c62-bf78-c548a880142d}
timeout                 30

Windows Boot Loader
-------------------
identifier              {2d5a668f-b30d-11e0-b562-e69d3babffea}
device                  partition=C:
path                    \Windows\system32\winload.efi
description             Windows Server 2008 R2
locale                  en-US
inherit                 {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}
recoverysequence        {2d5a6690-b30d-11e0-b562-e69d3babffea}
recoveryenabled         Yes
osdevice                partition=C:
systemroot              \Windows
resumeobject            {2d5a668e-b30d-11e0-b562-e69d3babffea}
nx                      OptOut


Solution



In fact, NetBackup 7.1.0.1 has resolved this backup issue, but to make sure the patch working, we should run the following command after applied it:

        <install-path>\netbackup\bin\w2koption -backup -efi_boot_enabled 1

 

Please refer the description about it from the NB_7101_Release_Notes document:

http://www.symantec.com/docs/DOC3941

In newer Windows 2008 servers, hardware vendors have made use of uEFI
partitions. This change caused System State Backups to end with a status 1
error in NetBackup.
To resolve this issue, a new switch was added to the following w2koption
command:
w2koption -backup -efi_boot_enabled 1
This enabled NetBackup to successfully backup a uEFI partition.




Article URL http://www.symantec.com/docs/TECH168824


Terms of use for this information are found in Legal Notices