]> git.proxmox.com Git - ceph.git/blob - ceph/src/test/cli/osdmaptool/crush.t
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / test / cli / osdmaptool / crush.t
1 $ osdmaptool --createsimple 3 myosdmap --with-default-pool
2 osdmaptool: osdmap file 'myosdmap'
3 osdmaptool: writing epoch 1 to myosdmap
4 $ osdmaptool --export-crush oc myosdmap
5 osdmaptool: osdmap file 'myosdmap'
6 osdmaptool: exported crush map to oc
7 $ osdmaptool --import-crush oc myosdmap
8 osdmaptool: osdmap file 'myosdmap'
9 osdmaptool: imported 497 byte crush map from oc
10 osdmaptool: writing epoch 3 to myosdmap
11 $ osdmaptool --adjust-crush-weight 0:5 myosdmap
12 osdmaptool: osdmap file 'myosdmap'
13 Adjusted osd.0 CRUSH weight to 5
14 $ osdmaptool --adjust-crush-weight 0:5 myosdmap --save
15 osdmaptool: osdmap file 'myosdmap'
16 Adjusted osd.0 CRUSH weight to 5
17 osdmaptool: writing epoch 5 to myosdmap