Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
6/7/14 10:36 am
" home
# about us
$ leadership
& solutions
! news
' contact us
% services
! news
Compacting
VirtualBox Disk
Images - Linux
Guests
Friday, October 18, 2013
This article explains the steps
needed to compact a VirtualBox
Disk Image where the guest
operating system is Linux.
S S S S M
10
Page 1 of 5
Solaris hosts.
VirtualBox allows for flexible storage management by
allowing for the creation of dynamically allocated guest
images. Most users go for the dynamically expanding
images in VirtualBox as they do not want to limit
themselves to a small virtual disk size and at the same
time do not want to waste disk space on their host while
the guest doesn't actually need it. Although these
images will initially be very small and occupy minimal
storage space, over time the images will grow. This is
due to the image expanding every time a disk sector
(virtual) is written to for the first time.
To help reduce excess disk usage, VirtualBox provides a
mechanism for compacting dynamically allocated guest
images. Below are the steps to follow if your guest
operating system is Linux:
1. Start the Linux virtual machine;
2. Clean the free space on the disk of the Linux virtual
machine;
3. Shutdown the Linux virtual machine;
4. Use the VirtualBox VBoxManage utility to compact
the Linux guest image.
6/7/14 10:36 am
Tweets
Net Reliant
@NetReliant
Show Summary
Net Reliant
@NetReliant
26 Jun
21 Jun
21 Jun
26 Jun
Follow
20 Jun
Tweet to @NetReliant
http://www.netreliant.com/news/8/17/Compacting-VirtualBox-Disk-Images-Linux-Guests.html#.U7g0YRYt3nc
Page 2 of 5
6/7/14 10:36 am
rm zerofillfile
http://www.netreliant.com/news/8/17/Compacting-VirtualBox-Disk-Images-Linux-Guests.html#.U7g0YRYt3nc
Page 3 of 5
6/7/14 10:36 am
Sitemap
" Home
Follow Us
on Twitter
Contact Us
(
3 Ellesmere Street,
Suite 519
Richmond Hill, Ontario
Canada L4B 4N2
+1.289.637.3325
'
inquiries@netreliant.co
m
# About Us
$ Leadership
% Services
& Solutions
! News
' Contact Us
http://www.netreliant.com/news/8/17/Compacting-VirtualBox-Disk-Images-Linux-Guests.html#.U7g0YRYt3nc
Page 4 of 5
http://www.netreliant.com/news/8/17/Compacting-VirtualBox-Disk-Images-Linux-Guests.html#.U7g0YRYt3nc
6/7/14 10:36 am
Page 5 of 5