5 - name: stop ceph-osd@2 daemon
10 - name: stop ceph-osd@0 daemon
20 command: "ceph --cluster {{ cluster }} osd destroy osd.2 --yes-i-really-mean-it"
23 command: "ceph --cluster {{ cluster }} osd destroy osd.0 --yes-i-really-mean-it"
32 command: "ceph-volume --cluster {{ cluster }} lvm zap /dev/sdd1 --destroy"
36 - name: redeploy osd.2 using /dev/sdd1
37 command: "ceph-volume --cluster {{ cluster }} lvm create --bluestore --data /dev/sdd1 --osd-id 2"
42 - name: zap test_group/data-lv1
43 command: "ceph-volume --cluster {{ cluster }} lvm zap test_group/data-lv1"
47 - name: redeploy osd.0 using test_group/data-lv1
48 command: "ceph-volume --cluster {{ cluster }} lvm create --bluestore --data test_group/data-lv1 --osd-id 0"
52 - name: stop ceph-osd@0 daemon
63 command: "ceph --cluster {{ cluster }} osd destroy osd.0 --yes-i-really-mean-it"
70 - name: zap test_group/data-lv1
71 command: "ceph-volume --cluster {{ cluster }} lvm zap test_group/data-lv1"
75 - name: prepare osd.0 using test_group/data-lv1
76 command: "ceph-volume --cluster {{ cluster }} lvm prepare --bluestore --data test_group/data-lv1 --osd-id 0"
80 - name: activate all to start the previously prepared osd.0
81 command: "ceph-volume lvm activate --all"
86 command: "ceph-volume lvm list"