From: Ilya Dryomov Date: Mon, 21 Aug 2017 13:09:39 +0000 (+0200) Subject: testnode: correct krbd max_partitions value in lvm.conf X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cbc3d7daea08335f26bb300d2b2ee903aae63b00;p=ceph-cm-ansible.git testnode: correct krbd max_partitions value in lvm.conf 1024 is clearly a made up number. 16 reflects the current reality, more or less: "Under single_major scheme introduced in kernel 3.14, rbd devices support up to 16 partitions. In pre-single_major mode, rbd driver takes up the whole major." Signed-off-by: Ilya Dryomov --- diff --git a/roles/testnode/tasks/setup-ubuntu.yml b/roles/testnode/tasks/setup-ubuntu.yml index f14df45b..7e47a1aa 100644 --- a/roles/testnode/tasks/setup-ubuntu.yml +++ b/roles/testnode/tasks/setup-ubuntu.yml @@ -12,6 +12,6 @@ lineinfile: dest: /etc/lvm/lvm.conf regexp: "# types =" - line: 'types = [ "rbd", 1024 ]' + line: 'types = [ "rbd", 16 ]' backrefs: yes state: present