diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-05-31 14:16:00 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-05-31 14:18:40 -0700 |
commit | 65728947103251ded0477e64791d124aa127141e (patch) | |
tree | 5d5144ac5ac393495cbc479b299eb12a515cd84d | |
parent | 662953dfeedae4c79e4c5f7dd9e87e750f7b1e5b (diff) | |
download | consfigurator-65728947103251ded0477e64791d124aa127141e.tar.gz |
add idea about making LVs TOP-LEVEL-VOLUMEs
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rw-r--r-- | doc/ideas.rst | 11 |
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 ----------- |