All of lore.kernel.org
 help / color / mirror / Atom feed
From: Piavlo <piavka@cs.bgu.ac.il>
To: John Wong <johnw@wonghome.net>
Cc: kvm@vger.kernel.org
Subject: Re: Can i shrink the image file size?
Date: Sat, 21 Mar 2009 21:47:36 +0200	[thread overview]
Message-ID: <49C54458.70201@cs.bgu.ac.il> (raw)
In-Reply-To: <49C519C6.2020908@wonghome.net>

You can create another smaller disk image and with help of
losetup,kpartx and ntfsclone
clone the ntfs data to the new image.

John Wong wrote:
> I create the 30G qcow2 image file, installed winxp, winxp show me the
> harddisk used 5G, but the image file size is 12G now.
> can i shrink the image file size? how?
> my kvm version is: "kvm-84", qemu version is: "0.9.1".
> please help, thank you.
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>   


  reply	other threads:[~2009-03-21 19:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-21 16:45 Can i shrink the image file size? John Wong
2009-03-21 19:47 ` Piavlo [this message]
2009-03-21 20:25 ` Luca Tettamanti
2009-03-22  1:12 ` Ross McKay
2009-03-22  4:20   ` Matthew Palmer
2009-03-23  5:26 ` Alberto Treviño
2009-03-23  8:03   ` Ross McKay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49C54458.70201@cs.bgu.ac.il \
    --to=piavka@cs.bgu.ac.il \
    --cc=johnw@wonghome.net \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.