VDI is full
-
RGH45
- Posts: 2
- Joined: 16. Mar 2011, 15:58
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: Windows
VDI is full
I am using VBOX4.0.4 on Windows 7 Host and have created a Windows 7 Guest initially with the recommended 20GB VDI. Within a short period the Guest is showing its disk as full altough I specified dynamically expanding. I have resized to 40GB and compacted the VDI using vboxmanage modifyhd. Virtual Media Manager is showing the vdi as virtual size 39.06GB and actual size 18.94 GB. I am unable to create more date or install programs in the VM. I have searched the forum and not understood any of the posts relating to this subject, as they all seem to relate to Linux. What, please, do I have to do in Windows to enlarge the vdi file size?
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: VDI is full
You have resized the drive but not the partition. Open the disk manager in the guest and resize the partition to include the extra drive space or use a partitioning package like Gparted mounted in the guests virtual CD/DVD and boot the guest.
-
RGH45
- Posts: 2
- Joined: 16. Mar 2011, 15:58
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: Windows
Re: VDI is full
Thank you. So simple! If only VirtualBox Help mentioned this in plain English.
-
drDubbelklick
- Posts: 9
- Joined: 16. Nov 2012, 02:14
Re: VDI is full - follow up question
I have a follow-up question to this thread:
I have the 4.2.4.r81684 version, with Windows 7 Home Premium 64-bit, and have run into the exact situation as the thread starter, but I have also created additional snapshots along the way, to be able to back to a previous state.
I have also created a dynamically increasing virtual hard drive, set initially to 10Gb, which has now become full, and XP (running inside the VM) is reporting low disc space, so my scenario is pretty similar to what the thread starter has.
However, when running vboxmanage modifyhd, I guess that the option I should use is --resize 20, but, which uuid or machine name should I use?
I tried specifying the UUID of the last snapshot, but then the command reported the following error:
D:\Program Files\Oracle\VirtualBox>vboxmanage modifyhd 3f3f8e87-8e90-46d0-9f6c-136e6c506a8a --resize 20
VBoxManage.exe: error: The given path '3f3f8e87-8e90-46d0-9f6c-136e6c506a8a' is
not fully qualified
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Medium, interface IMedium, callee IUnknown
VBoxManage.exe: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 220 of file VBoxManageDisk.cpp
Best Regards
/Thomas
I have the 4.2.4.r81684 version, with Windows 7 Home Premium 64-bit, and have run into the exact situation as the thread starter, but I have also created additional snapshots along the way, to be able to back to a previous state.
I have also created a dynamically increasing virtual hard drive, set initially to 10Gb, which has now become full, and XP (running inside the VM) is reporting low disc space, so my scenario is pretty similar to what the thread starter has.
However, when running vboxmanage modifyhd, I guess that the option I should use is --resize 20, but, which uuid or machine name should I use?
I tried specifying the UUID of the last snapshot, but then the command reported the following error:
D:\Program Files\Oracle\VirtualBox>vboxmanage modifyhd 3f3f8e87-8e90-46d0-9f6c-136e6c506a8a --resize 20
VBoxManage.exe: error: The given path '3f3f8e87-8e90-46d0-9f6c-136e6c506a8a' is
not fully qualified
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Medium, interface IMedium, callee IUnknown
VBoxManage.exe: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 220 of file VBoxManageDisk.cpp
- So, should I specify the fully qualified path to the original VDI file, or how should I use the command?
- If I specify the fully qualified path to the original VDI file, will my snapshots still be valid?
Best Regards
/Thomas
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: VDI is full
Snapshots are going to keep this from working. You can not resize a guest that has them.
You might be able to clone the current state and then resize that since it would include the snapshots all into a single VDI, and then resize that.
Note: a full clone not a linked clone.
Then see this link on how to resize the guest.
viewtopic.php?f=24&t=50661
Or you can use CloneVDI Tool. Be sure to read the release notes on how to do this.
You might be able to clone the current state and then resize that since it would include the snapshots all into a single VDI, and then resize that.
Note: a full clone not a linked clone.
Then see this link on how to resize the guest.
viewtopic.php?f=24&t=50661
Or you can use CloneVDI Tool. Be sure to read the release notes on how to do this.
-
drDubbelklick
- Posts: 9
- Joined: 16. Nov 2012, 02:14
Re: VDI is full
Thanks Perryg, that was exactly what I needed!Perryg wrote:Snapshots are going to keep this from working. You can not resize a guest that has them.
You might be able to clone the current state and then resize that since it would include the snapshots all into a single VDI, and then resize that.
Note: a full clone not a linked clone.
Then see this link on how to resize the guest.
viewtopic.php?f=24&t=50661
Or you can use CloneVDI Tool. Be sure to read the release notes on how to do this.
BR
/Thomas