Actions
Support #675
closedhot to adjust replicate level,disk not the same size
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Tags:
Reviewed:
Affected Versions:
Pull request ID:
Description
some disk is 3T,while some disks less 50G,
who can tell me the meaning of crush file.
who can tell me the meaning of crush file.
- types
type 0 device
type 1 domain
type 2 pool
- buckets
domain root {
id -1 # do not change unnecessarily
alg straw
hash 0 # rjenkins1
item device0 weight 1.000
item device1 weight 1.000
item device2 weight 1.000
}
- rules
rule data {
ruleset 0
type replicated
min_size 1
max_size 10
step take root
step choose firstn 0 type device
step emit
}
Actions