Computer/VMware

VMware - The specified virtual disk needs repair

까망늑대 2025. 7. 14. 17:19
반응형

사용중인 Virtual disk의 공간이 남아 있음에도 공간이 부족하다는 메세지가 나오고 Retry 버튼과 Cancel 버튼이 나옵니다.

Retry 버튼을 눌러도 해결되지 않고 동일한 팝업이 나오게 되고, Cancel 버튼을 누르게 되면 Virtual Disk가 강제로 종료 됩니다.

 

공간 부족을 해결하기 위해 Virtual Disk 재 실행 후 필요없는 파일 삭제하여 50GB 중 12GB의 여유 공간을 마련했음에도 어느 정도의 시간이 흐르고 동일한 현상이 발생합니다.

 

그래서 Virtual Machine을 실행하지 않고 Virtual Machine Setting으로 이동하여 Disk 용량을 증가 시켜 보았습니다.

 

 

위의 그림 처럼 50GB를 60GB로 변경하고 Expand를 클릭하니 제목과 같이

 

The specified virtual disk needs repair

 

라는 문구의 팝업 창이 뜨게 됩니다.

 

문구 그대로 Virtual Disk에 문제가 있으니 수리(?) 해보라는 이야기 입니다.

 

자 이제 고장난 Virtual Disk를 수리해야 합니다.

 

Sloution.


Windows Host

To repair a virtual disk of a Workstation virtual machine in a Windows host,
use the vmware-vdiskmanager utility that is installed by the Workstation installer in the installation folder on a Windows host.
(Windows 호스트에서 Workstation 가상 머신의 가상 디스크를 복구하려면
Workstation 설치 관리자가 Windows 호스트의 설치 폴더에 설치하는 vmware-vdiskmanager 유틸리티를 사용하세요.)

 

To use the virtual disk repair utility on a Windows host:
(Windows 호스트에서 가상 디스크 복구 유틸리티를 사용하기 위해)

1. Open a command prompt. 명령 프롬프트를 실행합니다. 

2. Navigate to the directory where Workstation is installed. By default, this directory is located at:

(Workstation이 설치된 디렉터리로 이동하세요. 기본적으로 이 디렉터리는 다음 위치에 있습니다.)
  Windows XP – C:\Program Files\VMware\VMware Workstation
  Windows Vista/Windows 7/Windows 8 32bit – C:\Program Files\VMware\VMware Workstation
  Windows Vista/Windows 7/Windows 8 64bit – C:\Program Files (x86)\VMware\VMware Workstation
  Windows Server 2008 R2 – C:\Program Files (x86)\VMware\VMware Workstation
  Windows Vista/Windows 7/Windows 8 64bit/Windows 10 – C:\Program Files (x86)\VMware\VMware Workstation

3. Run the command:

(다음 명령을 실행하세요.)


vmware-vdiskmanager -R "<path of the vmdk(virtual disk>"

Note: Where < path of the vmdk(virtual disk> is the complete path to the virtual disk that requires repair as reported in the error.

(참고: 여기서 <vmdk(가상 디스크) 경로>는 오류에 보고된 복구가 필요한 가상 디스크의 전체 경로입니다.)

Example: vmware-vdiskmanager -R "D:\Virtual Machine\Windows 7\virtualdisk.vmdk"

적색 사각형 부분이 Repair 해야할 Virtual Disk 경로 입니다.

 

위의 내용을 실행하면 정상적으로 Repair 되었다는 메세지가 나옵니다.

 

그리고 Virtual Machine Setting으로 이동하여 Disk 용량을 증가시키면 정상 증가 됨을 확인 할 수 있습니다.

 

Virtual Disk 자체에 문제가 있던 것이 원인 이었는지 용량이 부족하다는 문제는 해결 되었습니다.

 

Linux Host

To repair a virtual disk of a Workstation virtual machine in a Linux host, use the vmware-vdiskmanager utility that is installed by the Workstation installer in the /usr/bin folder on a Linux host.
 
To use the virtual disk repair utility on a Linux host:
  1. Open a terminal window in the Linux host.
  2. Run this command:

    /usr/bin/vmware-vdiskmanager -R <path of the vmdk(virtual disk)>

    Note: Where <path of the vmdk(virtual disk)> is the folder path to the virtual disk that appeared in the error.

출처 : https://knowledge.broadcom.com/external/article/329347/repairing-a-virtual-disk-in-workstation.html

반응형