Garnock12
(Garnock12)
April 5, 2023, 12:57pm
1
One of my ESXi VM’s is running Windows Server 2022 with desktop experience and is getting low on disk space. I shut it down, then using vSphere I increased the size of the virtual disk. I booted the server and went to disk management. It sees the extra space but it won’t let me extend the existing volume. Extend is grayed out but shrink is available. It will allow me to create a new volume but I don’t want to do that.
The VM is running on ESXi 7.0 U3 version:12288
8 Spice ups
jbaker3
(JFEB)
April 5, 2023, 1:11pm
2
I believe the partition you want to extend needs to be directly beside the free space you want to extend into. If another partition is in between, it won’t allow it.
2 Spice ups
jonahzona
(jonahzona)
April 5, 2023, 1:13pm
3
Because there is no screen shot, I am going to say this is likely because the areas are not contiguous on the disk. It is common to see the recovery partition placed between the primary partition and the new storage.
Some people like to keep the recovery partition, but the reality is with a VM you can always mount an ISO of the install and do whatever recovery operations you need. I generally just delete the partition and extend the file system.
You do have the option of using other tools like GParted, boot to it and then restructure the partitions. But in the end I generally just remove the recovery partition.
In the event it is something else, you can post a screenshot of your disk management.
Hope that helps.
1 Spice up
Garnock12
(Garnock12)
April 5, 2023, 1:17pm
4
That should be my issue. Is it resolvable? This is what I see
1 Spice up
Garnock12
(Garnock12)
April 5, 2023, 1:20pm
5
jonahzona:
Because there is no screen shot, I am going to say this is likely because the areas are not contiguous on the disk. It is common to see the recovery partition placed between the primary partition and the new storage.
Some people like to keep the recovery partition, but the reality is with a VM you can always mount an ISO of the install and do whatever recovery operations you need. I generally just delete the partition and extend the file system.
You do have the option of using other tools like GParted, boot to it and then restructure the partitions. But in the end I generally just remove the recovery partition.
In the event it is something else, you can post a screenshot of your disk management.
Hope that helps.
Sounds good. I’ll give it a shot
jonahzona
(jonahzona)
April 5, 2023, 1:20pm
6
Yes, your recovery partition is causing the issue.
As I said, I generally just delete the recovery partition because A) on a VM I almost never use it, and B) If I needed to run recovery tools I would just mount the disk. In this case you can just delete it and then extend the space.
Otherwise you can use a partition tool (like GParted) to handle this, as Windows is natively unable to do so.
Before performing any major operations on a VM, be sure you have a working backup as well as a snapshot / checkpoint. Snapshots aren’t backups, so be sure you have both.
1 Spice up
Garnock12
(Garnock12)
April 5, 2023, 1:21pm
7
It doesn’t give me the option to delete the partition
jonahzona
(jonahzona)
April 5, 2023, 1:25pm
8
1 Spice up
Garnock12
(Garnock12)
April 5, 2023, 1:31pm
9
I followed the reddit link and that did the trick thank you!