Please consider registering

Log In

Lost password?
Advanced Search:

— Forum Scope —

— Match —

— Forum Options —

Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Virtual Machine disks consolidation is needed
December 16, 2014
10:29 am
Forum Posts: 217
Member Since:
September 30, 2012




I have one VM rhel 5.10 64 bit installed on vSphere 5.5 and it generated critical alert:

Virtual Machine disks consolidation is needed


That happen when VM have snapshots but they not seems to be linked to it any more.



1. Download the .vmx and open it with a text editor (I prefer Notepad++ for this kind of work) find the line that has the virtual disk files configured  scsi0:0.fileName = "virtual-machine-000001.vmdk" and remove "-000001" so you are left with scsi0:0.fileName = "virtual-machine.vmdk" save the file.

2. Rename the .vmx file on the datastore to .old and upload the edited .vmx file.
3. Reload vmx file by running on ESX server command (blade in my case):

# for a in $(vim-cmd vmsvc/getallvms 2>&1 |grep invalid |awk '{print $4}'|cut -d \' -f2);do vim-cmd

vmsvc/reload $a;done 


4. If you get the "Virtual Disk Consolidation needed" message, go to the Snapshot menu and click "Consolidate" it should run correctly now and remove the message.

Sources: 1, 2


Thank you.

Forum Timezone: UTC 0

Most Users Ever Online: 31

Currently Online:
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 0

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 3

Forums: 20

Topics: 214

Posts: 214

Newest Members: Lo0oM

Administrators: Lo0oM (217)