Lee Marzke on 28 Dec 2009 17:59:05 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] VMware ESXi question...


John Von Essen wrote:
> Huh?
>
> With VMware ESXi 4.0 everything is done via the vCenter console GUI.
> There is no command line I am aware of.
>

On Vmware's site  under "Drivers and Tools"   you can get the "Vsphere
CLI 4.0"  download
which has the command-line tools including 'vmkfstools"
Alternately you can download the Vsphere VMA,  which includes the CLI
tools pre installed
in a Linux VM.      These tools replace the missing command line that
was stripped out of
ESX.

So you would convert the disk to a larger size using vmkfstools ( you
may have to copy it
to a new disk, instead of resizing in place ).     Then use windows
command line tool 'diskpart'
to grow the volume to fill the partition.   If this is the "C" volume, 
then you will have to move
that disk to another Windows VM,  attach it,  grow it.  and then move it
back to the original
VM.

If Gparted will now expand a .vmdk disk,  that would be far easier and
quicker.

Lee


> On Dec 28, 2009, at 7:17 PM, Ron Kaye Jr wrote:
>
>> its been a while
>>
>> grab a gparted iso
>> change boot order, boot to iso, expand disk
>> space should  be seen by OS
>>
>> the old way ... used vmkfstools (command line)
>> Ron Kaye Jr
>> 914-7294734
>>
>> Dec 28, 2009 06:56:03 PM, plug@lists.phillylinux.org
>> <mailto:plug@lists.phillylinux.org> wrote:
>>
>>     Anyone familiar with expanding disks in ESXi 4.0?
>>
>>     I migrated a VM from Microsoft VM Server using VMware's free
>>     converter 
>>     tool. The converter has an option to grow the disk (originally was 
>>     20Gb, now I want 50Gb) - when I try to grow via the converter - the 
>>     conversion always fails. The only way it works is to convert the
>>     VM as- 
>>     is. I thought once the VM was live in ESXi I could go back and 
>>     manually grow it to 50Gb, but the Hard Disk resource option for size 
>>     is always greyed out.
>>
>>
>>     When the VM is down, I do "edit settings". Memory and CPU I can 
>>     change, but when I click Hard Disk, the size drop down is greyed
>>     out. 
>>     Just says Disk Provisioning: Thick, Provisioned Size: 20Gb. Maybe 
>>     there is an option I missed when doing the conversion.
>>
>>     Any ideas?
>>

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug