› UKTH forums › 💻 Computers › 💬 Servers Et al › vmware & win server 2022
- This topic has 6 replies, 3 voices, and was last updated 3 years, 3 months ago by
kev2021.
-
AuthorPosts
-
January 9, 2022 at 7:25 pm #16989
Hi all,
So I’ve setup win server 2022 in a VM, however i have unfortunately made the size of the drive too small. Not a issue as i used thin provisioning so I’ve been into the VM, added additional space, BUT when i got back into the VM and go to disk management, there is the main drive C then a heath partition and then the additional unallocated space.
Therefore the extend volume is unavailable to me as the unallocated space needs to be next to the volume to expand, any ideas how to over come this? Not had this before :(
I don’t want to set the additional space up as an additional volume i.e. Drive D, just want to extend C.
Thanks
Kev
You need to login in order to vote
January 10, 2022 at 8:55 am #16995Usual Windows stuff, which is why Partion Magic has worked so well for myself on Windows 10 etc. (not server)
FYI:
there are basically 3 situations that “Extend Volume” does not work:
- The partition the users want to extend is not a NTFS partition. Microsoft says extending volume feature in Disk Management only works to a raw or NTFS partition.
- There is no unallocated or free space on hard disk or the space is not contiguous and after the partition which needs extending.
- Users want to extend a primary partition/logical partition, but there is just a free space/unallocated space right after the target partition.
So you are in the situation 3 I think. in this case, you need to move the free space out of extended partition. In Disk Management, you can delete all the logical partitions and then the free space will become unallocated space, which can be used to extend primary partition.
Problem: as you have said.
The option to extend “is only available when there is contiguous unallocated space behind (next to)the volume which you want to extend.
Solution: the long version
‘Why need to move unallocated space outside extended partition?’
An extended partition exists on master boot record (MBR) disks. On an MBR disk, you can have 4 primary partitions or 3 primary partitions and 1 extended partition. Within the extended partition, you can create many logical partitions as you need. The only limit to the number of logical partitions is the available drive letters that you can use. If there is unallocated space within the extended partition as shown in the screenshot below, you cannot use it to extend or create a primary partition with Windows built-in utility Disk Management, though you only have 1 or 2 primary partitions.
Actually, free space is different from unallocated space. When you delete a logical drive, you will get free space while you will get unallocated space after deleting a primary partition. The unallocated can only be used to extend an adjacent primary partition on its left side while the free space can only be used to extend the adjacent logical drive on its left side. Namely, even if there is free space adjacent to a primary partition, you cannot add it into the primary partition, not to mention that they are not neighboring just like the above pic. In such a case, you need to move unallocated outside extended partition in order to extend or create a primary partition.
How to move unallocated space from extended partition?
However, Disk Management doesn’t have the ability to move partition, so you need to delete all the extended partitions, namely all the logical partitions before you can extend or create a primary partition. If you don’t want to delete any partitions or drives, you can try third-party partition software: AOMEI Partition Assistant Standard etc. It allows you to move free space outside extended partition without data loss. If you want to create a new primary partition, just use the Move Partition feature.
For some reason, windows server 2022 and others creates a 4th partition named recovery partition after the primary partition, making it hard to extend the primary partition.
Keep it Simple: (KIS)
Easiest option to keep recovery partition is to find a ‘free’ tool to do the job and as I understand it, if you delete the recovery partition, this could impact / stop future updates
In a completely sane world, madness is the only freedom (J.G.Ballard).
You need to login in order to vote
January 10, 2022 at 9:32 am #16996January 11, 2022 at 10:50 pm #17004Think I’m more in number 2 – the unallocated memory is not next to the C drive, in between is a health partition :(
So far I not been able to find a free tool that will move the partition, lots out there and can download trial/demos but when you ask it to move the partition, they want you to sign up and buy the software. I need to find a free program as I only want to move the partition so I can expand the size, must be a free version of a good app somewhere.
Had issues getting the O/S to activate too, Had to run the dsim command to re-tell it it the OS version and the key, then it went off and did it and activated, but using the activate option and change product key just failed, very odd.
Kev
You need to login in order to vote
January 11, 2022 at 10:54 pm #17005Minitool partition wizard 11 is free and I use it for moving and resizing or copying partitions.
Operations are done sequentially one after the other.
https://www.partitionwizard.com/free-partition-manager.htmlYou need to login in order to vote
January 12, 2022 at 8:50 am #17008For Windows Server 2022 disk partition tool that is free – try gparted.org
Alas as you have a RAID controller – this could complicate things ?
In a completely sane world, madness is the only freedom (J.G.Ballard).
You need to login in order to vote
January 20, 2022 at 9:34 pm #17285Hi,
Can gparted run from a OS? I thought it had to boot up from a USB stick before OS boots? I only need to increase the space in a Windows server 2022 virtual machine, not the actual raid volume as the box is running esxi 7 so this is just a virtual machine…
Thanks
Kev
You need to login in order to vote
-
AuthorPosts
- You must be logged in to reply to this topic.