Hi Dojo,
Is there a way to move Cassandra DB from one HD to another?
We are copying manually the files and editing the config yaml but is not working.
Thanks in advance.
Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 14th July 2023
Hi Manuel,
I haven't done this in a while but the procedure I would use in such case would be:
- Nodetool drain on the node on which you want to apply the change.
- Stop the Cassandra service.
- Copy the dataset from the old location to the new location in the filesystem.
- Adjust the yaml settings file to point to the new location in the filesystem.
- Start the Cassandra service.
That should in my mind get it done.
Jeroen Nietvelt [SLC] [DevOps Advocate] Answered question 16th June 2022