hello all.
I have one question for the pro of VMWARE
I have one VM with one disk but my disk is to small and i want to increase size of the disk.
i know vmware-vdiskmanager but when i go on my esx i don't have this tools.
So where is it ? or where i can download it and how install it ?
thank you for your response
sorry for my english but i'm french ans i speak very bad in english :s
The equivalent for vdiskmanager in ESX is vmkfstools.
vmkfstools -X 10G test.vmdk
would resize test.vmdk to 10GB
Take a look at the following knowledge base article:
You can also use Converter to resize the disk. During an import (V2V) you have the option to resize.
As oreeh mentioned the vmkfstools option expands disks. One thing to add to this, as you mentioned you VM has one disk, if you are talking about expanding the OS drive you will need to do this by mounting the vmdk file in another VM and use diskpart. Other than that you may find the V2V option handy.
Could be the space in "storage 1". try putting the whole command in quotes or navigate to that folder and run the command from there. You can check out this thread for more info on enlarging the disk. http://communities.vmware.com/message/702555#702555
Also, whenever you enlarge a disk MAKE SURE THERE ARE NO SNAPSHOTS. Have seen more than one VM corrupted by resizing a VM disk before snapshots are committed/removed
MAKE SURE THERE ARE NO SNAPSHOTS.
Good point!
Is the path and the VMDK file name correct?
i have two disks.
10go and 100go.
i shutdown my VM and after i do the vmkftools but i don't have a snapshot on this VM.
i have two file for one disk
2K3-1.vmdk / 2K3-1-flat.vmdk
2K3-1_1.vmdk / 2K3-1_1-flat.vmdk
and help me plz
If you want to expand a 10GB VMDK to 18GB you have to specify 18G as the desired size!
you would only resize the vmdk and not the -flat.vmdk. so you would want to use the vmkfstools -X G .vmdk format
it's ok . . .
if the disk has 15go i do write
vmkfstools -X 30go ==> to increase 15go
but now i want to decrease the size of my VM :s
You can't decrease VMDKs.
If you want to decrease a VM use VMware Converter or an imaging tool