Posts by tocisz


    You don't need LVM support in docker in order to use LVM formatted disk, however, we don't support LVM on the host system either.

    I'd love to have LVM support in the host system. I only tried to do this in docker because it seemed easier than changing host system...

    I know that I should probably use Ubuntu instead of libreelec but it's not so easy to have so fine tuned kodi there like the one ready to use in libreelec :)


    Why do you want to use lvm? Overlayfs is really the best solution for use on LibreELEC.

    Otherwise you have to have lvm create loop images and whatever and it's just not ideal.

    Well, I have a media collection on external USB disk partitioned with LVM for ease of reallocating space between volumes.
    Now it's connected to RPi and I'm accessing it via NFS (also backups from all computers in the house go there via NFS).
    I'd like to use Odroid-C2 both as media player and NFS server for external disk. So I tried to install LVM support in Docker container 'cause I've read that's the way to go if I want to have something non-standard in LibreELEC.

    Maybe I should give up Docker and try to fork LibreELEC and extend it with LVM and NFS server support...


    Official build of LibreELEC (Krypton) v7.90.010 ALPHA works good for me.
    But I'd like to use LVM2 inside Docker container. For LVM Device Mapper support in kernel is required.
    ...
    Has anyone tried? What can go wrong? ;)

    I have recompiled LibreELEC v7.90.010 with device-mapper enabled in kernel. LVM no longer complains (haven't tried to use hardkernel kernel...)
    But now I don't see devices created by LVM for logical volumes.
    Is /dev tree managed by host system in Docker and changes from inside container (even --privileged one) are not visible? But I guess it's more Docker related question than LibreELEC related :)

    Official build of LibreELEC (Krypton) v7.90.010 ALPHA works good for me.
    But I'd like to use LVM2 inside Docker container. For LVM Device Mapper support in kernel is required.
    I've checked that this build uses kernel from GitHub - LibreELEC/linux-amlogic: the Linux kernel for Amlogic SoC devices
    (with device mapper turned off in kernel config)
    and got crazy idea to compile it with kernel from Hardkernel GitHub - hardkernel/linux at odroidc2-3.14.y

    Has anyone tried? What can go wrong? ;)