PLANNED MAINTENANCE

Hello, DataStax Community!

We want to make you aware of a few operational updates which will be carried out on the site. We are working hard to streamline the login process to integrate with other DataStax resources. As such, you will soon be prompted to update your password. Please note that your username will remain the same.

As we work to improve your user experience, please be aware that login to the DataStax Community will be unavailable for a few hours on:

  • Wednesday, July 15 16:00 PDT | 19:00 EDT | 20:00 BRT
  • Thursday, July 16 00:00 BST | 01:00 CEST | 04:30 IST | 07:00 CST | 09:00 AEST

For more info, check out the FAQ page. Thank you for being a valued member of our community.


question

amitosh avatar image
amitosh asked ·

purpose of storage_weight and min_free_space in /etc/dse/dse.yaml file

While Enabling DSEFS for dse 5.1.16 in dsefs_options

What is the purpose of storage_weight and min_free_space in /etc/dse/dse.yaml file

dsefs
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

alex.ott avatar image
alex.ott answered ·

For storage_weight DataStax documentation says: "The weighting factor for this location specifies how much data to place in this directory, relative to other directories in the cluster. This soft constraint determines how DSEFS distributes the data. For example, a directory with a value of 3.0 receives about three times more data than a directory with a value of 1.0." This parameter could be used to influence the data placement algorithm, for example, if you have multiple disks, and some disks are bigger than other, and you want them to receive more data (by default algorithm is trying to spread load between all locations equally).

min_free_space defines how much disk space won't be used for storing data blocks - if the available disk space will go below this value, this location won't be used to store DSEFS data.

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.