]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/workunits/mon/crush_ops.sh
update sources to 12.2.7
[ceph.git] / ceph / qa / workunits / mon / crush_ops.sh
index 348811e7c4b24e9118292ed9ab7e756e2d3bb30e..2ae8202301ee2cc3df621e160c9169be17ef84ae 100755 (executable)
@@ -202,4 +202,15 @@ ceph osd pool rm cool cool --yes-i-really-really-mean-it
 ceph osd pool rm cold cold --yes-i-really-really-mean-it
 ceph osd crush weight-set rm-compat
 
+# weight set vs device classes vs move
+ceph osd crush weight-set create-compat
+ceph osd crush add-bucket fooo host
+ceph osd crush move fooo root=default
+ceph osd crush add-bucket barr rack
+ceph osd crush move barr root=default
+ceph osd crush move fooo rack=barr
+ceph osd crush rm fooo
+ceph osd crush rm barr
+ceph osd crush weight-set rm-compat
+
 echo OK