]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
testnode: correct krbd max_partitions value in lvm.conf
authorIlya Dryomov <idryomov@gmail.com>
Mon, 21 Aug 2017 13:09:39 +0000 (15:09 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 21 Aug 2017 13:16:07 +0000 (15:16 +0200)
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 <idryomov@gmail.com>
roles/testnode/tasks/setup-ubuntu.yml

index f14df45b0bbc24f7b940645ba0943a37073ea751..7e47a1aad8a8a059a973dafaa03c39aa4bec4454 100644 (file)
@@ -12,6 +12,6 @@
   lineinfile:
     dest: /etc/lvm/lvm.conf
     regexp: "# types ="
-    line: 'types = [ "rbd", 1024 ]'
+    line: 'types = [ "rbd", 16 ]'
     backrefs: yes
     state: present