Adding a new node to the cluster does not lower the hard disk usage percentage

the problems are as follows:

in my cluster ,
one node’s disk usage is about 93%. after i add a new node into the cluster ,the disk usage doesn’t reduce.

how to fix it ?

asinfo show the disk used is 60%

the command " df -h " show the usage is 93%

Can you post information from the Aerospike side and also your df output please?

Please also paste the definition of your namespaces

the namespace define is

replication-factor 2

    memory-size 10G
    default-ttl 0 # 30 days, use 0 to never expire/evict.
    # To use file storage backing, comment out the line above and use the
    # following lines instead.
    storage-engine device {
            file  /apps/product/aerospike/content.dat
            filesize 530G
            #data-in-memory true # Store data in memory in addition to file.

the aeospike side info is :

the df output is :


i have sent a message to you ,thanks

you have 542G disk and for the Aerospike namespace you have configured 530G. Aerospike reserves the file size as configured even though you might be using part of the space on your file for Aerospike Data. Remember, Aerospike has its own storage mechanism/file system.

What you are seeing in df command output is that default file system shows 542-530=12G space available, it seems to be rounded off to 97% used (it should have been 97.78%).

asinfo command shows you how much storage space you have actually used with Aerospike data.

Unless you have changed your namespace configuration, adding nodes will not change your df command output (542G and 530G are constant in this configuration), but the asinfo will show the appropriate changes due to cluster size change.


thank you very much ~~