diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:24:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:24:20 +0000 |
commit | 483eb2f56657e8e7f419ab1a4fab8dce9ade8609 (patch) | |
tree | e5d88d25d870d5dedacb6bbdbe2a966086a0a5cf /src/crush/old_sample.txt | |
parent | Initial commit. (diff) | |
download | ceph-upstream.tar.xz ceph-upstream.zip |
Adding upstream version 14.2.21.upstream/14.2.21upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/crush/old_sample.txt')
-rw-r--r-- | src/crush/old_sample.txt | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/src/crush/old_sample.txt b/src/crush/old_sample.txt new file mode 100644 index 00000000..54cf06a7 --- /dev/null +++ b/src/crush/old_sample.txt @@ -0,0 +1,82 @@ + +# first define our types +<types> + <type osd> + type_id = 0 + </type> + <type cab> + type_id = 2 + </type> + <type row> + type_id = 3 + </type> + <type pool> + type_id = 10 + </type> +</types> + +# hierarchy +<devices> + <osd osd001> + id 1 + weight 500 + </osd> + <osd osd002> + id 2 + weight 500 + </osd> + <osd osd003> + id 3 + weight 500 + </osd> + <osd osd004> + id 4 + weight 500 + </osd> + <osd osd005> + id 5 + weight 500 + </osd> +</devices> + +<buckets> + <cab cab-d2> + alg straw + id -12 + <item osd001/> + <item osd002/> + <item osd003/> + <item osd004> + weight 600 + </item> + </cab> + +# <pool newlayout> +# <item satapool> +# weight 1.0 +# </item> +# <item fcpool> +# weight 3.0 +# </item> +# </pool> +</buckets> + +<devices> + <osd osd006> + id 5 + weight 500 + </osd> +</devices> + +# rules +<rules> + <rule normal> + pool 0 + type replicated + min_size 1 + mix_size 4 + step take root + step choose_indep 0 osd + step emit + </rule> +</rules> |