Link to home
Start Free TrialLog in
Avatar of Mohd Nasir Maideen Sahib
Mohd Nasir Maideen Sahib

asked on

VHD expanding daily and now physical disk is going to be full

My VHD keeps expanding and the physical space is going to be full. I do not know what to do.

DIsk: Logical F: 300GB
HyperV disk: Dynamically expanding virtual hard disk
size: 250GB
Maximum size 250GB.

Now the vhd is 280GB.  I only have 14GB left. When i shutdown the VM, the host disk (F:) will have about 40GB left. After one hour later it will go back to 14GB because the VHD expands back to 280GB. Tomorrow it will expand further.

I really don't know what to do. please help. Urgent. It is an Exchange server.
Avatar of CompProbSolv
CompProbSolv
Flag of United States of America image

What is taking up the space on the VHD?  I use TreeSizeFree from Jam-software-com to identify where all the space went.
Avatar of Justin Evans
Justin Evans

where abouts have you stored the mail logs?  is it stored on this disk?  if so you could enable circular logging to reduce the space you are using.  after you have freed up the space do a Full Backup

this URL explains circular logging.

http://technet.microsoft.com/en-us/library/bb331958%28v=exchg.141%29.aspx#UTL

kind regards

Justin
Avatar of Mohd Nasir Maideen Sahib

ASKER

I opened up the VM. It still has about 60GB storage out of the allocated size which is 250GB.

I am experiencing this on host level. inside VM storage space and all working just fine and normal.

It is the host. The VHD keeps expanding.
Hi Justin. It is not in the VM level. In the VM space is healthy.

It is the host level. Seems like Windows is expanding the vhd for no reason???
Good afternoon,

First you must validate if there is a record that is constantly growing on the disk, at the Host level, how much space do you have available in the storage?

You can also try creating a new vhd in the host operating system, depending on the space you have available physically.

It also makes a backup of the data that is stored on the disk.

You can share a printer to help you better.

Regards...
Good afternoon Mhod Nasir,

Could you validate the previous steps?

Another pregutna that VM where the disk grows constantly, has snapshot, remember that snapshot a take up a lot of space at the storage level, since they write all the information about the disk that you are taking the snapshot, since the original disk remains in reading mode .

If you have snapshot present, delete it and you can recover more space.
I've managed to control this sort of thing by shrinking the partition size within the VHD itself.  You can manually extend it if you need to, as you need to, until you get sufficient disk space so that you're not overcommitted.
Good afternoon Mhod Nasir,

I also think that you could convert the disk to a fixed size and not dynamic, so you would also avoid this type of problems, or reduce the partition.
Hi. I dont have space to convert to fixed disk.

the host (F: partition is 300GB) now the VHD is 280GB. If i were to convert it, the F: drive needs to have at least another 280GB correct?
Anyway.. this morning, the space decrease a little. from 14gb left. Now 28gb left. Im really not sure what is happening.

see screenshot.

User generated image
User generated image
User generated image
Good Morning,

If correct, you need 280 GB.

Could you validate the same way on the disk as a record that is constantly growing?

Did you validate if the disk has a snapshot?

Perform a disk cleanup and then a defrag to recover the disk.

If the spy decreased this morning, it may be that there is a record on the disk that is growing daily.

I remain attentive to your comments.
hi..

1. disk confirmed has no snapshot
2. perform disk clean up and defrag on the HOST level or VM level?
3. I dont get you when you say spy decrease this morning. Sorry able to explain?
ASKER CERTIFIED SOLUTION
Avatar of RAFA
RAFA
Flag of Venezuela, Bolivarian Republic of 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
Hi..

Noted on the following

1. ok. done.

2. I will try defrag.

physical host is windows server 2008 and hyper-v also windows server 2008

3. This is the part. i am currently monitoring. i take a picture daily and compare it. i will update here once i see some changes. so far after a restart of the host and vm space is constant and remains intact. will continue monitoring.
Good Morning,

Okay, you can proceed with the cleanup and defragmenting both the host and the vm and let me know the results.

Regards...
Goodnight,

Could you perform the disk cleanup and defragmentation of both the host and the vm? Did you have the desired results?

Watch for your comments.
hi.. i've been monitoring the vm and host for now and it looks like it has stabilize. so far 3 days and storage space didnt spike up. As it is an exchange server vm, we are moving onto o365 in a few weeks. i guess i wouldnt want to do anything on it at the moment. Im just worried it will not turn out to be what we expected and its gonna be another firefight.

Lastly, i would like to comment that eversince the space becomes and issue, these are d few thing that i did.

1. restart VM
2. restart host
3. disable backup of the VM (on host level) - (backup is using Backupassist; backup VM)
thank you for working closely with me on this. i guess your solution might work. its just that i didnt want to proceed as i am moving to o365 soon. i let the matter rest since the server is already stable. thanks for being dedicated.
Good afternoon,

In account, much success with the change, any doubt, do not hesitate to contact us.

Best regards