0

https://i.sstatic.net/wZJjJ.jpg

disk management screenshots

My Windows Server 2012 is missing disk space. I'm completely lost here, have no clue where the other 20 GBs have gone.

Could anyone assist me?

8
  • I would suggest that you open diskmgmt.msc via the Run... command to get a better indication of what the actual allocation is.
    – James P
    Commented Jan 28, 2015 at 10:17
  • In diskmgmt.msc I get the same information. i.imgur.com/Vagt6t9.jpg
    – Classicus
    Commented Jan 28, 2015 at 16:42
  • Is it running as a virtual machine?
    – James P
    Commented Jan 28, 2015 at 16:47
  • Yes, It is a Virtual Private Server.
    – Classicus
    Commented Jan 28, 2015 at 16:51
  • I think that the disk may be set as dynamically expanding which means it hasn't allocated the 40GB on the host yet. You can test copying some files to see if the useable capacity really is 40GB. Certainly this is the way it works with dynamically allocated RAM if using Windows Server Hypervisor to host the VM's and it makes it very confusing to track resources in the guest OS.
    – James P
    Commented Jan 28, 2015 at 16:53

1 Answer 1

0

Firstly I would check that the file system isn't corrupt as you could run into all sorts of issues. Please try using chkdsk (Windows built in disk checking tool) to check:

  • Open a command prompt as administrator
  • Type chkdsk C: /F and press Enter
  • It may well inform you that it cannot lock the volume and requires a scheduled check at boot time, in which case enter Y and press Enter. You'll need the server/VM to be rebooted for the check to go ahead and obviously there will be some down-time.

If this doesn't work you could try the procedure below. I would recommend getting a full backup done beforehand though

  • Open a command prompt as administrator
  • Type diskpart and press Enter. A new command-prompt should appear.
  • At the DISKPART> prompt, type list volume and press Enter. This will show all the volumes on the system
  • Type select volume # (where # is the number of the relevant volume) and press Enter
  • Type extend filesystem and and press Enter

This should adjust the filesystem to use all available capacity in the volume and is based on several articles on the web, including this KB article.

If that still doesn't work, you could try repeating the above but use extend instead of extend filesystem as this will extend the volume itself if there is unallocated space on the disk. But I don't think that is the issue.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .