Linux Device Mapper development
 help / color / mirror / Atom feed
From: Hauke Laging <mailinglisten@hauke-laging.de>
To: device-mapper development <dm-devel@redhat.com>
Subject: "create snapshots of any block device"
Date: Tue, 22 Jan 2013 12:12:58 +0100	[thread overview]
Message-ID: <1766138.NkjTPulnJa@inno> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1102 bytes --]

Hello,

I am a bit surprised to read this:
"Device-mapper allows you, without massive data copying:

*) To create snapshots of any block device [...]"

here:
http://www.kernel.org/doc/Documentation/device-mapper/snapshot.txt

Isn't that at least misleading? Is it really possible to create a snapshot of 
e.g. /dev/sda5 without creating an *additional* device as snapshot origin?


I export LVs to a VM where they appear as regular disks so that I cannot use  
LVMs snapshot integration. Thus I create a dm device with a linear mapping to 
each of these disks and mount the dm device, not the disk.

I just had the idea to create these dm layer devices as snapshot-origins from 
the start (instead of loading this target when a snapshot is really going to 
be created). Is there anything to be said against this? Is there any reason at 
all to use linear instead of snapshot-origin for devices with just one target 
(except for possible confusion)?


Hauke
-- 
☺
PGP: 7D82 FB9F D25A 2CE4 5241 6C37 BF4B 8EEF 1A57 1DF5 (seit 2012-11-04)
http://www.openpgp-schulungen.de/

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

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



             reply	other threads:[~2013-01-22 11:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-22 11:12 Hauke Laging [this message]
2013-01-22 11:22 ` "create snapshots of any block device" Bryn M. Reeves

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=1766138.NkjTPulnJa@inno \
    --to=mailinglisten@hauke-laging.de \
    --cc=dm-devel@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