Is My HD Dynamic?

This is for discussing general topics about how to use VirtualBox.
Post Reply
fullmoonguru
Posts: 10
Joined: 8. Sep 2010, 15:41
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: XP

Is My HD Dynamic?

Post by fullmoonguru »

I'm sure I created a dynamic HD for my Windows guest (been through the fixed disk problem already), but Windows says it's running out of room. How do I tell in VB which kind of virtual disk I have?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Is My HD Dynamic?

Post by mpack »

If by "Windows says it is running out of room" you mean a message from inside a Windows guest, then I think you misunderstand how a dynamic disk image works. The maximum drive capacity is determined at creation time regardless of whether you make it fixed or dynamic. The only difference between the two is the file size as it appears on the host. The dynamic format is dynamic only in the sense that host space is only allocated on demand up to the max, the guest does not get all that host disk space at once as it does when you use fixed. Having a drive which dynamically increases capacity (which is what you appear to believe it means) would also require a guest OS whose filesystem is capable of tolerating such a thing: and NTFS certainly is not.

To put it another way: if you create a virtual 10GB drive, and you put 10GB data into it, then that drive is full regardless of whether you chose fixed or dynamic. You would need to use a tool such as CloneVDI to enlarge the drive capacity.
Post Reply