all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Simon Josefsson <simon@josefsson.org>
To: help-guix@gnu.org
Subject: What LVM support is missing?
Date: Mon, 04 May 2020 15:16:00 +0200	[thread overview]
Message-ID: <87ftcfu9gv.fsf@latte.josefsson.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1551 bytes --]

The manual is quite clear that LVM support is missing:

  https://guix.gnu.org/manual/en/html_node/Limitations.html

This held me back from using guix as the OS for my virtualization
servers since I use LVM for virtual machines.  However, one evening I
was curious how difficult it would be to fix the above limitation, so I
started with a simple 'guix package -i lvm2' and that allowed me to get
LVM to work and I can't really notice anything missing.

Before producing a patch to correct the manual, could someone explain
what LVM support was intended that was missing?  Does a reference to LVM
as a limitation of Guix still make sense?

I'm thinking that having the root file system on LVM may be unsupported,
so that manual could say that, but I'm not even sure that is true.  I
haven't tried it though.  Perhaps 'lvm2' should be pre-installed on the
default installation image to help move LVM support along.

Another thought may be that constructing LVM partitions through the
mapped-device mechanism is not supported:

http://guix.gnu.org/manual/en/html_node/Mapped-Devices.html

however as far as I can tell, LVM is working just as well as LUKS/RAID
here: LVM just doesn't need any command to start the devices.  The
mapped-device approach appear to require out-of-band device creation for
LUKS and RAID, just like is required for LVM.  A no-op
`lvm-device-mapping' could be added for completeness, and it might run
'pvscan --active ay' or something like that if we really wanted to but
I'm not sure when that would be useful.

Thanks,
/Simon

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

             reply	other threads:[~2020-05-04 15:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-04 13:16 Simon Josefsson [this message]
2020-05-04 16:10 ` What LVM support is missing? Marius Bakke
2020-05-06  7:33   ` Simon Josefsson
2020-05-04 16:37 ` Michael Rohleder
2020-05-06  7:40   ` Simon Josefsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ftcfu9gv.fsf@latte.josefsson.org \
    --to=simon@josefsson.org \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.