Dec
19
Written by:
Nicholas
12/19/2009 3:05 PM
I have a couple of cluster nodes that I failed to size the C: drive adequately and began to run out of disk space. No problem! They’re all virtual machines, so I just need to expand the disks and away I go! Well, I’ve run into this situation several times since my lab has a lot of machines that I’ve upgraded over the years and while 15 - 25 GB volumes were fine prior to Windows 2008, it just doesn’t get it now and I like to use 40 GB volumes. That said, I’ve seen several cases where the virtual disks grow correctly and show up in the OS correctly, but when you try and use the Windows 2008 disk extend feature then you get this error from Logical Disk Manager, “The parameter is incorrect.”

What’s worse is that the Logical Disk Manager sees the volume as 40 GB, while the file system still only recognizes it as the original size. See the diagram below where I’ve laid a Windows Explorer view of the C: file system over the (supposed) 40 GB volume after extending the volume. Weird huh? What’s worse is that reboots don’t correct the issue. LDM is firm in it’s belief that this volume is now 40 GB and the File System doesn’t seem to care.
Here’s the work around that I’ve found to correct this situation. Go back into Logical Disk Manager (Disk Management in Server Manager) and Shrink the offending volume by 1 MB. After a minute or so, this will revert the volume back to it’s original size.
Now you can choose to extend it again and all will be right with the world. Notice in the screen shot below that both the volume and the file system now agree on the correct sizing.
Hope this helps!
Tags:
14 comment(s) so far...
Re: Disk Management Extend Fails “The parameter is incorrect.”
Wow thanks, that worked. I was actually extending volumes on ISCSI Luns on a EMC Celerra. Ran into the same issue. After I tried your fix I was able to extend the remaining volumes without using the shrink. Interesting......
By Gern Blanston on
3/9/2010 1:26 PM
|
Re: Disk Management Extend Fails “The parameter is incorrect.”
Same problem here, but the shrinking doesn't work as this also returns the "invalid parameter" error. Any more hints?
By Oliver Sommer on
3/25/2010 1:31 AM
|
Re: Disk Management Extend Fails “The parameter is incorrect.”
Thanks for the great article. I was a little nervous until this worked for me.
Josh
By Josh on
7/1/2010 7:00 AM
|
Re: Disk Management Extend Fails “The parameter is incorrect.”
Thanks for the article..
I tried something different and it worked too.
Initially I got the same error. Tried Shrinking. but it said there is no space to shrink it. So instead of shrinking the volume, I added 1GB and extended the volume again and this time it extended the volume just fine with no errors.
By londumpster on
7/2/2010 1:21 AM
|
Re: Disk Management Extend Fails “The parameter is incorrect.”
I have the same issue in Windows 2008 R2 and I get the same error when I try to sync. Has resolved this when the shrink does not work and returns the same error?
Thanks!
By Sean on
7/19/2010 10:04 PM
|
Re: Disk Management Extend Fails “The parameter is incorrect.”
Same problem here, cloned a 1tb to a 1.5tb Disk management reports the 1.5 tb but everything else reports 1tb. Cannot shrink volume without "The Parameter is incorrect" error. help? (Win 7 x64)
By temerald on
7/20/2010 2:46 AM
|
Re: Disk Management Extend Fails “The parameter is incorrect.”
thanks man it worked for me!!
By yo on
9/21/2010 1:45 AM
|
Re: Disk Management Extend Fails “The parameter is incorrect.”
Ace, A real brown trouser moment there, when my out of space exchange server threw up this error! thanks man, this was a VM (ESX4.1) with emc nfs datastore.
By pedro mend on
10/26/2010 5:18 AM
|
Re: Disk Management Extend Fails “The parameter is incorrect.”
Great article! I had exactly the same problem, so I was very happy when I saw your solution. It works like a charm. Thanks!
By Fred on
11/18/2010 4:49 AM
|
Re: Disk Management Extend Fails “The parameter is incorrect.”
Wow, this worked exactly as described last night. I also saw the error and had a 'high anxiety' moment as I was expanding our hospital paging system database! Thanks for sharing the info....
By kingmissile on
12/23/2010 6:39 AM
|
Re: Disk Management Extend Fails “The parameter is incorrect.”
Was extending the drive on our SCCM server, server 2008 64bit. This worked for me also - many thanks.
By Bob on
1/7/2011 11:34 AM
|
Re: Disk Management Extend Fails “The parameter is incorrect.”
If you're unable to use the shrink command or as an alternative to it you can follow the guide here : goo.gl/BNJ8Y which uses diskpart and the extend filesystem command to fix the problem.
By Rob on
1/10/2011 2:13 AM
|
Re: Disk Management Extend Fails “The parameter is incorrect.”
Thanks very much, I had this exact problem trying to extend a partition on Windows 2008 R2 running on ESX.
By Jamil on
4/29/2011 7:50 AM
|
Re: Disk Management Extend Fails “The parameter is incorrect.”
Also works to not expand the drive to the full extent possible and then extended a second time by 1 MB. Had this occur to one of our systems this morning.
By George Womick on
6/13/2011 4:35 AM
|