fl42v ,

Are there like any use-cases for it other than ā€œwell, I can add another drive to extend partitions whenever I wantā€? 'Cuz thatā€™s how itā€™s often described (if at all*), and it doesnā€™t really make much sense to me. Like, if I install on a laptop, itā€™ll most often have just one drive, so lvm seems unnecessary, and if I make some server-like setup with multiple drives, Iā€™d go with some kind of raid with redundancy instead of just stitching the drives together (or mb yolo and raid 0).

  • If I remember correctly, arch wiki for example, had it used in the partitioning guide for dm-crypt without explaining the benefits against just luksformating /
lazynooblet ,
@lazynooblet@lazysoci.al avatar

LVM allows online resizing of volumes, and includes redundancy features such as snapshots and raid.

Itā€™s used a lot more in services than laptops.

atzanteol ,

It still has use with a single drive. Being able to resize any partitions you create is useful. Snapshots as well. Particularly if youā€™re using multiple file systems or file systems that donā€™t support some kind of subvolumes. You can run it on a md RAID if you want as well.

SpaceCadet ,
@SpaceCadet@feddit.nl avatar

and if I make some server-like setup with multiple drives, Iā€™d go with some kind of raid with redundancy instead of just stitching the drives together (or mb yolo and raid 0).

Server setups are usually virtual machines nowadays, with virtual disks (i.e. vmdk or qcow2 files in a storage pool). Stitching virtual disks together is valid in this case because redundancy is handled on another level, invisible to the vm.

leanleft ,
@leanleft@lemmy.ml avatar

not to be confused with:
en.wikipedia.org/wiki/LLVM

dataprolet ,
@dataprolet@lemmy.dbzer0.com avatar

Just use Btrfs subvolumes.

umami_wasbi ,

Btrfs subvol isnā€™t suited for all cases. For example I canā€™t do LUKS on top of Btrfs because its a filesystem, not block storage.

dataprolet ,
@dataprolet@lemmy.dbzer0.com avatar

You canā€™t do LUKS on LVM either, right? Only LVM on LUKS, just like Btrfs on LUKS.

atzanteol ,

Sure you can.

umami_wasbi , (edited )

You can. In fact Iā€™m planning the setup for my laptop which uses this as part of the design.

wiki.archlinux.org/ā€¦/Encrypting_an_entire_system#ā€¦

dataprolet ,
@dataprolet@lemmy.dbzer0.com avatar

The more you know.

avidamoeba ,
@avidamoeba@lemmy.ca avatar

Iā€™ve been using it for a while. It allows for easier redundancy without mucking about with the encrypted volume.

avidamoeba ,
@avidamoeba@lemmy.ca avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • ā€¢
  • [email protected]
  • random
  • tech
  • kbinEarth
  • testing
  • interstellar
  • wanderlust
  • All magazines