Link to home
Start Free TrialLog in
Avatar of CHI-LTD
CHI-LTDFlag for United Kingdom of Great Britain and Northern Ireland

asked on

vmware disk consolidation

foudn one of my vms had loads of file and so ran a consolidation of disks.

getting:

This virtual machine has more than 100 redo logs in a single branch of its snapshot tree. Deleting some of the snapshots or consolidating the redo logs will improve performance. The maximum number of redo logs supported is 255.
This virtual machine has more than 100 redo logs in a single branch of its snapshot tree. Deleting some of the snapshots or consolidating the redo logs will improve performance. The maximum number of redo logs supported is 255.
ASKER CERTIFIED SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CHI-LTD

ASKER

i tried that last night and got the error.  files remain..
Try in desktop client - snapshot manager/delete all, it is much older and more solid button than "consolidate"
Avatar of CHI-LTD

ASKER

i think i would have done, but there aren't any option to do this.  not snapshots in here.  but the client shows consolidation needs to be run..
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CHI-LTD

ASKER

okay, thought so.
i can see the files listed in the gui, but not showing in ssh...
SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yes, delete tmp files when guest is off and consolidated and snapshots removed. You can use datastore browser too to delete them
Avatar of CHI-LTD

ASKER

so power the vm off first.
then snapshot through Vmware (not 3rd party tool)
then delete it (which will delete the old ones too?)

thanks
That's correct, it does not matter, whether the VM is on or off.

Yes, DELETE ALL, will remove the entire chain of snapshots.

try it.

Please report back if successful.
Avatar of CHI-LTD

ASKER

but i currently don't see any under the snapshot manage in the gui with the vm on..
That's normal, that snapshots could be missing from Snapshot Manager.

Can you check if your VM is running on a Snapshot, see my Article above to check.
Avatar of CHI-LTD

ASKER

looks like the vm is running on the shanshot./
Avatar of CHI-LTD

ASKER

some of my other vms have some odd vmdk names, but must be running on the correct disk and not snapshot as only one there...
You have to power it off for service. While it is running it may continue to add journals.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
100 journals is inconsistency that has to be fixed. Making and deleting snapshot on powered off VM is the easiest try.
Avatar of CHI-LTD

ASKER

ok will try that first.
If visual solution fails delete journals while machine is still off (or safer -  rename tmp directory to qwerty)
Avatar of CHI-LTD

ASKER

can you explain?
If consolidation is not working, or Deleting snapshots is not working.

you will need to

1. CLONE the existing Virtual Machine disk.

or

2. Use VMware Converter to create a V2V.
Avatar of CHI-LTD

ASKER

So:

so power the vm off first.
consolidate

if not worked:
then snapshot through Vmware (not 3rd party tool)
then delete it (which will delete the old ones too?)

if that fails:
clone it
Avatar of CHI-LTD

ASKER

forgot to add that we had a power cut and our vms shutdown and restarted..
i have 2x vms on 2x different hosts removing snapshot since 11am and 8am today
Avatar of CHI-LTD

ASKER

saying unable to access file since it is locked.

going to snapshot it then delete & consolidate.
Avatar of CHI-LTD

ASKER

didnt work either.  downed my acronis appliance which has the vm disk attached/locked.

its consolidating now..
Cmon you doid not see it before that your acronisappliance is locking snapshots?
Avatar of CHI-LTD

ASKER

nope!
really thinking if replicating the vms is worthwhile with the issues we have with it!!?

1x vm colsolidating
2x vms removing snapshot - still...
1x move machine to different storage in different format.
Avatar of CHI-LTD

ASKER

??
You need to investigate WHY, these Snapshots are being left.
Avatar of CHI-LTD

ASKER

sure.  its happened before and we think its a conflict with other backup software and/or the replicas taking too long and clashing somehow and not removing the old files.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial