Datastorage usage on disk 100%

Good Morning

Currently I use VMWare ESXi version, 5.5.0, 1,331,820, and I have problems with datastore, this fills it automatically, but at the operating system does not use even 50% of the space. attached pictures
Ricardo SalazarAdministratorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Seth SimmonsSr. Systems AdministratorCommented:
nothing attached
could be used by the swap space for the vm or snapshots
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Check your VMs, for snapshots ?

see my EE Articles

HOW TO: VMware Snapshots :- Be Patient

and then check how much storage you have allocated to VMs ? e.g. VMDK.

and check the datastore size.
0
Ricardo SalazarAdministratorAuthor Commented:
associate the file with images
Datastorage-usage-on-disk.docx
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, you have a snapshot.....

you will need to deal with it...

See my EE Article I posted.

What function does this server perform?

I'm seeing three snapshots...

of

790GB
122GB
173GB

Total of 1TB

This snapshot will take, many hours, or days or weeks to merge!

The biggest issue, is as the VM, cannot grow the snapshot, because of lack of storage space, it cannot be powered on.

Can you grow the current datastore e.g. datastore iSCSI_DLO_LCC_3 ?

Do you have vCenter Server, and can you use the CLONE function ?

otherwise, a V2V using VMware Converter, will solve the issue by converting the VM, to a new VM without the snapshot, and then delete the original old VM, however, you may need to start the VM for this, and you have no storage space, and the VM will not start.

So the other option would be to CLONE out this VMDK, to another datastore which has the storage space...

you have a datastore called iSCSI_DLO_LCC, which has 964GB free, this could be used....

BUT, this process, is going to take many hours...

this is the command you will need to use at the console of the ESXi server, or remotely via SSH

vmkfstools -i <most recent snapshot file name> /vmfs/volumes/<temp folder name>/<newfilename.vmdk>

vmkfstools -i 79.45 W8 Srv.Symantec DLO0000003.vmdk /vmfs/volumes/iSCSI_DLO_LCC_/newfile/79.45 W8 Srv.Symantec DLO.vmdk>

once you have create this new file, remove the old file form the VM, and add this new file, and then boot the VM.

be prepared for a very long process of many many hours.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ricardo SalazarAdministratorAuthor Commented:
Hi Andrew

but the console does not indicate you have snapshot
NO-snapshot.JPG
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Correct, they DONT!

But that's where all your datastore has gone, look at the files, compare with my EE Article...

You are probably using a backup application, which has left a snapshot, and you've not checked your VM, for many days, weeks, months,..I'm afraid ALL VMware Admins get caught with this welcome to Snapshot HELL

performance will also be very poor on a snapshot...

Every single change the VM makes, is written to a delta or change file, and this grows until it fills the entire datastore, you have to merge all these changes into the parent file.

BUT, this cannot happen, you do not have the storage space, and even if you did try, I am not sure the merge would complete correctly, so quickest method is to clone it out....

and in future, set Snapshot Alarms, or add check snapshots of VMs, to your daily VMware Admin checks... after every backup.

Do you still have the Prompt Retry or Cancel open ?
0
Uni KittyCommented:
You can't always believe the console, especially if the snapshot chain is out of sync or broken. If you see delta files in the directory of the VM then that's a red flag that this happened. You definitely should read the article from Andy to understand this fully and then be patient in the process for committing the snapshots, because your snapshots are very very large.
0
Ricardo SalazarAdministratorAuthor Commented:
I could only increase to 60 GB LUN, the function consolidate eliminate the delta snapshot ??
upgradedisk.JPG
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
do not use consolidate.

it will not work. you have left this too long.

either increase the lun space by 60GB this will give you a breathing space allow the VM to be powered up and then power down.

then use the option I have specified.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
you could then do a V2V with converter or use the vmfskstools command to clone I would recommend this course of action.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
As you have already upgraded the LUN.

1. Power up the VM.

2. Turn OFF, when it's started.

3. Do you have vCenter Server to manage your VMs, it makes the operation a little easier ?
0
Ricardo SalazarAdministratorAuthor Commented:
Hi Andrew Hancock

when I run the command I have the following error.

PD. Yes, I use the vCenter for the administration of the VM
DLO1.docx
0
Ricardo SalazarAdministratorAuthor Commented:
Failed to clone disk: The system cannot find the file specified (25).
Error-DLO.JPG
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Okay.....

Good.....use vCenter Server, and select Right Click the VM, and try CLONE....

See what the error is, the error you reported means the disk is corrupted....
0
Ricardo SalazarAdministratorAuthor Commented:
Hi Andrew

I have not space to clone all the Virtual since you have multiple hard disks, you may need to clone disk cloning indicating that ?? but now I see that no longer points to a delta ... that means ?? attachment.
regards
DLO-2.docx
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
So this VM, has many disks, and you do not have the space to CLONE the entire VM ?

it's possible, that the last snapshot is corrupted, because the disk filled up.

Did you try and start the VM, and shutdown ?
0
Ricardo SalazarAdministratorAuthor Commented:
1.) He is right, I can not clone because I have no space, what if I create a temporary virtual and single attachment that LUN Disk ??

2.) Yes, I can turn on and off the virtual Virtual no problem with the VM.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Okay, if the VM, can be powered-up and off, with no issues, the disk does not appear corrupted.

It's possible that the command line syntax was not executed correctly.

this was the command I gave you...

vmkfstools -i 79.45 W8 Srv.Symantec DLO0000003.vmdk /vmfs/volumes/iSCSI_DLO_LCC_/newfile/79.45 W8 Srv.Symantec DLO.vmdk

this was based on the information, you gave me when the VM had three snapshots, from the lastest screenshot, it would appear, these are missing ?

can you screenshot the VM folder, with the files available.
0
Ricardo SalazarAdministratorAuthor Commented:
hi
I attached the document with the requested information
regards
DLO-2.docx
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
so where have the other two snapshots gone ?

0002 and 0003 ?

there were

790GB
122GB
173GB

Total of 1TB

that were in the first screenshot of the datastore ?
0
Ricardo SalazarAdministratorAuthor Commented:
After consolidating the discs, were only the files shown in the image.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
I did state do use use Consolidate it will not work! (in my post above http:#a40742702)

We will have to continue, and see if this can be recovered.

I'll move on...

Was this quick or take hours to complete ?

you will need to use the following command...

vmkfstools -i 79.45 W8 Srv.Symantec DLO0000001.vmdk /vmfs/volumes/iSCSI_DLO_LCC_/newfile/79.45 W8 Srv.Symantec DLO.vmdk

but using the only snapshot you have available.
0
Ricardo SalazarAdministratorAuthor Commented:
hi
I have the following error
Error-DLO2.JPG
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
this seems odd, because you state the VM can be powered on ?

but if this snapshot is still connected to the VM, it would not power on with the same error message...

what does the VM Server do, what's it's function?

and when you powerered it on, did it seem out of date ?

can you also screenshot the disk1 settings in the VM, to see if the snapshot is still connected ?

Please also note, the command I gave as an example CLONES this to a new volume with space.

the command you executed, will clone to the current VMFS datastore, so you you have approx 1TB for the clone ?

So you will need to have space on a datastore, somewhere for this cloned disk. (exactly the same size).

What is the max size of the disk ?
0
Ricardo SalazarAdministratorAuthor Commented:
thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.