How to fix hard disk space issue in VMs with Windows on CREODIAS

../_images/button_orange_cf24.png

While running VM with hard drive space bigger than 100 GB, users may experience situation, in which only some part of space is allocated to emulate disk.

User could fix it by running a small bat file from Console cmd.exe (Command Line runned with Elevated admin rights) or manually from graphic interface. Both metods are descibed below.

Fix disk size problem using command line

  1. Create new empty document in example in Notepad.exe

  2. Paste into it:

(echo Rescan
echo List Disk
echo Select Disk 0
echo List Partition
echo Select Partition 1
echo Extend
)  | diskpart
pause
  1. Save it as .bat or .cmd file

  2. Right click on newly created file and select Run As Administrator.

  3. New CMD window will be opened with final statement of the operation: Done or Failed.

  4. CMD window could be closed. If operation failed, please try second method below.

Fix disk size problem using Windows graphical interface

../_images/xmg_2.jpg

Choose Computer Management.

../_images/xmg_4.jpg

To increase space on existing volume, right-click C: drive and Extend Volume.

../_images/xmg_5.jpg

Select desired size and click Next, confirm whole operation by clicking Finish.

../_images/xmg_6.jpg

To make a new partition, right-click on the “Unallocated” box and choose New Simple Volume…

../_images/xmg_10.jpg

Accept selected options by clicking Next and Finish.

More manuals for Windows you can find here