From 65728947103251ded0477e64791d124aa127141e Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 31 May 2021 14:16:00 -0700 Subject: add idea about making LVs TOP-LEVEL-VOLUMEs Signed-off-by: Sean Whitton --- doc/ideas.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 ----------- -- cgit v1.2.3