Disk usage become very large after replace pathdata to a 2T hard disk

(Xiao Liu) #1

Elasticsearch version (bin/elasticsearch --version): 6.0.1, Build: 601be4a/2017-12-04T09:29:09.525Z, JVM: 1.8.0_151

Plugins installed: [x-pack, ik-anlyzer]

JVM version (java -version):
openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)

OS version (uname -a if on a Unix-like system):
Linux xxx 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Description of the problem including expected versus actual behavior:

Steps to reproduce:

Please include a minimal but complete recreation of the problem, including
(e.g.) index creation, mappings, settings, query etc. The easier you make for
us to reproduce it, the more likely that somebody will take the time to look at it.

A 3 nodes ES cluster, original path.data is [/home/data1, /root/data2]. Original disk size is about 100G
Add a 2T hard disk. change path.data to /home/data3 (which is the mount path of new hard disk)
when change the path data, I did one by one. Stop 1/3 ES service, change path data config, restart ES, wait until cluster status to green.
after change pathdata, the data usage become very large. (5G used, 101 available) before, (95G used, 1.6T available) after. It looks like the rate keeps 5% ?

my size of data doesn't change at all. But used data changed a lot.

My index are (5 shards 1 replica)

(Jared Carey) #2

Is there something else’s using that disk location (maybe logs)? I’d suggest inspecting the file space usage outside of elasticsearch as a start.

(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.