NVP vProxy: Windows VM에서 FLR 실패 "파일 이름, 디렉토리 이름 또는 볼륨 레이블 구문이 잘못되었습니다."
Summary: Windows VM(Virtual Machine)의 NVP(NetWorker VMware Protection) FLR(File Level Restore)이 실패합니다. 반환되는 오류는 "일부 개체 또는 보안 속성을 복구할 수 없습니다"입니다.
Symptoms
NVP(NetWorker VMware Protection) vProxy FLR(File Level Restore)은 Windows VM(Virtual Machine)에서 수행됩니다.
FLR 작업이 실패하고 일반 오류 "Some objects or security properties could not be recovered"가 보고됩니다.
전체 복구 로그에는 일부 파일 경로에 대한 다음 오류가 자세히 나와 있습니다. "파일 이름, 디렉토리 이름 또는 볼륨 레이블 구문이 잘못되었습니다."
152791:nsrvproxy_flr_recover: vProxy Log Begins =============================================== 159373:nsrvproxy_flr_recover: vProxy Log: 2020-03-05T21:11:58Z NOTICE: [89] Logging to '/opt/emc/vproxy/runtime/logs/vflrd/recover-xxxxxxxxxxxxxxxxxxxxxxxxx.log' on host xxxx'. 159373:nsrvproxy_flr_recover: vProxy Log: 2020-03-05T21:11:58Z NOTICE: [89] Release: '4.0.0-11_1', Build number: '1', Build date: '2019-09-06T12:54:06Z' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 159373:nsrvproxy_flr_recover: vProxy Log: 2020-03-05T15:11:59-06:00 ERROR: [89] Discovery: Cannot get security data for 'C:\Program Files (x86)\EMC\vProxy FLR Agent\flr\mountpoints\FLRXXXXXXXXX\00-E$\SOME_LONG_PATH\FILE_NAME': The filename, directory name, or volume label syntax is incorrect. 159373:nsrvproxy_flr_recover: vProxy Log: 2020-03-05T15:11:59-06:00 WARN: [89] Discovery: Cannot get attributes for 'C:\Program Files (x86)\EMC\vProxy FLR Agent\flr\mountpoints\FLRXXXXXXXXX\00-E$\SOME_LONG_PATH\FILE_NAME': Cannot get security data for 'C:\Program Files (x86)\EMC\vProxy FLR Agent\flr\mountpoints\FLRXXXXXXXXX\00-E$\SOME_LONG_PATH 159373:nsrvproxy_flr_recover: vProxy Log: SOME_LONG_PATH\FILE_NAME': The filename, directory name, or volume label syntax is incorrect. 159373:nsrvproxy_flr_recover: vProxy Log: 2020-03-05T15:11:59-06:00 INFO: [89] Recovery: XXXX - FILE_NAME 159373:nsrvproxy_flr_recover: vProxy Log: 2020-03-05T15:11:59-06:00 ERROR: [89] Recovery: Cannot create handle for 'C:\Program Files (x86)\EMC\vProxy FLR Agent\flr\mountpoints\FLRXXXXXXXXX\00-E$\SOME_LONG_PATH\FILE_NAME': The system cannot find the path specified. 159373:nsrvproxy_flr_recover: vProxy Log: 2020-03-05T15:11:59-06:00 INFO: [89] File copying completed. 159373:nsrvproxy_flr_recover: vProxy Log: 2020-03-05T15:11:59-06:00 ERROR: [89] C:\Program Files (x86)\EMC\vProxy FLR Agent\bin\vflrcopy.exe: Some objects or security properties could not be recovered. 159373:nsrvproxy_flr_recover: vProxy Log: 2020-03-05T15:11:59-06:00 TRACE: [89] C:\Program Files (x86)\EMC\vProxy FLR Agent\bin\vflrcopy.exe exiting with status code 0 152793:nsrvproxy_flr_recover: vProxy Log Ends ================================================= 163541:nsrvproxy_flr_recover: FLR recovery failed: error code: 0, error message: Some objects or security properties could not be recovered. 162216:nsrvproxy_flr_recover: FLR recover job completed with errors. 164970:nsrvproxy_flr_recover: Requested termination of the FLR mount session 3098161.
FLR 로그는 다음 위치에서 찾을 수 있습니다.
- vProxy: /opt/emc/vproxy/runtime/logs/recycle/vflrd/DATE
- Windows VM: C:\Program Files (x86)\EMC\vProxy FLR Agent\logs\vflragentd\vflragentd-agent.log
Cause
Windows API(특히 Win32)는 파일 경로를 260자(MAX_PATH)로 제한합니다. 이 오류를 보고하는 파일 경로가 260자를 초과합니다. 이 제한에는 드라이브 문자, 콜론, 백슬래시, 폴더 이름, 파일 이름 및 파일 확장명이 포함됩니다.
Resolution
Windows 10 버전 1607, Server 2016 이상부터 운영 체제에서 긴 경로 지원을 사용하도록 설정할 수 있습니다.
이 작업은 대상 Windows VM에서 그룹 정책 또는 레지스트리 변경을 사용하여 수행할 수 있습니다.
로컬로 이동 Group Policy Editor → Computer Configuration → Administrative Templates → System → Filesystem에 관한 자세한 내용을 참조하십시오. "Enable Win32 long paths"를 활성화합니다.

또는 다음과 같이 레지스트리 키를 설정합니다.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem] "LongPathsEnabled"=dword:00000001
Additional Information
Windows 중복 제거 기능이 활성화된 경우에도 유사한 오류가 나타날 수 있습니다. NVP vProxy: "일부 개체 또는 보안 속성을 복구할 수 없습니다."라는 메시지와 함께 일부 파일에 대한 Windows VM 파일 수준 복구가 실패합니다.