ie0
asked on
Hyper-V low disk space
I have Win 2008 SP-2 Hyper-V
My only virtual machine has 3 partitions C: D: E:
They are all on the same VHD and are dymamicly sized.
I am running low on disk space on my Host data drive D: (where my VHD is)
Each of the 3 partitions has a lot of free space, and when I add up the data being used it is only about 60% of the total size of my Host D: drive. (but the VHD is taking up 95%).
I would like to shrink the partitions on the Virtual machine using GParted, but how can I tell which partition is taking up the most space in the .VHD?
I assume it is not as simple as the partition with the greatest size becuase they are all dynamically expanding and they all have free space.
My only virtual machine has 3 partitions C: D: E:
They are all on the same VHD and are dymamicly sized.
I am running low on disk space on my Host data drive D: (where my VHD is)
Each of the 3 partitions has a lot of free space, and when I add up the data being used it is only about 60% of the total size of my Host D: drive. (but the VHD is taking up 95%).
I would like to shrink the partitions on the Virtual machine using GParted, but how can I tell which partition is taking up the most space in the .VHD?
I assume it is not as simple as the partition with the greatest size becuase they are all dynamically expanding and they all have free space.
Check that you don't have shadow copies configured on your host D: drive as this could be eating your space up.
ASKER
Jake,
I think is used to have Shadow Copies enabled but I do not now.
However I do have a very large AVHD file (which I thought is only created when shadowcopy is enabled??)
Would merging the AVHD into the VHD lessen my disk space?
If so, do I just shutdown the Virtual server and then a merge will happend automatically?
I think is used to have Shadow Copies enabled but I do not now.
However I do have a very large AVHD file (which I thought is only created when shadowcopy is enabled??)
Would merging the AVHD into the VHD lessen my disk space?
If so, do I just shutdown the Virtual server and then a merge will happend automatically?
here you go...an explanation: -
http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/878f038a-efbe-4a0c-8164-ded772a2e972
http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/878f038a-efbe-4a0c-8164-ded772a2e972
if you are satisfied with your virtual server state at the moment and you don't have the need to revert back to an earlier configuration / data set you can simply "Delete the Snapshots" to re-claim your space.
Deleting Snapshots
http://blogs.msdn.com/virtual_pc_guy/archive/2009/04/15/what-happens-when-i-delete-a-snapshot-hyper-v.aspx
Managing Snapshots
http://blogs.msdn.com/virtual_pc_guy/archive/2008/01/16/managing-snapshots-with-hyper-v.aspx
http://itbloggen.se/cs/blogs/micke/archive/2008/09/20/like-snapshots-in-hyper-v-please-read-this.aspx
Normally, I would switch off the virtual server (create a downtime if you can) and then copy the required VHDs to a external storage (USB or SAN) and that way even if something goes wrong onto the virtual server HOST itself, I can always bring up the server on another Box.
Hope this helps
Deleting Snapshots
http://blogs.msdn.com/virtual_pc_guy/archive/2009/04/15/what-happens-when-i-delete-a-snapshot-hyper-v.aspx
Managing Snapshots
http://blogs.msdn.com/virtual_pc_guy/archive/2008/01/16/managing-snapshots-with-hyper-v.aspx
http://itbloggen.se/cs/blogs/micke/archive/2008/09/20/like-snapshots-in-hyper-v-please-read-this.aspx
Normally, I would switch off the virtual server (create a downtime if you can) and then copy the required VHDs to a external storage (USB or SAN) and that way even if something goes wrong onto the virtual server HOST itself, I can always bring up the server on another Box.
Hope this helps
ASKER
Mutahir,
Hyper-V manager tells me there are no snapshots for that VM.
But I have a 500GB AVHD file with tody's date.
If I merge the AVHD file to the VHD file, will I save any disk space?
Hyper-V manager tells me there are no snapshots for that VM.
But I have a 500GB AVHD file with tody's date.
If I merge the AVHD file to the VHD file, will I save any disk space?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
My 2 cents says - upgrade... Hope that helps.