Lines Matching refs:snapshot
1 Device-mapper snapshot support
11 *) To merge a snapshot of a block device back into the snapshot's origin
18 For snapshot merge the contents of the COW storage are merged back into
23 snapshot, snapshot-origin, and snapshot-merge.
25 *) snapshot-origin <origin>
29 original data will be saved in the <COW device> of each snapshot to keep
33 *) snapshot <origin> <COW device> <persistent?> <chunksize>
35 A snapshot of the <origin> block device is created. Changed chunks of
39 smaller than the origin and if it fills up the snapshot will become
46 snapshot status. So supported store types are "P", "PO" and "N".
52 When loading or unloading the snapshot target, the corresponding
53 snapshot-origin or snapshot-merge target must be suspended. A failure to
57 * snapshot-merge <origin> <COW device> <persistent> <chunksize>
59 takes the same table arguments as the snapshot target except it only
61 "snapshot-origin" target and must not be loaded if the "snapshot-origin"
64 Creates a merging snapshot that takes control of the changed chunks
65 stored in the <COW device> of an existing snapshot, through a handover
69 deferred until the merging snapshot's corresponding chunk(s) have been
70 merged. Once merging has started the snapshot device, associated with
71 the "snapshot" target, will return -EIO when accessed.
74 How snapshot is used by LVM2
76 When you create the first LVM2 snapshot of a volume, four dm devices are used:
80 3) a "snapshot" device, combining #1 and #2, which is the visible snapshot
83 source volume), whose table is replaced by a "snapshot-origin" mapping
89 lvcreate -L 100M --snapshot -n snap volumeGroup/base
97 volumeGroup-snap: 0 2097152 snapshot 254:11 254:12 P 16
98 volumeGroup-base: 0 2097152 snapshot-origin 254:11
107 How snapshot-merge is used by LVM2
109 A merging snapshot assumes the role of the "snapshot-origin" while
110 merging. As such the "snapshot-origin" is replaced with
111 "snapshot-merge". The "-real" device is not changed and the "-cow"
113 merging snapshot after it completes. The "snapshot" that hands over its
114 COW device to the "snapshot-merge" is deactivated (unless using lvchange
117 A snapshot will merge into its origin with the following command:
127 volumeGroup-base: 0 2097152 snapshot-merge 254:11 254:12 P 16
137 The snapshot-merge and snapshot status lines end with:
153 0 8388608 snapshot 397896/2097152 1560
164 0 8388608 snapshot-merge 281688/2097152 1104
167 0 8388608 snapshot-merge 180480/2097152 712
170 0 8388608 snapshot-merge 16/2097152 16