linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Thomas Bellembois <thomas.bellembois@gmail.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] LVM snapshot - "dd" file size
Date: Wed, 16 Apr 2008 16:59:05 +0200	[thread overview]
Message-ID: <48061439.6040001@gmail.com> (raw)

Hi!

I am using LVM partitions on a Debian Xen system.
I use LVM snapshots to clone and backup my virtual machines.

I have noticed that the ISO file created with the "dd" command it much
bigger that the partition used space (actually 4.7GB for the ISO - 500MB
used space). No problem if I mount the LVM snapshot and "tar" all of the
data.

I have googled the question and read that "dd" also copy "not used space".
Why is the ISO file so big ? Is the "tar" method less safe ?
Is there a better solution ?

Thanks for your answers.

Regards,

Thomas

             reply	other threads:[~2008-04-16 14:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-16 14:59 Thomas Bellembois [this message]
2008-04-16 21:04 ` [linux-lvm] LVM snapshot - "dd" file size dave
2008-04-16 21:36   ` Denie Andriessen
2008-04-17 12:44     ` Thomas Bellembois

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=48061439.6040001@gmail.com \
    --to=thomas.bellembois@gmail.com \
    --cc=linux-lvm@redhat.com \
    /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 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).