this post was submitted on 05 Jan 2026
11 points (92.3% liked)

Selfhosted

54413 readers
826 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
11
LVM question (lemmy.world)
submitted 5 days ago* (last edited 5 days ago) by Cenzorrll@lemmy.world to c/selfhosted@lemmy.world
 

Hi all, I'm playing around with LVMs to expand data storage and I'm looking at what would be required to transfer those drives to another device, all the steps I can find require exporting the volume group and then importing on the other device. But what would be the case if your boot drive were to fail, and you needed to move the drives without being able to export the volume group. Can you just do an import with a new device, or are there other steps required to do so?

Secondly, is there a benefit to creating an LVM volume with a btrfs filesystem vs just letting btrfs handle it?

you are viewing a single comment's thread
view the rest of the comments
[–] synestine@sh.itjust.works 3 points 5 days ago (3 children)

LVM itself does not provide redundancy, that's RAID. LVM is often used on top of a RAID device. If your boot drive fails, LVM itself won't save you, RAID (software RAID 1 is really common for a boot drive) can.

LVM can be used to seamlessly move data between physical volumes. You can add a new PV to the VG and move extents between LVs. I've used it to love-migrate to a larger drive that way. Once the physical extents have been moved to the new PV, you can reduce the old PV and then remove the old disk.

[–] kumi@feddit.online 1 points 9 hours ago

LVM itself does not provide redundancy, that’s RAID.

I think this is potentially a bit confusing.

LVM does provide RAID functionality and can be used to set up and manage redundant volumes.

See --type and --mirror under man 8 lvcreate.

load more comments (2 replies)