Windows 7 not seeing allocated diskspace

I have a virtualised version of Windows 7 Ultimate running on my Macbook Pro under VMware Fusion 4. The C drive having 50Gb was becoming quite full so I shut down the VM and allocated an additional 20Gb. After restarting I went in to disk manager and disk tools and saw the new partition was now 70Gb and fully extended, however if I right clicked the actual C drive it reported only 50Gb. Looking in the actual VM package from my Mac I could see the appropriate number of 2Gb vmdk files totalling 70Gb. This seemed very strange so I tried updating vmware tools, running chkdsk, rebooting all without success. In the meantime I allocated another 15Gb but still the actual C drive reported 50Gb in explorer but now disk manager report 85Gb.

I discovered that the ‘extend filesystem’ command in diskpart fixes this.


>diskpart

DISKPART> list disk

Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 85 GB 0 B

DISKPART> select disk 1

The disk you specified is not valid.

There is no disk selected.

DISKPART> list disk

Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 85 GB 0 B

DISKPART> select disk 0

Disk 0 is now the selected disk.

DISKPART> list partition

Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 Primary 84 GB 1024 KB

DISKPART> select partition 1

Partition 1 is now the selected partition.

DISKPART> list volume

Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 D DVD-ROM 0 B No Media
* Volume 1 C NTFS Partition 84 GB Healthy System

DISKPART> select volume 1

Volume 1 is the selected volume.

DISKPART> extend filesystem
DiskPart successfully extended the file system on the volume.

DISKPART>

This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">