From 629999f7892dde612871b608a4ece953484b02ec Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Mon, 15 May 2023 23:58:55 +0300 Subject: [PATCH] Clear journal_device and meta_device before initialising the next OSD in automatic mode --- src/disk_tool_prepare.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/disk_tool_prepare.cpp b/src/disk_tool_prepare.cpp index 8ce4fe30..eae95a65 100644 --- a/src/disk_tool_prepare.cpp +++ b/src/disk_tool_prepare.cpp @@ -621,6 +621,11 @@ int disk_tool_t::prepare(std::vector devices) } // Treat all disks as SSDs if not in the hybrid mode prepare_one(options, hybrid && dev.is_hdd ? 1 : 0); + if (hybrid) + { + options.erase("journal_device"); + options.erase("meta_device"); + } } } }