forked from vitalif/vitastor
Clear journal_device and meta_device before initialising the next OSD in automatic mode
parent
93eca11ba2
commit
629999f789
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue