Clear journal_device and meta_device before initialising the next OSD in automatic mode
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user