[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] LVM2/man lvconvert.8.in

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	snitzer sourceware org	2010-01-13 01:55:05

Modified files:
	man            : lvconvert.8.in 

Log message:
	Update lvconvert manpage for snapshot --merge


--- LVM2/man/lvconvert.8.in	2010/01/12 14:00:51	1.12
+++ LVM2/man/lvconvert.8.in	2010/01/13 01:55:05	1.13
@@ -31,7 +31,18 @@
 OriginalLogicalVolume[Path] SnapshotLogicalVolume[Path]
+.B lvconvert
+\-\-merge [\-b|\-\-background] [\-i|\-\-interval Seconds]
 .B lvconvert
@@ -54,7 +65,8 @@
 See \fBlvm\fP for common options.
-Exactly one of \-\-splitmirrors, \-\-mirrors, \-\-repair or \-\-snapshot arguments required.
+Exactly one of \-\-splitmirrors, \-\-mirrors, \-\-repair, \-\-snapshot
+or \-\-merge arguments is required.
 .I \-m, \-\-mirrors Mirrors
@@ -119,6 +131,17 @@
 .I \-Z, \-\-zero y|n
 Controls zeroing of the first KB of data in the snapshot.
 If the volume is read-only the snapshot will not be zeroed.
+.I \-\-merge
+Merges a snapshot into its origin volume. If both the origin and snapshot volume
+are not open the merge will start immediately.  Otherwise, the merge will start
+the first time either the origin or snapshot are activated and both are closed.
+Merging a snapshot into an origin that cannot be closed, for example a root
+filesystem, is deferred until the next time the origin volume is activated.
+When merging starts, the resulting logical volume will have the origin's name,
+minor number and UUID.  While the merge is in progress, reads or writes to the
+origin appear as they were directed to the snapshot being merged.  When the
+merge finishes, the merged snapshot is removed.
@@ -171,6 +194,11 @@
 converts mirror logical volume "vg00/lvmirror1" to linear, freeing physical
 extents from /dev/sda.
+"lvconvert --merge vg00/lvol1_snap"
+merges "vg00/lvol1_snap" into its origin.
 .BR lvm (8),
 .BR vgcreate (8),

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]