Linux LVM on Openbsd? reddit / BSD ---------------------------------------------------------------------- Icedcool · 2019-07-04 15:30 I'm considering changing my server to OpenBSD, although I have a storage of 3 hd's created as a ext4 lvm. Can I mount these drives with Openbsd, or do I have to stick with linux to use it? ---------------------------------------------------------------------- set-eirc · 2019-07-04 15:56 I think that bsd does not have support to lvm. You probably will need to rebuild your partition tables.. I would do it anyway :) Edit: it was a Lil joke (sry for that) AND I am wrong, NetBSD does have support. See comments ---------------------------------------------------------------------- Nanosleep · 2019-07-04 16:24 >Can I mount these drives with Openbsd It's not naively supported. I think you're going to end up shuffling data around one way or the other. It *might* be possible to pass through some raw block devices to a linux vm running under vmm since it supports raw disks (at which point you could at least transfer your data off to another volume), but I have a feeling that 'raw disks' really just means a dd dump on an openbsd filesystem and you can't actually specify /dev/sdX, etc. Although, I'd imagine features like that aren't too far out. And for what it's worth, storage isn't exactly OpenBSD's strongest suit... It's fine for cold storage (FFS has a great track record for data integrity), but it definitely wouldn't be anywhere near the top of the "platforms that make a high-performance / versatile NAS" list. ---------------------------------------------------------------------- illumosguy · 2019-07-04 19:03 > I think that bsd does not have support to lvm you think wrong, [NetBSD does](https://www.netbsd.org/docs/guide/en/chap-lvm.html) ;) ---------------------------------------------------------------------- set-eirc · 2019-07-04 19:12 Oh nice, thanks for that ---------------------------------------------------------------------- illumosguy · 2019-07-04 19:24 NetBSD has support for LVM, it just works, but it forked from Red Hat's years ago, so I wouldn't be surprised if either NetBSD's version were outdated and/or the 2 implementations had become incompatible with each other im the meantime. Personally I've never used LVM on Linux, and only briefly on Net While many FSs on NetBSD can be mounted r/w in userpace by relying on [PUFFS](https://en.m.wikipedia.org/wiki/PUFFS_(NetBSD\)) and using FUSE as software frontend, the only solution available for ext4, [ext4fuse](https://github.com/gerard/ext4fuse) still **doesn't** provide write support. To sum up: you would most likely avoid wasting time and do yourself a favor by rsyncing those LVM volumes to FFSv2/LFS drives. ---------------------------------------------------------------------- HelperBot_ · 2019-07-04 19:25 Desktop link: https://en.wikipedia.org/wiki/PUFFS_(NetBSD) *** ^^/r/HelperBot_ ^^Downvote ^^to ^^remove. ^^Counter: ^^265555. [^^Found ^^a ^^bug?](https://reddit.com/message/compose/?to=swim1929&s ubject=Bug&message=https://reddit.com/r/BSD/comments/c93wab/linux_lvm_ on_openbsd/estj6bn/) ---------------------------------------------------------------------- Icedcool · 2019-07-05 03:28 Thank you everyone for the responses. :) Looks like I may have a nas as a linux box, and an openbsd as my network services box. ---------------------------------------------------------------------- ReachTheZenith · 2019-07-05 16:31 What about https://github.com/alperakcan/fuse-ext2? It has experimental write support. ---------------------------------------------------------------------- PitifulView · 2019-07-06 09:51 netbsd has ext4 write support ---------------------------------------------------------------------- illumosguy · 2019-07-07 13:09 that's really good to hear, I regret stating otherwise then, would you you mind linking some reference?