on a 2003 std vm, I am trying to expand the d drive.
increased it by 20gb
went to diskpart
but gives me an error
the volume you have seleced may not be extended. Please select anothert volume and try again.
any idea?
How do the current partitions look like (primary, extended, logical)? If the 😧 partition is the last one with the adjacent free disk space then you should be able to expand it using diskpart unless it contains e.g. the pagefile.
André
I have 2 primary. C and a D.
D has a page file on it.
That explains it. In this case either temporarily place the pagefile on drive C: or boot the VM from e.g. a Windows 7 ISO into troubleshooting mode, open a command line and run diskpart from there.
André
even with the pagefile on the drive. I used to be able to resize with extpart but it does not work
after i rebooted. I was able to resize with extpart.
thanks
Thanks for the feedback. Out of curiosity, did you rescan the disk in either the disk manager or using diskpart before you tried to grow the partition (before you rebooted the system)?
André
yes. i did. the extra 20gb was seen by disk mgr and diskpart. maybe something was locked up?