VMware Cloud Community
Ivanildo_GalvÃ_
Enthusiast
Enthusiast
Jump to solution

ESXi out space in disk, vms stops

Hello friends, please let me Go take a hand.
I have a client that has a VMware ESXi 4.0 running on an IBM server, there a few daysago the server stopped working for lack of hard drive space, so IT techniciansbecause the company made ​​several unnecessary snapshots. I went there, delete thesnapshots and even VMDKs and other invalid files, released 30GB, but now the serverreturned to lose ground and now has only 12MB of free disk space. How can thishappen? What makes a server loses much disk space so quickly?
Thus, the virtual machines are stopped, the server crashed Vmware all what I do, how to free space without losing data?


Thanks


edit by continuum

all attachements were removed by OP so if you read this post keep in mind that the steps used to resolve the issue no longer make sense.
If you run into similar issues you can not learn from this post

Ulli

Ivanildo Galvão
0 Kudos
76 Replies
continuum
Immortal
Immortal
Jump to solution

looks good - everything seems to work as planned

if you want - attach the vmx after you resolved this issue so that we make sure it does not happen again


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
Ivanildo_GalvÃ_
Enthusiast
Enthusiast
Jump to solution

Hello Andrew, in 20 days or so, the client is another server here on site, this server is a Dell Power Edge T610, new hard drive with 900GB of RAID-5 and 16GB of RAM. In itwill install the latest version of ESXi and move all the virtual machines to this server.The current IBM I'm doing the procedure for consolidation of VMDKs will be formatted, I'll install Windows Server 2008 with Veeam Backup & Replicator for backing up virtual machines and files contained in VMDKs of all virtual machines, this clear with a Storcenter IX-200 Iomega 4TB iSCSI to store all these backups.
That is, in 20 days the things here in this account will be a little more professional,since many errors were caused by inexperienced technicians, for example, if they wereto install an HP printer driver on a virtual server, before they did a snapshot, virtual machines in this game had at least five snapshots accumulated.

Well, now I'm here trying to solve the problem, but I think the solution given by theContinuum will work, the process is 55%, though.

Ivanildo Galvão
0 Kudos
Ivanildo_GalvÃ_
Enthusiast
Enthusiast
Jump to solution

Sorry about the lack of experience, but what do you mean by attach the vmx?

Ivanildo Galvão
0 Kudos
Ivanildo_GalvÃ_
Enthusiast
Enthusiast
Jump to solution

Friends, for security reasons I removed all the attachments in my posts. Over the next ifyou have the need to send files, I'll do this with private messages, okay?

Thank you for understanding.

Ivanildo Galvão
0 Kudos
Ivanildo_GalvÃ_
Enthusiast
Enthusiast
Jump to solution

Hello,

The procedure is 93% when he finished the next step to perform the tests, will be.

HD remove the current virtual machine that is several VMDKs, but without deleting thedatastore, removing only the virtual machine. Then add a new disk, choose the existing disk and point to the new vmdk?
Start the virtual machine and check if the data are intact, confirming the integrity of the data, delete all VMDKs old and copy the original back to the datastore.
The steps are these, right?
Ivanildo Galvão
0 Kudos
a_p_
Leadership
Leadership
Jump to solution

All you need to do is to edit the VM's properties and attach the new virtual disk as the second HDD to your VM. Before editing the properties, open the datastore browser and download the VM's RDS-FS.vmx file for backup purposes! Once everything is ok with the new virtual disk you may delete the old files.

Caution: Make absolutely sure you only delete the following files! Do NOT delete RDS-FS.vmdk, RDS-FS-flat.vmdk and all the other files!!

The "_1" makes the difference!

RDS-FS_1-000001.vmdk
RDS-FS_1-000002.vmdk
RDS-FS_1-000003.vmdk
RDS-FS_1-000004.vmdk
RDS-FS_1.vmdk    
RDS-FS_1-000001-delta.vmdk
RDS-FS_1-000002-delta.vmdk
RDS-FS_1-000003-delta.vmdk
RDS-FS_1-000004-delta.vmdk
RDS-FS_1-flat.vmdk

Once everything looks ok power off the VM and copy (don't move) the virtual disk back to the original location.

Don't forget to modify the VM's properties again after copying the virtual disk.

André

BTW: After cleaning up this VM you should have enough free disk space to cleanup the WSUS VM.

0 Kudos
Ivanildo_GalvÃ_
Enthusiast
Enthusiast
Jump to solution

Friend, before answering this last post, I had already started the process, did thefollowing.

a) I removed the disk from the VM without deleting the files from the datastore.
b) I created a new virtual disk using the new file fs_data.vmdk.
c) I started the virtual machine, did tests and saw that all data is it, all right, no losses.
d) Delete all VMDKs, not the RDS-FS.vmdk which is the virtual machine's operating system, just delete the virtual disk VMDKs problematic.
e) And right now I'm moving the new file to the original datastore, I used the copy option, it's really a risk and you are right, but now I went and monitoring, is still 9%,because the disk has 150GB Storage and a FreeNAS is being moved to the hard diskfrom ESXi host, the network here is 100Mbits only then is wait.

