Open pohly opened 4 years ago
describe and test migration scenarios for going back and forth from LVM mode to direct mode
We have chapter "Notes about switching device mode" in DEVELOPMENT that addresses most typical issues there. It's brief and can be expanded.
We have chapter "Notes about switching device mode" in DEVELOPMENT that addresses most typical issues there. It's brief and can be expanded.
Good, so we have something to start with. We just need to move it into a section for admins.
LVM mode uses "pmem-csi" as name. Direct mode uses some number ("3139354fcdce525afc802bc0d64203a6fa41f9e3"). Example of using first LVM mode on a node, then two volumes with direct mode:
This can be a bit confusing. In Kubernetes, we have:
Some potential ideas for enhancing this: [] use "pmem-csi-" as prefix in direct mode, more visibly correlate the namespace with some identifier (PV name?) in Kubernetes [] describe
ndctl
and LVM output for various scenarios, to assist users with troubleshooting [] enhance unit tests so that they catch the bug in https://github.com/intel/pmem-csi/pull/420#discussion_r349144373 and others: set up various scenarios for PMEM usage on a host and check that PMEM-CSI in direct mode handles them correctly [] also add other scenarios for PMEM-CSI in LVM mode [] describe and test migration scenarios for going back and forth from LVM mode to direct mode [] support mixing both modes, potentially even on the same host (?) - might be too complicated