in

Surgient Success

Surgient Community Forums

How to expand image disk size and partitioning on ESX hosts

Last post 03-23-2009 8:24 AM by CharlesCraig. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 03-17-2009 2:48 PM

    How to expand image disk size and partitioning on ESX hosts

    Expanding Image Disk Size and Partitioning on ESX hosts.

     The following instructions must be performed in a staging environment.

     

    Expanding an image's disk.

    -- Shutdown the image

    -- Commit the image

    -- Run   vmkfstools -X 40G --force data:filename.vmdk (where 40G is the size of the partition you want to expand to.)

    -- Attach partitioning software of choice and make sure the CMOS settings allow you to boot to a CD/DVD.

    -- Power up and run partitioning software increasing the partition size.

    -- Reboot once.

    -- Shutdown the image after reboot

    -- Commit the image.

     

     

     

    Adding a partition to an image.

    -- Shutdown the image

    -- Commit the image

    -- Let's say you have an image with a 15 GB disk and want to add a second partition that is 25 GB, you would run

                                           vmkfstools -X 40G --force data:filename.vmdk.

    --  Attach partitioning software of choice and make sure the CMOS settings allow you to boot to a CD/DVD.

    -- Power up and run partitioning software increasing the partition size.

    -- Reboot once.

    -- Shutdown the image after reboot

    -- Commit the image.

  • 03-23-2009 7:27 AM In reply to

    Re: How to expand image disk size and partitioning on ESX hosts

     Instead of setting the boot parameter in the BIOS, you can also hit F2 while booting to get a boot menu.

    --
    Charles Craig
    Sr. Technical Support Engineer
  • 03-23-2009 8:18 AM In reply to

    Re: How to expand image disk size and partitioning on ESX hosts

    Are you sure it's not ESC to get the boot media menu?  The console has to have focus and you have to be fast on the draw to use this option.

    Signed by Richard Cardona
  • 03-23-2009 8:24 AM In reply to

    Re: How to expand image disk size and partitioning on ESX hosts

     I could be wrong on the keypress.  It is displayed as an option on the boot screen. 

     

    I do not think it is any harder than trying to get into the BIOS to change the boot order.

    --
    Charles Craig
    Sr. Technical Support Engineer
Page 1 of 1 (4 items)