根据我在配置文档中看到的,可以很容易地使用以下命令在同一名称空间中配置多个设备:
namespace <namespace-name> {
memory-size <SIZE>G # Maximum memory allocation for primary
# and secondary indexes.
storage-engine device { # Configure the storage-engine to use persistence
device /dev/<device> # raw device. Maximum size is 2 TiB
# device /dev/<device> # (optional) another raw device.
write-block-size 128K # adjust block size to make it efficient for SSDs.
}
}有没有什么方法可以在不重启asd服务的情况下做到这一点?例如,使用asinfo工具?
发布于 2017-08-25 00:56:49
不能,您不能动态添加设备。
用户也在这里发帖:https://discuss.aerospike.com/t/adding-extra-device-to-namespace-using-asinfo/4525
https://stackoverflow.com/questions/45866885
复制相似问题