qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Disk images
@ 2005-11-02 19:02 Julien Lancien
  2005-11-02 19:33 ` [Qemu-devel] " Julien Lancien
  2005-11-06 21:16 ` [Qemu-devel] " Henning Sprang
  0 siblings, 2 replies; 3+ messages in thread
From: Julien Lancien @ 2005-11-02 19:02 UTC (permalink / raw)
  To: qemu-devel

Hi,

The user forum seems to have been down for a while, so I post my
question to this mailing list.

The -smd dir option allows the emulated machine to access the external
world. I was wondering if there was a way to do it the other way:
allow the host to access the disk image of the emulated machine.

My problem is that I used virtual machine to prepare various flavor of
Linux (installation, configuration), and I'ld like to make a tar image
of the files once I'm finished. Currently, I boot a live cd inside the
virtual machine, mount the smb dir, and then make the transfer. But it
is damn slow ! Maybe there is way to get the data from the disk image
directly ?

A related question: which disk format offer the best performances ? I
don't care much about space, but I'ld like to use some of the virtual
machines as regular machines and not just for test.

Talking about disk images, is there some way to defragment them ? I
mean after a while, being used a lot, they probably get fragmented too
(inside the disk image, not the file of the disk image).

And finally my last question: imagine I create a big file in my
virtual OS, and then delete it, the size of the disk image won't
shrink. I guess that there are some filesystem issues there, but more
generally, can a disk image shrink eventually ?

Thanks for any tip, advice or help.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] Re: Disk images
  2005-11-02 19:02 [Qemu-devel] Disk images Julien Lancien
@ 2005-11-02 19:33 ` Julien Lancien
  2005-11-06 21:16 ` [Qemu-devel] " Henning Sprang
  1 sibling, 0 replies; 3+ messages in thread
From: Julien Lancien @ 2005-11-02 19:33 UTC (permalink / raw)
  To: qemu-devel

> The -smd dir option allows the emulated machine to access the external
> world. I was wondering if there was a way to do it the other way:
> allow the host to access the disk image of the emulated machine.
>
> My problem is that I used virtual machine to prepare various flavor of
> Linux (installation, configuration), and I'ld like to make a tar image
> of the files once I'm finished. Currently, I boot a live cd inside the
> virtual machine, mount the smb dir, and then make the transfer. But it
> is damn slow ! Maybe there is way to get the data from the disk image
> directly ?

Ok, found the answer for this one here:
http://wiki.archlinux.org/index.php/Qemu.

Sorry, I should have searched before.

> A related question: which disk format offer the best performances ? I
> don't care much about space, but I'ld like to use some of the virtual
> machines as regular machines and not just for test.
>
> Talking about disk images, is there some way to defragment them ? I
> mean after a while, being used a lot, they probably get fragmented too
> (inside the disk image, not the file of the disk image).
>
> And finally my last question: imagine I create a big file in my
> virtual OS, and then delete it, the size of the disk image won't
> shrink. I guess that there are some filesystem issues there, but more
> generally, can a disk image shrink eventually ?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] Disk images
  2005-11-02 19:02 [Qemu-devel] Disk images Julien Lancien
  2005-11-02 19:33 ` [Qemu-devel] " Julien Lancien
@ 2005-11-06 21:16 ` Henning Sprang
  1 sibling, 0 replies; 3+ messages in thread
From: Henning Sprang @ 2005-11-06 21:16 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 307 bytes --]

Hi Julien

On Wed, 2005-11-02 at 14:02 -0500, Julien Lancien wrote:
> Hi,
> 
> The user forum seems to have been down for a while, so I post my
> question to this mailing list.

The user forum has moved to http://qemu.dad-answers.com, but it looks
like user questions are allowed here.

Henning

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-06 21:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-02 19:02 [Qemu-devel] Disk images Julien Lancien
2005-11-02 19:33 ` [Qemu-devel] " Julien Lancien
2005-11-06 21:16 ` [Qemu-devel] " Henning Sprang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).