All of lore.kernel.org
 help / color / mirror / Atom feed
* "create snapshots of any block device"
@ 2013-01-22 11:12 Hauke Laging
  2013-01-22 11:22 ` Bryn M. Reeves
  0 siblings, 1 reply; 2+ messages in thread
From: Hauke Laging @ 2013-01-22 11:12 UTC (permalink / raw)
  To: device-mapper development


[-- 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 --]



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

end of thread, other threads:[~2013-01-22 11:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-22 11:12 "create snapshots of any block device" Hauke Laging
2013-01-22 11:22 ` Bryn M. Reeves

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.