![]() Zerofree must be run on a read only partition. # ġ:zerofree # ~]# cat /etc/oracle-release ![]() So got the package from rpmbone and installed in on my guest system ~]# rpm -ivh /media/sf_orasource/zerofree-1.0.86_64.rpmĪttention: /media/sf_orasource/zerofree-1.0.86_64.rpm: Entête V3 DSA/SHA1 Signature, key ID 217521f6: NOKEY While you can get the source code (made up of 2 files.) which you have to compile, I used an rpm for Enterprise Linux 5 even though I was on an Oracle Enterprise Linux 6.3. This low level reset can be done with a tiny piece of software called zerofree written by Ron Yorston. For the compact option to work, you have to reset all blocks that don’t match a file listed in the partition table to zero ‘0’. ![]() This time it allows you to compact your dynamically allocated disks: VBoxManage modifyvdi srvoel099.vdi -compactīut that won’t do much because you big, fat files may have been deleted from your VM, they have only been deleted from your volume’s partition tables, the actual data is still there in all the blocks. Oracle Virtualbox provides a command line utility called VBoxManage which I already mentioned in another post about mass creation of virtual disks. After playing a few time with a virtual machine, installing and un-installing Oracle software on Oracle VirtualBox, I realised that the vdi disk files of some VM where not shrinking despite deleting all files on the virtual machine itself, and I needed the disk space to build other VMs, so what can I do? ls -lhĭrwx- 2 dwhite dwhite 4,0K nov.
0 Comments
Leave a Reply. |