Custom Query (16363 matches)
Results (2134 - 2136 of 16363)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #3195 | duplicate | Compact VDI in 2.1.2 still not working. | ||
| Description |
Trying to compact a VDI and I get: C:\Program Files\Sun\xVM VirtualBox>vboxmanage modifyhd c:\docs\virtualbox\vdi\winxp.vdi compact VirtualBox Command Line Management Interface Version 2.1.2 (C) 2005-2009 Sun Microsystems, Inc. All rights reserved. Error: Shrink hard disk operation is not implemented! C:\Program Files\Sun\xVM VirtualBox> I know a work around but this function should work if the docs say that it is implemented in this version. |
|||
| #13405 | worksforme | Compact of fixed-size VDI broken | ||
| Description |
Hi, I just broke a set of shared VDI disks. I was running out of diskspace so i thought it would be a good idea to compact my fixed-size shared disks. Well its not. I was able to execute the modifyhd --compact command successfull for the fixed-size disks. Writing to the disks is not persistent anymore. This is how you can reproduce the bug: Tested with Ubuntu 14.04 on Windows7 x64 Hosts Scenario 1: Create Fixed Disks VDI, compact VDI, create partition table, create FS. Scenario 2: Create Fixed Disks VDI, create partition table, create FS, compact VDI.
1- "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" createhd --filename TEST1.vdi --size 256 --format VDI --variant Fixed 2- "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" createhd --filename TEST2.vdi --size 256 --format VDI --variant Fixed 1- "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" modifyhd TEST1.vdi --type writethrough --compact 2- "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" modifyhd TEST2.vdi --type writethrough
1- TEST1.vdi -- /dev/sdb 2- TEST2.vdi -- /dev/sdc
1- creation of Partiontable failed. fdisk -l /dev/sdb returns nothing. 2- OK
2- "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" modifyhd TEST2.vdi compact -> Size of VDI ~ 36MB
2- root@1404:~# mount /dev/sdc1 /mnt root@1404:~# cp /dev/urandom /mnt/out.rnd cp: Fehler beim Schreiben von »/mnt/out.rnd“: Auf dem Gerät ist kein Speicherplatz mehr verfügbar cp: »/mnt/out.rnd“ konnte nicht erweitert werden: Auf dem Gerät ist kein Speicherplatz mehr verfügbar root@1404:~# md5sum md5sum md5sum.textutils root@1404:~# md5sum /mnt/out.rnd 60cae031f9476b3b22767881cee55c29 /mnt/out.rnd root@1404:~# ls -ls /mnt/out.rnd 250817 -rw-r--r-- 1 root root 255832064 Sep 16 10:04 /mnt/out.rnd
==> STILL ~36MB !!!!!
root@1404:~# mount /dev/sdc1 /mnt root@1404:~# ls -ls /mnt/out.rnd ls: Zugriff auf /mnt/out.rnd nicht möglich: Datei oder Verzeichnis nicht gefunden ==> File not found Cheers Oliver |
|||
| #11210 | obsolete | Compacting a writethrough or multiattach disk makes the virtual machines inaccessible | ||
| Description |
Whenever you do hdinfo or modifyhd --type, and open VirtualBox within 5 seconds, the machines will be accessible. If you do hdinfo or modifyhd --type, and open VirtualBox after 5 seconds, the machines will be inaccessible. |
|||

