I’m trying to move our disk to a dedicated data disk on Azure. We have 3 nodes clusters setup.
I’ve tried the following steps
- Quit one node
- Modify the systemd service configuration with
--storethat points to a new disk location with an empty cockroach data folder.
- restart the node and wait for the partition to be rebalanced.
This way works fine but CockroachDB will recognize this node as a brand new node and think the previous node is dead.
Is it better to copy the old cockroach data folder to the new storage location? Or there is a recommended way to move storage?