Wednesday, November 5, 2014

Extend System Volume Error "The parameter is incorrect" or not matching

Running into the "Parameter is incorrect" when trying to extend a volume in disk management on a windows server again, I have decided to post this to remember and share. The issue you will see after this error is that Disk Management will show the extended volume correct on the disk where you extended the disk but will show incorrect in the Volume List above as well as in my computer. You may also get an error message "The file system structure on the disk is corrupt and unusable".

In order to correct this DISKPART is needed. This KB article explains this issue and instructions in detail. http://support.microsoft.com/kb/832316 

The steps I used to correct this issue:

1. Find the volume number using diskpart:

DISKPART> list volume

2. Select the volume using the volume number:

DISKPART> select volume #

# is the number of the affected volume

3. Extend the file system:

DISKPART> extend filesystem

The file system size should now match the new partition size. You may need to refresh your view in My Computer and the Disk Management snap-in.