윈도우 서버 백업으로 인해 Hyper-V VM들의 상태가 모두 "Backing up..." 상태로 오래 지속되는 문제
얼마 전부터, 그동안 잘 되던 컴퓨터에서 백업이 끝나지 않는 문제가 발생했습니다. 한 가지 특징이라면 Hyper-V 관리자에서 모든 VM들의 상태가 "Backing up..."으로 나오며 한참을 그렇게 지속된다는 것입니다.
이벤트 뷰어의 "System" 뷰에는 아무런 오류가 없습니다. 하지만, "Applications and Services Logs" / "Microsoft" / "Windows" / "Backup" 쪽에 가보니 다음과 같이 영양가 있는 로그를 발견할 수 있었습니다. ^^
Log Name: Microsoft-Windows-Backup
Source: Microsoft-Windows-Backup
Date: 2013-11-16 오전 11:00:08
Event ID: 51
Task Category: None
Level: Warning
Keywords:
User: SYSTEM
Computer: testpc.testad.com
Description:
The backup storage location is running low on free space. Future backup operations that store backups on this location may fail because of not enough space.
Log Name: Microsoft-Windows-Backup
Source: Microsoft-Windows-Backup
Date: 2013-11-16 오전 11:00:08
Event ID: 9
Task Category: None
Level: Error
Keywords:
User: SYSTEM
Computer: testpc.testad.com
Description:
The backup operation that started at '?2013?-?11?-?16T01:00:07.899000000Z' has failed because the Volume Shadow Copy Service operation to create a shadow copy of the volumes being backed up failed with following error code '0x80780021'. Please review the event details for a solution, and then rerun the backup operation once the issue is resolved.
경고에 보면 "backup storage location"이라고 되어 있는데 이것이 좀 애매합니다. 백업될 대상 디스크는 공간이 좀 많았던 반면 백업이 될 VM들의 VHD 파일이 위치한 Hyper-V 호스트 컴퓨터 측의 디스크 공간이 빨간색으로 표시될 정도로 디스크 공간이 없었기 때문입니다.
그래서, 안 쓰는 VM들 몇 개 정리해서 Hyper-V 측의 디스크 공간을 마련했더니 이 문제가 정상적으로 해결되었습니다.
아마도, Volume shadow copy를 위해 디스크 공간이 요구되는데 호스트 측에 디스크 공간이 모자라서 상대적으로 나눠서 백업하느라고 시간이 늘어난 것이 아닌가 생각됩니다. (추측일 뿐!)
어쨌든, 디스크 공간 확보하고 다시 백업을 했을 때는 이런 문제가 발생하지 않고 있습니다.
[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]