hi!
I have a little problem, when I converted a vm to my esx server so did I choose 14GB for the vm.
But I have now realize that I need more space on the vm. but the problem is that I shutdown the vm and
grant more space but the does not get more space just none alcolated in diskmgmt. and by that I will have to
make a new partition.
Can i add more disk to C: by not formatting the disk? or can i add more diskspace to a new partition
(if i add 20gb more now and want to add 20gb extra to the same partition in 2 months or something like that?) ??
thanks
/R
here is the guide. Hope is helpful.
Craig
vExpert 2009
See http://vmware-land.com/Resizing_Virtual_Disks.html for lots of possible solutions.
Yeap, you sure can.
Done it heaps of times.
It appears your running windows.
First extend the disk using vmfstool to the size you want.
Add the disk via another VM, drop to a cmd prompt, and run diskpart (W2K3).
Change the focus to the disk, and then increase the partiton using the commands. (I think it is extend, something like that)
Drop the vdisk, then run the normal VM.
The c: drive will now use all the space, no extra partitions made or required. Real easy under windows.
Hope this helps.
Just use some bootable CD with HDD partition software which can work with NTFS like Acronis Disk Director.
---
VMware vExpert '2009
After resizing the disk you should see the extra space at the end of the disk using diskmgmt.msc for example
You can either:
A) Use diskmgmt.msc to create another partition in this new space, or
B) Use a bootable cd such as gparted live cd to resize the current partition to give it the new space.
Andy, VMware Certified Professional / VMware vExpert Award 2009
If you found this information useful please award points using the buttons at the top of the page accordingly.
Done this many times.
1. Download and Place gparted.iso so it is accessible from the VM in question.
2. Shutdown VM (make sure is it proper shutdown otherwise you may get error in next for unclean filesyste).
3. Extend the Vdisk size to what ever you want.
4. Boot the VM in question to gparted.iso and resize the to maximum avaiable size.
5. Reboot. Windows may require another boot.
You would need gparted which is availabe for free.
very good information from all of you.
I tried to use gparted but how do I boot the cd in to the vm?
can I burn gparted on a cd and put it in the servers cd-reader and then boot the vm?
any other tip on how I can do?
I have a question regarding ESXi I'm still testing it on a fully loaded Poweredge 2900, and I have a Raid 10 with 146GB drives and I have about 20GB free after loading most of our production servers on it. All Servers on this box are on a standalone network and nothing is contacting them in anyway.
Problem: I have notice over several days my when database store is shrinking about 1GB every few days why is they happening and how do I stop this. I thought maybe I needed to reboot the whole ESXi box to reclaim the space and it didn't make any difference it was since gone. I do have all swap space for all machines on a sepreate SATA Drive.
Any one have any thoughts on this?
Yes, you can do that. You can also mount the cd in your desktop and use the vi client's connect cd/dvd option to mount the cd or even the ISO itself through the vi client. If you go that route, I would suggest editing the vm's settings, and in the options tab, under boot, I would check the box to make the vm boot into the bios at the next boot. Then make sure the cd is higher than disk in the boot list. This should allow you an option to connect your cd and boot gparted.
-KjB
VMware vExpert
Check to see if you have snapshots. Snapshots will continue to grow unchecked until they consume all disk space on a datastore. If you don't need the backup anymore, committ/delete the snapshots, and you should be able to reclaim the space before you run out completely.
-KjB
VMware vExpert
Yes I do have several snapshots, for testing purposes.. You when said commit you mean.. If I'm happy with where the machines are at the moment just go and delete all previous snapshots?
Yes, otherwise the snapshots will continue to grow. Be advised that if the snapshots are large in size, the committ/delete can take a long time to complete. If you view the process through vi client connected to vCenter, it may time out. If you want to monitor the progress, connect your vi client directly to the esx host with the vm on it.
-KjB
VMware vExpert
yes it is not good practice to leave Snapshots open on guests for a significant period of time, you are seeing the reason as to why not :smileygrin:
If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points
Tom Howarth VCP / vExpert
VMware Communities User Moderator
Blog: www.planetvm.net
Contributing author for the upcoming book "VMware Virtual Infrastructure Security: Securing ESX and the Virtual Environment”.
This is reguarding ICEMAN comments about resizing VM's For example I have serveral VM that have too much space alloactated to them, and I need too size them down. I have resized the VM's using GPart. But after that how do I take that free space from that VM and put it back into the datastore for ESX?
You can't do that. While you can increase the size of a vm disk, you can not decrease it. You can, however, use converter and resize volume in the conversion process.
-KjB
VMware vExpert
Is there an advantage to extending disk with vmkfstools as opposed to adding disk space under edit settings > Hard disk > New size? In the past you had to do this under vmkfstools with earlier versions of ESX.
Not really, all the VIC client is doing in reality is issueing the same as a vmfstools -X
If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points
Tom Howarth VCP / vExpert
VMware Communities User Moderator
Blog: www.planetvm.net
Contributing author for the upcoming book "VMware Virtual Infrastructure Security: Securing ESX and the Virtual Environment”.