mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2024-12-26 15:59:24 -05:00
TemplateImplementation changed
typo fixes
This commit is contained in:
parent
d18969caa4
commit
8913f60c52
@ -78,10 +78,10 @@ Steps performed by **qvm-revert-template-changes**:
|
|||||||
|
|
||||||
1. Ensure that no other VMs uses this template.
|
1. Ensure that no other VMs uses this template.
|
||||||
2. Prepare snapshot device with ***root-cow.img.old*** instead of *root-cow.img* (*/etc/xen/scripts/block-snapshot prepare*).
|
2. Prepare snapshot device with ***root-cow.img.old*** instead of *root-cow.img* (*/etc/xen/scripts/block-snapshot prepare*).
|
||||||
3. Replace *snapshot* device-mapper target with *snapshot-merge*, other parameters (chunk size etc) remains untouched. Now kernel starts merging changes stored in *root-cow.img.old* into *root.img*, but d-m device can be used normally.
|
3. Replace *snapshot* device-mapper target with *snapshot-merge*, other parameters (chunk size etc) remains untouched. Now kernel starts merging changes stored in *root-cow.img.old* into *root.img*. d-m device can be used normally (if needed).
|
||||||
4. Waits for merge completed: *dmsetup status* shows used snapshot blocks - it should be equal to metadata size when completed.
|
4. Waits for merge completed: *dmsetup status* shows used snapshot blocks - it should be equal to metadata size when completed.
|
||||||
5. Replace *snapshot-merge* d-m target back to *snapshot*.
|
5. Replace *snapshot-merge* d-m target back to *snapshot*.
|
||||||
6. Cleanup snapshot device (in nobody uses it it the moment).
|
6. Cleanup snapshot device (if nobody uses it it the moment).
|
||||||
7. Move *root-cow.img.old* to *root-cow.img* (overriding existing file).
|
7. Move *root-cow.img.old* to *root-cow.img* (overriding existing file).
|
||||||
|
|
||||||
Snapshot device in AppVM
|
Snapshot device in AppVM
|
||||||
|
Loading…
Reference in New Issue
Block a user