Clear journal_device and meta_device before initialising the next OSD in automatic mode

hier-failure-domains
Vitaliy Filippov 2023-05-15 23:58:55 +03:00
parent 93eca11ba2
commit 629999f789
1 changed files with 5 additions and 0 deletions

View File

@ -621,6 +621,11 @@ int disk_tool_t::prepare(std::vector<std::string> 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");
}
}
}
}