VMware vSphere

 View Only
  • 1.  Extend C: partition space on ESXi VM

    Posted Jul 27, 2022 01:33 PM

    Hi all,

    I think disk expansion is easy in a windows vm hosted on an esxi, but about expanding the space
    of a c: partition (system) in a disk with 2 or 3 others partitions may seem difficult! (may be) I have an esxi which hosts vms, I want to increase the space of the c: (system) partition knowing that a
    d: (data) partition is just after. I would like to have the prerequisites for this operation and a step by step if possible.
    i am beginner in vmware vsphere, thanks
     


  • 2.  RE: Extend C: partition space on ESXi VM

    Posted Jul 27, 2022 02:21 PM

    Hello.
    It is always recommended to get a full backup of the VM before doing any work on it.
    maybe the following link will help you.

    link: https://www.nakivo.com/blog/increasing-the-size-of-a-disk-partition/

     

     



  • 3.  RE: Extend C: partition space on ESXi VM

    Posted Jul 27, 2022 02:55 PM

    Hi,e_espinal

    Thank you for your answer

    I have already seen it, it talk about:

    "Note: There must be free space right after the partition that you want to extend.
    If you have two partitions on a disk (C: and D:), and you want to extend the first partition (C:),
    your unallocated disk space should be between the first and the second partition (after C: and before D:)."

    so i should use any third party to move the unallocated disk space?



  • 4.  RE: Extend C: partition space on ESXi VM

    Posted Jul 27, 2022 06:37 PM

    It's actually not the same for physical, and virtual systems. If there's no adjacent free disk space to the partition that needs to be extended, you either need to use guest OS tools (if available), or 3rd party tool like the gParted Live CD.

    What I recommend for virtual environments is to have a single partition per virtual disk, which allows online expansion for each partition if the guest OS supports it.

    André



  • 5.  RE: Extend C: partition space on ESXi VM

    Posted Aug 02, 2022 11:45 AM

    Thinks André
    I think you recommandation is very good
    signle partition per virtual disk, so if you need to create 2 or 3 partitons, do it with 2 or 3 vDisks, then it's very easy to increase partition(disk) space.
    My current case is on the picture, what is the steps to increase (c:) partition ?
    Only (F) is extended partition on vDisk0

    disks & partitions.png

     



  • 6.  RE: Extend C: partition space on ESXi VM

    Posted Aug 02, 2022 12:12 PM
    1. Create new vDisks
    2. Move Data onto the new disks
    3. Remove old partitions
    4. change drive letters to match the old ones

    At the end you need one partition per drive and than its a 60sec job to increase a disk/partition during runtime.

     

    Regards,
    Joerg



  • 7.  RE: Extend C: partition space on ESXi VM

    Posted Aug 02, 2022 12:20 PM

    I don't think it's as easy as that !

    VM is domain controller and E, F contains DC folder like Sysvol

    So Move this folder may cause damage