Well, you hope everything goes well.

Thanks.

Ivanildo Galvão
0 Kudos
Ivanildo_GalvÃ_
Enthusiast
Enthusiast
Jump to solution

Currently the process of moving the file to the original datastore is 19%, yet.
Ivanildo Galvão
0 Kudos
a_p_
Leadership
Leadership
Jump to solution

Looks like this is going to be another long day for you Smiley Wink

André

0 Kudos
Ivanildo_GalvÃ_
Enthusiast
Enthusiast
Jump to solution

Again? Smiley Happy Friend, began consolidating at 9:00 AM, ending at 5:15 PM.
Right now moving the file is 26%, well, I think the rhythm that ends by 8:30 PM, I guess.

Until then I'll be studying here.

If the network was gigabit, it would be much faster, but patience and more patience,are now the final moments

Ivanildo Galvão
0 Kudos
continuum
Immortal
Immortal
Jump to solution

Ivanildo Teixeira Galvão wrote:

Friends, for security reasons I removed all the attachments in my posts.


Too late - I already have the keys for your Porsche and emptied all your bank accounts http://sanbarrow.com/gifs/hyper.gif
Serious again ... there is really nothing that could be exploited in such data.

The problem with sending such data via emails is that you will only get help from one person - but I am really not the only one who can help in such a case.
Anyway - I respecty your wish to maintain your privacy.

Back to work ....
the steps you outlined are ok - proceed like that

I edited your first post to tell other users with similar issues that they can no longer learn anything from this post as the attachements were removed

Ulli


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
Ivanildo_GalvÃ_
Enthusiast
Enthusiast
Jump to solution

Ok, no problem I have some friends that the FBI can solve this problem very easy, you better give a link here in Brazil is enough. :smileylaugh:

Speaking of VMware: I understand the concern, really is good that others have accessto this learning, I will edit the images to omit some information and put all again, ok?

Again I want to thank everyone involved in this case, helped me a lot, especially Continumm and André.

Now I will be here giving some browsed the Web, reading some articles in the Microsoft certification process until the end so I can start the virtual machine.
Ivanildo Galvão
0 Kudos
Ivanildo_GalvÃ_
Enthusiast
Enthusiast
Jump to solution

Question, after all is over and virtual machine running. What will I need to do to ensure that this new 150GB vmdk now has not re-grow wild?
Ivanildo Galvão
0 Kudos
continuum
Immortal
Immortal
Jump to solution

I will edit the images to omit some information and put all again, ok?

no - don't waste any time for that - its ok

Question, after all is over and virtual machine running. What will I need to do to ensure that this new 150GB vmdk now has not re-grow wild?


Depends - if  you use Veeam or similar you have to make sure that no disks are set to persistent mode.

If you use no automatic backuptools you can limit the max number of snapshots that you want to allow.
You can also  set a limit by setting a minimum of free space that must be available after taking a snapshot.

It really depends on your use-case and wether you plan to use automatic backup-tools

Read about useful parameters on my site
http://faq.sanbarrow.com/index.php?solution_id=1060
or tell us what you want to allow and what not - and I can suggest settings


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
Ivanildo_GalvÃ_
Enthusiast
Enthusiast
Jump to solution

Actually at first I will not use backup tools. Only when you get the new Dell server more robust, which will install ESXi 4.1 and then install Veeam on another server to backup all the virtual machines to an iSCSI storage Iomega 4TB. This will take about 20 daysyet.

So at the moment can do nothing, right? It put the new vmdk virtual machine and start.
And your site is very good, you can learn a lot about VMDK, I will make reference to hissite on Twitter and on my site I created a few days - www.ivanildogalvao.com.br
Thanks.
Ivanildo Galvão
0 Kudos
continuum
Immortal
Immortal
Jump to solution

you can for example set
snapshot.numSnapshots = "1"

to avoid that your colleagues/ customers take new snapshots too carelessly


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Ivanildo_GalvÃ_
Enthusiast
Enthusiast
Jump to solution

I'm home now, I just get the customer the day today was quite time consuming, the virtual machine is running on the new vmdk in datastore got 82GB of free space, asthis virtual machine is a Fileserver, before leaving the company left Cobian Backup copying files (doc, xls, ppt ....) vmdk to ensure the backup of these data.

I created the disc normally and did not do any extra configuration, I believe the recordwill not get growing without limit, at least that's what was appearing, but I will bemonitoring this server because there is another virtual machine that had also called WSUS snapshots and now has some VMDKs that complement, but apparently it is not increasing, I do not know, I'll wait.

Thank you all once again.
Ivanildo Galvão
0 Kudos