aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-05-31 14:16:00 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-05-31 14:18:40 -0700
commit65728947103251ded0477e64791d124aa127141e (patch)
tree5d5144ac5ac393495cbc479b299eb12a515cd84d
parent662953dfeedae4c79e4c5f7dd9e87e750f7b1e5b (diff)
downloadconsfigurator-65728947103251ded0477e64791d124aa127141e.tar.gz
add idea about making LVs TOP-LEVEL-VOLUMEs
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rw-r--r--doc/ideas.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/ideas.rst b/doc/ideas.rst
index 688d040..1c0df0e 100644
--- a/doc/ideas.rst
+++ b/doc/ideas.rst
@@ -9,6 +9,17 @@ Properties
- Custom Emacs indentation rules for ``DISK:VOLUMES`` (and so
``DISK:HAS-VOLUMES``), and reindent the examples in docstrings and manual.
+- Currently it wouldn't be easy to write a property which combines adding an
+ LVM logical volume to the host's volumes, calling
+ ``DISK:HOST-LOGICAL-VOLUMES-EXIST``, mounting the new volume and setting up
+ a root filesystem for a virtual machine there. Ideally the new property
+ would just be able to push the LV to the :VOLUMES hostattrs, but that is
+ tricky because LVs are presently not TOP-LEVEL-VOLUMEs, instead contained
+ within objects representing VGs. Perhaps we could lift LVs to the top
+ level, with just a reference to the name of their VG, like we have with PVs.
+ We would probably still want it to be possible to include VGs in the list of
+ volumes, optionally, for specifying VG-level options like extent size.
+
Connections
-----------