how to designate Cassandra data storage to certain file-system partition?
<p>I used Cassandra to store my data. I use Centos.
   The data seems always to be stored in the root partition, which is too small.
   My file system partitions like </p>

<pre><code>Filesystem               Size  Used Avail Use% Mounted on 
/dev/mapper/centos-root   50G   25G   26G  49% /
devtmpfs                 7.8G     0  7.8G   0% /dev
tmpfs                    7.8G     0  7.8G   0% /dev/shm
tmpfs                    7.8G   17M  7.8G   1% /run
tmpfs                    7.8G     0  7.8G   0% /sys/fs/cgroup
/dev/sda2                494M  177M  318M  36% /boot
/dev/sda1                200M  9.8M  191M   5% /boot/efi
/dev/mapper/centos-home  873G   66G  807G   8% /home
tmpfs                    1.6G     0  1.6G   0% /run/user/1001
</code></pre>

<p>Obviously the root partition (50 GB) is much smaller than one at home (873GB).
   Is there a way that I change a setup to enforce data storage using the 
   partition "/dev/mapper/centos-home" ? </p>

<p>I need to use the command "sudo service cassandra start" to activate Cassandra.
   If without sudo, my authority doesn't allow me to activate Cassandra.</p>

<p>Thanks!</p>