Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have VHD file attached as a disk (Disk 2 on screenshot below). It has only 1 partition formatted in FAT32 (so Linux clients can write something there). It got full, so I want to extend it. I used Hyper-V tool to extend the size of the disk - but I can't "expand" exiting partition:

DISKPART> expand vdisk maximum=50000

DiskPart has encountered an error: The parameter is incorrect. See the System Event Log for more information.

and there is nothing in the Event Log (or may be I'm looking at a wrong place?..)

it's on Windows 2008 R2. Any idea how can I extend my disk from 30Gb to 50Gb?

Thank you.

enter image description here

share|improve this question
Why do you have a FAT32 partition in a VHD? – Zoredache Jun 26 '12 at 23:25
so Linux clients can write something there – avs099 Jun 26 '12 at 23:32
Still don't understand why you need FAT32. When you say clients, are they accessing that volume via the network? If so, the filesystem doesn't matter. If you are running VMs, why don't you do the filesystem resize within your Linux VM? – Zoredache Jun 27 '12 at 0:02
up vote 2 down vote accepted

According to Microsoft, you can't.

... You can extend a volume only if it does not have a file system or if it is formatted using the NTFS file system. You cannot extend volumes formatted using FAT or FAT32.

You cannot extend a system volume, boot volume, striped volume, mirrored volume, or RAID-5 volume. ...

Simplest solution I can see is to create a new 50 GB disk, format it as FAT32, move the data over, delete the old one and redo your drive settings (letter, shares, etc).

Also, you might want to look into using SAMBA so you don't have to have FAT formatted drives for your Linux boxes.

share|improve this answer
thank you! Can you point me to any good SAMBA how-to by any chance? – avs099 Jun 26 '12 at 23:33
Sorry, I can't. It's been ages since I set up SAMBA, and I used the O'Reilly book on it when I did. – HopelessN00b Jun 26 '12 at 23:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.