Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upStorage in R4.0 fixes/improvements/missing parts #2256
Comments
marmarek
added
C: core
P: major
task
labels
Aug 17, 2016
marmarek
added this to the Release 4.0 milestone
Aug 17, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Aug 17, 2016
Member
As for qubes-lvm performance - half of its running time is used for just python startup + imports. For me it means it shouldn't be a separate script, but a function which calls appropriate tools (through sudo). This means it can't use python lvm API, but it looks it is used only for volume/pool existence checks, so not a big deal to rewrite it to parse lvdisplay -c (or similar) output.
|
As for |
added a commit
to marmarek/old-qubes-core-admin
that referenced
this issue
Aug 18, 2016
added a commit
to marmarek/old-qubes-core-admin
that referenced
this issue
Aug 18, 2016
added a commit
to marmarek/old-qubes-core-admin
that referenced
this issue
Aug 18, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
kalkin
Aug 28, 2016
Member
-
qvm-block extend& lvm resize PR: QubesOS/qubes-core-admin/pull/52 - QubesOS/qubes-core-admin/pull/54
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
added a commit
to marmarek/old-qubes-core-admin
that referenced
this issue
Sep 3, 2016
added a commit
to marmarek/old-qubes-core-admin
that referenced
this issue
Sep 4, 2016
added a commit
to marmarek/old-qubes-core-admin
that referenced
this issue
Sep 4, 2016
added a commit
to marmarek/old-qubes-core-admin
that referenced
this issue
Sep 4, 2016
added a commit
to marmarek/old-qubes-core-admin
that referenced
this issue
Sep 4, 2016
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Nov 4, 2016
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Nov 4, 2016
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Nov 4, 2016
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Nov 4, 2016
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Nov 4, 2016
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Nov 4, 2016
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Nov 4, 2016
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Nov 4, 2016
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Nov 4, 2016
marmarek
referenced this issue
in QubesOS/qubes-core-admin
Nov 4, 2016
Merged
Core3 storage fixes #65
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Jan 18, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Jan 18, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Jan 18, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Feb 14, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Feb 14, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Feb 14, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
May 1, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
May 1, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
May 1, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
May 10, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
May 10, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
May 10, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
May 12, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
May 12, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
May 12, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Jul 4, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Jul 4, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Jul 4, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Jul 4, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Jul 4, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Jul 4, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Jul 4, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Jul 4, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Jul 4, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Jul 4, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Jul 4, 2017
qubesos-bot
referenced this issue
in QubesOS/updates-status
Jul 4, 2017
Closed
core-admin v4.0.1 (r4.0) #100
added a commit
to marmarek/qubes-core-admin-client
that referenced
this issue
Jul 21, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Jul 25, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Jul 25, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Jul 25, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Jul 25, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Jul 25, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Jul 26, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Jul 26, 2017
This was referenced Jul 29, 2017
na--
referenced this issue
Oct 27, 2017
Closed
Difficult to determine free and used disk space with LVM thin provisioning #3240
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jpouellet
Nov 21, 2017
Contributor
- pools'
import_data()must not naively return the existing backend unchanged and just dd over it because:- A management VM could import a tiny filesystem to the beginning of the disk containing just a .bashrc which reads the rest of the raw blocks and exfiltrates them. This violates the "mgmt should be able to enforce policy but not read data" principle we are aiming for.
- Even if the writing VM is not malicious and writes the whole disk, conv=sparse means old blocks could remain in now-zero holes and cause problems. See #858 (comment) for more info
- Importing a smaller-utilization filesystem over a larger-utilization one does not reclaim the blocks that are now unused but still allocated in the backend, causing higher long-term disk utilization.
|
marmarek commentedAug 17, 2016
•
edited
Edited 7 times
-
marmarek
edited Jul 12, 2018 (most recent)
-
marmarek
edited Mar 14, 2018
-
marmarek
edited Mar 14, 2018
-
marmarek
edited Mar 14, 2018
-
marmarek
edited Mar 14, 2018
-
marmarek
edited Mar 14, 2018
-
marmarek
edited Jun 6, 2017
Most of those are just minor things, so lets collect them in a single ticket to not trash github-issues repo.
qubes-lvmis already running as root, no need to usesudointernally; and BTW it isn't possible to allow non-root user managing LVM: besides access to various files,/dev/mapper/controldriver have hardcoded check forCAP_SYS_ADMINqubes-lvmshould be as minimal/fast as possible - it is called multiple times during some time-critical actions (like DispVM startup); for example it should not loadqubes.xml, nor even importqubesvm.storage.stop()should not be called invm.shutdown()- VM is still running at that time (system inside is shutting down), evenvm.kill()isn't good idea - VM can always shutdown itself (like when someone runpoweroffinside); it needs to be done from some real shutdown event handler. Libvirt 2.2 is going to support something like this (/etc/libvirt/hooks/libxl), but for now all we have is block devices hotplug scripts. Libvirt 2.2 is going to be released somewhere in September, so we can wait for it.ThinPooldo not implementresizemethodqvm-block(or any other tool) do not support resizing volumes; not sure if that should beqvm-blockwork, but surely it should be available somewhereqvm-block lslist internal VM volumes (even without--internalflag), if VM is created with non-default poolqubes-lvm(or any other storage utility) should not parse volumes content in any way; I see there unused functionlvm_image_changed, which callstune2fson given volumehandling extra volumes (not exposed by other VM, but created in some existing pool) is kind of broken: 1) no single API to create such volume (needs manual filling vm.storage.pool, vm.volumes etc), 2) loading such volumes from qubes.xml (mentioned in qubes.xml, but not in initial vm.volume_config) failsnot supposed to work, devices API should be used insteadvolume.snap_on_start=False)qvm-block lswhen called without particular VM, list empty metadata for internal volumes: first of all those volumes should be hidden by default (without-iflag), but even when listed, should have domain and volume name filledvm.volumes['root'].sourcestill point at old template's root.I'll update this list with further issues when found.
/cc @kalkin