我将es的版本更新为2.2。*后,我发现磁盘的使用情况有很大差异。
这是我的路径配置:
/dev/sdb1 733G 291G 405G 42% /data1
/dev/sdc1 733G 244G 453G 35% /data2
/dev/sdd1 733G 116M 696G 1% /data3
而且,这是磁盘的用法。
flume-2016-04-20 1 p STARTED 74719153 49.1gb XXX.162 es162-3
flume-2016-04-20 1 r STARTED 74718328 49.7gb XXX.199 es199-2
flume-2016-04-20 10 p STARTED 74728889 49.7gb XXX.200 es200-2
flume-2016-04-20 10 r STARTED 74729801 49.6gb XXX.199 es199-3
flume-2016-04-20 2 p STARTED 74721109 49.9gb XXX.199 es199-2
flume-2016-04-20 2 r STARTED 74721374 49.4gb XXX.200 es200-3
flume-2016-04-20 8 p STARTED 74734507 49.6gb XXX.160 es160-2
flume-2016-04-20 8 r STARTED 74734865 56.4gb XXX.160 es160-3
flume-2016-04-20 3 p STARTED 74720419 49gb XXX.200 es200-3
flume-2016-04-20 3 r STARTED 74719146 49.5gb XXX.201 es201-2
flume-2016-04-20 5 p STARTED 74715897 49.6gb XXX.202 es202-3
flume-2016-04-20 5 r STARTED 74716306 49.6gb XXX.162 es162-2
flume-2016-04-20 4 p STARTED 74721287 58.6gb XXX.201 es201-2
flume-2016-04-20 4 r STARTED 74721702 49.1gb XXX.202 es202-3
flume-2016-04-20 6 p STARTED 74726413 49.6gb XXX.162 es162-2
flume-2016-04-20 6 r STARTED 74727061 49.6gb XXX.202 es202-2
flume-2016-04-20 9 p STARTED 74718669 49.6gb XXX.160 es160-3
flume-2016-04-20 9 r STARTED 74717816 49.6gb XXX.200 es200-2
flume-2016-04-20 11 r STARTED 74726570 49.5gb XXX.160 es160-2
flume-2016-04-20 11 p STARTED 74726215 49.6gb XXX.199 es199-3
flume-2016-04-20 7 r STARTED 74700592 49.6gb XXX.201 es201-3
flume-2016-04-20 7 p STARTED 74700230 58.6gb XXX.202 es202-2
flume-2016-04-20 0 p STARTED 74730842 49.3gb XXX.201 es201-3
flume-2016-04-20 0 r STARTED 74730102 55.3gb XXX.162 es162-3
如何平衡使用情况?
修改: 这是分片的信息
/dev/sdb1 733G 201G 495G 29% /data1
/dev/sdc1 733G 294G 402G 43% /data2
/dev/sdd1 733G 291G 406G 42% /data3
以下是磁盘的当前使用情况(所有节点都使用相同的磁盘)
ListView