@UKTechHub
.
.

vmware & win server 2022

UKTH forums 💻 Computers 💬 Servers Et al vmware & win server 2022

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #16989
    Avatarkev2021
    • Replies 1,141
    • Forum Addict

    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

    Share the knowledge
    #16995
    UK SentinelUK Sentinel
    Moderator
    • Replies 7,920
    • The Skipper

    Usual 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:

    1. 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.
    2. There is no unallocated or free space on hard disk or the space is not contiguous and after the partition which needs extending.
    3. 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

    Ref: https://answers.microsoft.com/en-us/windows/forum/all/extended-volume-grayed-out/c163d929-6bc6-4924-98e3-c5e0bec0291d

    Share the knowledge

    In a completely sane world, madness is the only freedom (J.G.Ballard).

    #16996
    GrisuGrisu
    • Replies 977
    • Forum Addict

    I use minitool partition wizard to do such jobs on Windows PC.

    Share the knowledge
    #17004
    Avatarkev2021
    • Replies 1,141
    • Forum Addict

    Think 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

    Share the knowledge
    #17005
    GrisuGrisu
    • Replies 977
    • Forum Addict

    Minitool 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.html

    Share the knowledge
    #17008
    UK SentinelUK Sentinel
    Moderator
    • Replies 7,920
    • The Skipper

    For Windows Server 2022 disk partition tool that is free  – try gparted.org

    Alas as you have a RAID controller – this could complicate things ?

    Share the knowledge

    In a completely sane world, madness is the only freedom (J.G.Ballard).

    #17285
    Avatarkev2021
    • Replies 1,141
    • Forum Addict

    Hi,

    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

    Share the knowledge
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
💫 UKTechHub
Privacy Overview

This Forum uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our Site and helping our team to understand which sections of the website you find most interesting and useful.

Privacy Policy