VMware Cloud Community
tdubb123
Expert
Expert

the volume you have seleced may not be extended

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?

Reply
0 Kudos
8 Replies
a_p_
Leadership
Leadership

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é

Reply
0 Kudos
tdubb123
Expert
Expert

I have 2 primary. C and a D.

D has a page file on it.

Reply
0 Kudos
a_p_
Leadership
Leadership

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é

Reply
0 Kudos
tdubb123
Expert
Expert

even with the pagefile on the drive. I used to be able to resize with extpart but it does not work

http://www.displacedguy.com/extpart-utility.html

Reply
0 Kudos
tdubb123
Expert
Expert

after i rebooted. I was able to resize with extpart.

thanks

Reply
0 Kudos
a_p_
Leadership
Leadership

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é

Reply
0 Kudos
tdubb123
Expert
Expert

yes. i did. the extra 20gb was seen by disk mgr and diskpart. maybe something was locked up?

Reply
0 Kudos