All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] ANNOUNCE: an experimental implementation of snapshot merging
@ 2008-06-03 19:26 Mikulas Patocka
  2008-06-03 20:32 ` Brian J. Murrell
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Mikulas Patocka @ 2008-06-03 19:26 UTC (permalink / raw)
  To: linux-lvm; +Cc: Alasdair G Kergon, Milan Broz

Hi

Here I release the first experimental implementation of snapshot merging. 
Merging allows you to copy data in snapshot back to the origin device. 
Once merging starts, it runs on background. When the merging finishes (you 
see "0%" with "lvs" command), you should remove the merging snapshot with 
lvremove command.

The userspace will still be changed, the kernel is already finished (there 
are no known bugs in the kernel, I'm curious about the unknown ones :)

Merging is initiated with "lvconvert -M vg/lv_snapshot" command. When you 
initiate merging, make sure that the origin device is not mounted. 
Snapshot can be mounted while it's merging is initiated.

During merging, aby reads and writes to the origin device are identical to 
accesses to the merging snapshots.

There may be multiple snapshots while one of them is being merged --- 
exceptions in other snapshots are being allocated and there snapshots are 
kept stable.

Don't try to concurrently merge more than one snapshot (the kernel refuses 
to do it, the userspace tools don't know about it --- the userspace will 
be rewritten anyway).

The patches are at:
http://people.redhat.com/mpatocka/patches/
The patches are for 2.6.26-rc4

(besides merging, there are some other bugfixes, I made for the kernel)

Mikulas

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

end of thread, other threads:[~2008-06-05 15:09 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-03 19:26 [linux-lvm] ANNOUNCE: an experimental implementation of snapshot merging Mikulas Patocka
2008-06-03 20:32 ` Brian J. Murrell
2008-06-04 11:07   ` Mikulas Patocka
2008-06-04 14:07     ` Brian J. Murrell
2008-06-05 15:09       ` Mikulas Patocka
2008-06-03 20:43 ` Chris Cox
2008-06-03 20:51   ` Stuart D. Gathman
2008-06-03 23:38   ` Brian J. Murrell
2008-06-04  0:05     ` Chris Cox
2008-06-04  0:20       ` Greg Freemyer
2008-06-04  2:57         ` Brian J. Murrell
2008-06-04  3:23           ` Stuart D. Gathman
2008-06-04 11:11           ` Mikulas Patocka
2008-06-04 10:56   ` Mikulas Patocka
2008-06-04 14:01 ` Steeve McCauley
2008-06-05 15:01   ` Mikulas Patocka

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.