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