cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roman Tkachenko <>
Subject Moving SSTables from one disk to another
Date Fri, 10 Apr 2015 23:00:18 GMT
Hey guys,

We're running Cassandra with two data directories, let's say
/data/sstables1 and /data/sstables2, which are in fact two separate (but
identical) disks. The problem is that the disk where "sstables2" is mounted
is running out of space and large SSTables stored there cannot be compacted.

So I have two questions:

* Can I just move some SSTables data files from "sstables2" to "sstables1"
which has much more free disk space? Will Cassandra start fine after that
and not lose any data?

* Provided multiple data dirs, should Cassandra distribute data equally
between them? In what I'm observing this is almost always not true. On that
particular node I mentioned above the difference is huge: 4% occupied disk
space for "sstables1" and 87% for "sstables2"; on other nodes the situation
is a little better but still not 50/50.



View raw message