Pass the checked device nodes to the OSD in vitastor-disk exec-osd #110

Open
koolkhel wants to merge 2 commits from koolkhel/vitastor:exec-osd-real-devices into master

2 Commits

Author SHA1 Message Date
66da39caca Pass the checked device nodes to the OSD in vitastor-disk exec-osd
exec-osd validated the superblock through the given device but forwarded
the by-partuuid paths from it, and vitastor-osd opened whatever those links
pointed to by then. With dm-multipath the link moves from the path partition
to the dm partition in between, so the OSD opened a node other than the one
checked. Forward the real_*_device nodes resolved by read_osd_superblock
instead.
2026-10-26 21:03:12 +03:00
c48bf317db Fix --osd-binary option of vitastor-disk exec-osd
Command-line options are stored with dashes replaced by underscores, so
options["osd-binary"] was never set and exec-osd always ran vitastor-osd.
2026-10-26 21:03:12 +03:00