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".
53 * snapshot-merge <origin> <COW device> <persistent> <chunksize>
55 takes the same table arguments as the snapshot target except it only
57 "snapshot-origin" target and must not be loaded if the "snapshot-origin"
60 Creates a merging snapshot that takes control of the changed chunks
61 stored in the <COW device> of an existing snapshot, through a handover
65 deferred until the merging snapshot's corresponding chunk(s) have been
66 merged. Once merging has started the snapshot device, associated with
67 the "snapshot" target, will return -EIO when accessed.
70 How snapshot is used by LVM2
72 When you create the first LVM2 snapshot of a volume, four dm devices are used:
76 3) a "snapshot" device, combining #1 and #2, which is the visible snapshot
79 source volume), whose table is replaced by a "snapshot-origin" mapping
85 lvcreate -L 100M --snapshot -n snap volumeGroup/base
93 volumeGroup-snap: 0 2097152 snapshot 254:11 254:12 P 16
94 volumeGroup-base: 0 2097152 snapshot-origin 254:11
103 How snapshot-merge is used by LVM2
105 A merging snapshot assumes the role of the "snapshot-origin" while
106 merging. As such the "snapshot-origin" is replaced with
107 "snapshot-merge". The "-real" device is not changed and the "-cow"
109 merging snapshot after it completes. The "snapshot" that hands over its
110 COW device to the "snapshot-merge" is deactivated (unless using lvchange
113 A snapshot will merge into its origin with the following command:
123 volumeGroup-base: 0 2097152 snapshot-merge 254:11 254:12 P 16
133 The snapshot-merge and snapshot status lines end with:
149 0 8388608 snapshot 397896/2097152 1560
160 0 8388608 snapshot-merge 281688/2097152 1104
163 0 8388608 snapshot-merge 180480/2097152 712
166 0 8388608 snapshot-merge 16/2097152 16