Why and when should I use LVM? - eviltoast

I noticed that Linux server distros are using LVM as default. What is so good about LVM, and when should I use it? Is there a GUI for managing LVM volumes like GParted, or is it just through the terminal? How is it different from RAID in using multiple drives for one volume?

  • Discover5164@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    can you stack btrfs on top of LVM? is there any advantage of doing so?

    right now i have each docker volume mapped to a btrfs volume, so that i can snapshot the volume and send it away.

    can i replicate the same thing with LVM and ext4 for example?

    i’m mostly interested in the ssd as cache feature and the possibility of just adding more disks. Stuffs that are not possible in my current setup.

    • kylian0087@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 year ago

      Opensuse can do this. Well put btrfs on LVM that is. I found out with my tumbleweed installs that if i use disk encryption and no LVM i do not have the option to boot from btrfs snapshots. Also with LUKS you need to type in your password twice when booting if you dont use LVM.