Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have inherited what I think is a badly configured VMWare ESXi 4.1 system, I know very little about VMWare. It currently hosts 2 systems. They are both on the same datastore, which is on RAID 5.

  • System A has 44GB of used storage
  • System B has 1.28TB of used storage. Thin provisioned. The guest (Windows 2003 server) thinks it has 1.69TB.
  • The datastore has 0.00B free (!).

The datastore hit zero as system B was growing rapidly. I am migrating services off of System B as fast as I can (and deleting stuff!). I still need it for a while.

The guest now reports it is using around 700GB. It also needs a defrag. The VMWare host does not have the space for System B, if System B zeroes all its blocks: I believe defragging System B should improve its performance, but increase its "used storage". If I delete System A, giving the datastore 44GB, can I defrag system B without system B trying to expand to fill more than the host has, and never booting again?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

I'm sure this has been asked before here but in general you should defrag your guest OS's the same as you would in a physical server with one exception, when you're using thin provisioning. If you defrag a thin disk it'll just blow it out to its full 'thick' size - one of the reasons why you need to really understand what you're doing before using thin disks.

share|improve this answer
1  
I have read elsewhere that defragging a guest will increase the size of a thin disk. But will it really increase it to its full thick size? Can someone who has tried this comment, can someone point me to some documentation? –  ColonelFazackerley Jul 6 '11 at 14:03
1  
It will, that's what I said, I know, I've done it and seen this happen (ESXi 4.1, Windows 2008) –  Chopper3 Jul 6 '11 at 14:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.