Solved

vmware disk consolidation

Posted on 2014-03-27
34
2,539 Views
Last Modified: 2016-10-27
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.
0
Comment
Question by:CHI-LTD
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 17
  • 9
  • 8
34 Comments
 
LVL 62

Accepted Solution

by:
gheist earned 200 total points
ID: 39958398
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39958405
i tried that last night and got the error.  files remain..
0
 
LVL 62

Expert Comment

by:gheist
ID: 39958417
Try in desktop client - snapshot manager/delete all, it is much older and more solid button than "consolidate"
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 1

Author Comment

by:CHI-LTD
ID: 39958428
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..
0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 200 total points
ID: 39958435
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39958457
okay, thought so.
i can see the files listed in the gui, but not showing in ssh...
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39958473
0
 
LVL 120

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 300 total points
ID: 39958506
This is often the case with Consolidation.

Try the following:-

1. Create a new Snapshot
2. Wait 60 seconds
3. Delete ALL (the snapshots).

Check using SSH or Datastore Browser, do snapshots still exist?

see my EE Article

HOW TO: VMware Snapshots :- Be Patient
0
 
LVL 62

Expert Comment

by:gheist
ID: 39958508
Yes, delete tmp files when guest is off and consolidated and snapshots removed. You can use datastore browser too to delete them
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39958522
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
0
 
LVL 120
ID: 39958527
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.
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39958531
but i currently don't see any under the snapshot manage in the gui with the vm on..
0
 
LVL 120
ID: 39958562
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.
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39958570
looks like the vm is running on the shanshot./
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39958573
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...
0
 
LVL 62

Expert Comment

by:gheist
ID: 39958578
You have to power it off for service. While it is running it may continue to add journals.
0
 
LVL 120

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 300 total points
ID: 39958589
if you have a VM disk called -0000x.vmdk (where x is a number)

it's running on a snapshot.
0
 
LVL 62

Expert Comment

by:gheist
ID: 39958606
100 journals is inconsistency that has to be fixed. Making and deleting snapshot on powered off VM is the easiest try.
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39958614
ok will try that first.
0
 
LVL 62

Expert Comment

by:gheist
ID: 39958639
If visual solution fails delete journals while machine is still off (or safer -  rename tmp directory to qwerty)
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39958652
can you explain?
0
 
LVL 120
ID: 39958669
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.
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39958713
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
0
 
LVL 120
ID: 39958721
That's a good Action Plan.
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39959403
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
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39959624
saying unable to access file since it is locked.

going to snapshot it then delete & consolidate.
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39959680
didnt work either.  downed my acronis appliance which has the vm disk attached/locked.

its consolidating now..
0
 
LVL 62

Expert Comment

by:gheist
ID: 39959916
Cmon you doid not see it before that your acronisappliance is locking snapshots?
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39960107
nope!
really thinking if replicating the vms is worthwhile with the issues we have with it!!?

1x vm colsolidating
2x vms removing snapshot - still...
0
 
LVL 62

Expert Comment

by:gheist
ID: 39960133
1x move machine to different storage in different format.
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39960151
??
0
 
LVL 120
ID: 39960176
You need to investigate WHY, these Snapshots are being left.
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39960302
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.
0
 
LVL 120

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 300 total points
ID: 39960498
I've seen you post many issues with your Backup Solutions.

Its not really recommended to run two different backup solutions that use VMware Snapshots.

SLOW storage or datastores are also causes of leftover snapshots.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question