LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices


Reply
  Search this Thread
Old 02-20-2012, 01:50 AM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 135,215

Rep: Reputation: 128Reputation: 128
LXer: Truncate KVM/QEMU Raw Disk Image


Published at LXer:

Most modern filesystems allow you to create virtual disk files without pre-allocating disk space. These virtual disks grow in size as the space is needed. The default virtual disk image type in KVM/QEMU is a sparse “raw” disk image which consumes real disk space as files are added. Interestingly, when files are deleted the virtual disk does not shrink. This makes sense as deleting files from a filesystem doesn’t typically erase the data but only the reference to where the data is stored on the disk. What follows is a recipe to reclaim this disk space.

Read More...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kvm-qemu-img: qcow2 disk image format changes to raw format in RHEL-KVM 5.6 rajivdp Linux - Virtualization and Cloud 2 09-19-2011 11:23 AM
[Debian/Qemu/KVM] Why qemu --enable-kvm works but not kvm directly? gb2312 Linux - Virtualization and Cloud 2 03-21-2011 02:05 PM
LXer: Attempt of qemu-kvm-0.14 patching via Gerd’s Hoffmann “spice/qxl: locking fix for qemu-kvm” on LXer Syndicated Linux News 0 03-14-2011 01:20 PM
Using qemu-kvm image to boot my pc luvshines Linux - Virtualization and Cloud 3 03-01-2010 01:16 AM
Trying to convert VMWare image to raw using Qemu: error - "image open" JamesHall Linux - Software 1 07-22-2008 04:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 12:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration