mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-02 04:56:58 +00:00
We have seen in some cases that when using the boto api to start instances the aws metadata service http://169.254.169.254/latest/meta-data/block-device-mapping/ returns incorrect number of disks - workaround that by checking the actual number of disks using lsblk Adding a validation at the end verifying that after all computations the NR_IO_QUEUES will not be greater then the number of shards (we had an issue with i2.8x) Fixes: #1062 Signed-off-by: Shlomi Livne <shlomi@scylladb.com> Message-Id: <54c51cd94dd30577a3fe23aef3ce916c01e05504.1458721659.git.shlomi@scylladb.com>