Posted by on March 14, 2013

I was running out of space on the boot partition of a mailbox server, so I ordered a couple of new drives. Since the drives are in a mirrored array, it was simple to replace them. We simply pulled one old drive out and put a new one in, then waited for the mirror to rebuild. When that was done, we replaced the other old drive in the same way.

After replacing the two mirrored disks of the boot drive, we used the Disk Management Console to extend the partition.

That’s when the real trouble began.

The Disk Management Console showed the correct partition size, but Windows Explorer still showed C: drive with the old, smaller size. I started up DiskPart–which also showed the correct partition size–selected the Boot volume and ran “extend filesystem.” That returned this error:

DiskPart has encountered an error: The device does not recognize the command. See the System Event Log for more information.

DiskPart has encountered an error: The device does not recognize the command. See the System Event Log for more information.

There was nothing at all related to disks, volumes, or partitions in the system event log.

Thinking that perhaps we had extended the volume too far without leaving enough space for the file table, I attempted to shrink the partition using the Disk Management Console. That produced this error:

The parameter is incorrect

Virtual Disk Manager: The parameter is incorrect.

That’s not cool.

I scanned the disk for errors, but it came up clean. While I was looking at the disk tools, on a whim, I defragmented it, then went back to DiskPart and re-ran “extend filesystem”. Gold!

I don’t know why, but a defrag fixed it.

Comments

  1. Marc
    May 2, 2013

    Leave a Reply

    I just had this same problem on a VM and this worked. Thanks!

    • Paul
      November 28, 2013

      Leave a Reply

      I’ll keep this short.

      “Ditto”

      Thanks.

      • vi
        September 23, 2015

        Leave a Reply

        has same issue after giving more space to the VM in vmware. Your fix worked. Thanks!

  2. MarjmMmaM
    July 20, 2016

    Leave a Reply

    I had this problem, but defrag did not resolve. In my case, a backup app was access VSS. Stopping VSS resolved the issue.

    • JW
      November 28, 2016

      Leave a Reply

      stop VSS fixed it for me- started after.

Leave a Reply

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=""> <s> <strike> <strong>

*