iMajna
iMajna

Reputation: 499

Cassandra change data storage

Currently I'm using one disk for saving data of Cassandra. I want to switch to new disk (remove current) and keep the current data.

Do you have any ideas or suggestions?

Upvotes: 0

Views: 126

Answers (1)

Mandraenke
Mandraenke

Reputation: 3266

You can just copy over the files (when the node is not running). Often your data is somewhere like /var/lib/cassandra/data.

  • shut down the node
  • copy all data to the new disk
  • mount new disk to the correct location
  • restart the node

That should be it.

Upvotes: 3

Related Questions