On 2023-08-07, Jay F. Shachter <j...@m5.chicago.il.us> wrote: > I was asking whether Linux logical volumes can be recognized > as disk devices by the OpenBSD kernel, in the way that they can be > recognized in NetBSD, and in FreeBSD.
AFAIK, not without a bunch of work. I suppose it could be done by extending softraid. But what will be the end result? People wanting to share filesystems between OS and wanting better support from the ext2fs layer? People asking for assistance with complicated multi boot installs? None of this really helps OpenBSD. > then create within that volume group a logical volume named "lvname", > then, on the NetBSD system, I can access this logical volume by using > the exact same names that are used on Linux: either /dev/vgname/lvname, > or /dev/mapper/vgname-lvname. On FreeBSD the device name is slightly > different, on FreeBSD you say /dev/linux_lvm/vgname-lvname, but in > either case the logical volume is visible. There's no devfs here so even if there were support, the most you'd be likely to get device nodes like /dev/sd2a etc. > My question for this > mailing list was: Are Linux logical volumes visible, or can they be > made visible, on an OpenBSD system? I suppose if a filesystem is on a single continuous chunk of disk and not using the fancier features, you /could/ try adding the location/size as a partition in OpenBSD's disklabel. It doesn't really seem like OpenBSD is a good fit for what you want to do, and that's fine, it is not expected to be useful for everyone.