Link to home
Start Free TrialLog in
Avatar of Nick Smith
Nick SmithFlag for United Kingdom of Great Britain and Northern Ireland

asked on

disk consolidation vmware 5.0

Hi

We have an issue where one of the storage groups on vsphere has ran out of disk space. It's home to one of our mail DB servers (I migrated another VM away from it to attempt to clear space)

I decided to run the consolidation task to try and clear up some space, it's been going for over 3 hours and stuck at 16%. My question is, is this normal? The VM is no longer running because there is no disk space so should I have shut the vm down before I ran the consolidation command?
ASKER CERTIFIED 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
Avatar of Nick Smith

ASKER

Current situation. We have two Exchange 2010 database servers.

2010B is down due to lack of disk space for the VMDK, I have initiated the consolidation which is stuck at 16%.

Where do I find the size of the snapshot? If I go into snapshot manager it only lists one that was created by NetVault last year.
Browse the datastore, and look in the virtual machine folder ?

so it is currently stuck at 16% ?

is there space on the datastore for it to complete the merge ?
Yes, stuck at 16% and there is 12MB of space left on the datastore...so no, it doesn't have enough space to complete the merge.

I'm browsing through to the VM folder but not sure exactly what I'm looking for. I can see all the VMDK's (looks like there is replication in there) but can't see any large snapshot files.
a file with -0000x (where x is a number). - post me a screenshot.

okay, it could be stuck, because there is not enough space, how long has it been stuck, and is the VM off ?

can you increase more storage space ?

what is the type of storage, the datastore is on?
It failed with error "operation cannot be performed in current state (powered off)"

I'll browse through again, but attached is the screen shot!

I'm looking at the increasing storage now if at all possible. It's a Dell Equalogic that was put in well before I joined!
Screen-Shot-2015-06-29-at-16.45.12.png
Screen-Shot-2015-06-29-at-16.45.39.png
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
I don't think I have the storage capacity to clone that VM!

What is the procedure for the 1st option? As it sounds like it might be more straight forward?

Luckily the other database server is fine, only issue is about 13 mailboxes are local to the one that's down for some reason!
Can you tell. When in vmware it specifies provisioned space and used space (against the VM) If I migrate it over to another datastore, will it migrate the "used space"

Basically the provisioned space of the VM in question is 4.27TB and the used space is 2.5TB. I have a datastore that has 3.99TB of unused space. Can I migrate this VM to that datastore if it's only migrating the used space??
The quickest  method is to check all the original virtual disks, in the VM properties, and add them up.

at present your used space, is skewed because of the space being used by snapshots.

Your new VM will be much less, because zero snapshots.
Well I've cleared down the other equalogic, shut the VM down and currently migrating to that storage pool. So far it's happy (at 27%) and didn't complain when I selected that pool during the migration assistant.

Lets see how this pans out!
Did you Migrate or CLONE ?

Migrate may just move the VM with all the snapshots, and then you will have to perform a Snapshot MERGE.

CLONE, will clone and merge at the same time, and take a similar amount of time, and then you'll be able to power on the VM, and ZERO snapshots and issue. (you'll also have a backup of the original VM!)
I migrated! I didn't think to clone.
Yes, sorry. Lets see how this migration goes.

There is 4TB of available space where it's shifting too so hopefully we'll be OK.
let me know, when it's done, and check the snapshots, e.g. the files -00000x.vmdk, where X is a number.

e.g. check datastore

DO NOT POWER IT ON!

and we'll continue....
Migration completed successfully (although it took about 13 hours) and now I'm just running the consolidation task against the VM whilst it's still powered off.
Consolidation task stuck at 99% currently (has been for about the last 45 minutes)
Be patient....it can stick at 95%, 99%....

did you read me EE Article I wrote on snapshots...
I'm just in the process of reading now (whilst having a coffee!)
Process has now completed successfully.
Yes! Your EE article is fantastic by the way.

The VM is now back up and running happily.

Thanks for your help.
Glad you like the article, thanks for your kind words.
Great response and advice, excellent tech note as well.