core-admin/qubes/storage
Marek Marczykowski-Górecki 11c7b4bb51
storage/lvm: improve handling interrupted commit
First rename volume to backup revision, regardless of revisions_to_keep,
then rename -snap to current volume. And only then remove backup
revision (if exceed revisions_to_keep). This way even if commit
operation is interrupted, there is still a volume with the data.
This requires also adjusting few functions to actually fallback to most
recent backup revision if the current volume isn't found - create
_vid_current property for this purpose.
Also, use -snap volume for clone operation and commit it normally later.
This makes it safer to interrupt or even revert.

QubesOS/qubes-issues#2256
2018-07-12 16:10:44 +02:00
..
__init__.py storage: use None for size/usage properties if unknown 2018-03-20 17:31:16 +01:00
file.py Merge branch 'devel-storage-fixes' 2018-03-21 02:06:25 +01:00
kernels.py storage: add Pool.included_in() method for checking nested pools 2018-03-20 16:53:39 +01:00
lvm.py storage/lvm: improve handling interrupted commit 2018-07-12 16:10:44 +02:00
README.md Merge remote-tracking branch 'marmarek/master' into core3-devel 2016-03-03 01:13:51 +01:00
reflink.py Merge remote-tracking branch 'qubesos/pr/207' 2018-03-22 01:54:38 +01:00

WNI File storage

Before v3.1 there existed a draft wni storage. You can find it in the git history

(it was in /core/storage directory, now gone)