]> git.proxmox.com Git - ceph.git/blob - ceph/doc/rados/command/list-inconsistent-snap.json
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / doc / rados / command / list-inconsistent-snap.json
1 {
2 "$schema": "http://json-schema.org/draft-04/schema#",
3 "type": "object",
4 "properties": {
5 "epoch": {
6 "description": "Scrub epoch",
7 "type": "integer"
8 },
9 "inconsistents": {
10 "type": "array",
11 "items": {
12 "type": "object",
13 "properties": {
14 "name": {
15 "type": "string"
16 },
17 "nspace": {
18 "type": "string"
19 },
20 "locator": {
21 "type": "string"
22 },
23 "snap": {
24 "oneOf": [
25 {
26 "type": "string",
27 "enum": [
28 "head",
29 "snapdir"
30 ]
31 },
32 {
33 "type": "integer",
34 "minimum": 0
35 }
36 ]
37 },
38 "errors": {
39 "description": "Errors for this object's snap",
40 "type": "array",
41 "items": {
42 "enum": [
43 "ss_attr_missing",
44 "ss_attr_corrupted",
45 "oi_attr_missing",
46 "oi_attr_corrupted",
47 "snapset_mismatch",
48 "head_mismatch",
49 "headless",
50 "size_mismatch",
51 "extra_clones",
52 "clone_missing"
53 ]
54 },
55 "minItems": 1,
56 "uniqueItems": true
57 },
58 "missing": {
59 "description": "List of missing clones if clone_missing error set",
60 "type": "array",
61 "items": {
62 "type": "integer"
63 }
64 },
65 "extra_clones": {
66 "description": "List of extra clones if extra_clones error set",
67 "type": "array",
68 "items": {
69 "type": "integer"
70 }
71 }
72 },
73 "required": [
74 "name",
75 "nspace",
76 "locator",
77 "snap",
78 "errors"
79 ]
80 }
81 }
82 },
83 "required": [
84 "epoch",
85 "inconsistents"
86 ]
87 }