Can I put more than one namespace on an SSD?


The instructions for using Aerospike say to use SSDs as raw devices. Because the configuration for a namespace takes into account an entire device id (like “/dev/sdc”), I can only use a single namespace for an SSD. Is there a way I can put more than one namespace on an SSD?

Yes, it is possible to use partitioning to allow the use of more than one namespace. In this case you would simply partition the SSD to 2 or more partitions and then allocate one partition to a different use case.

Note that this is not a part of our standard testing, and you must be careful about balancing the IO. Just because there is now more than one partition does not mean the overall maximum throughput has increased. Drives on different nodes should be configured the same way.