Project

General

Profile

Actions

Support #675

closed

hot to adjust replicate level,disk not the same size

Added by longguang yue over 13 years ago. Updated over 13 years ago.

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.
  1. types
    type 0 device
    type 1 domain
    type 2 pool
  1. 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
    }
  1. 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

Also available in: Atom PDF