]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
shrink-osd: ability to shrink NVMe drives
authorSébastien Han <seb@redhat.com>
Fri, 20 Apr 2018 09:13:51 +0000 (11:13 +0200)
committerSébastien Han <seb@redhat.com>
Fri, 20 Apr 2018 13:08:29 +0000 (15:08 +0200)
commit66c1ea8cd561fce6cfe5cdd1ecaa13411c824e3a
treeea2195b61849eba5c2ac88660611b37f3b5b108a
parent641f141c0fd070cdf982401f4529da41614d237e
shrink-osd: ability to shrink NVMe drives

Now if the service name contains nvme we know we need to remove the last
2 character instead of 1.

If nvme then osd_to_kill_disks is nvme0n1, we need nvme0
If ssd or hdd then osd_to_kill_disks is sda1, we need sda

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1561456
Signed-off-by: Sébastien Han <seb@redhat.com>
infrastructure-playbooks/shrink-osd.yml