blob: 4a967843fe62071dfa341842985407e93ef23020 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
$ osdmaptool --createsimple 3 myosdmap --with-default-pool
osdmaptool: osdmap file 'myosdmap'
osdmaptool: writing epoch 1 to myosdmap
#
# --test-map-object / --pool
#
$ osdmaptool myosdmap --test-map-object foo --pool
Option --pool requires an argument.
[1]
$ osdmaptool myosdmap --test-map-object foo --pool bar
The option value 'bar' is invalid
[1]
$ osdmaptool myosdmap --test-map-object foo --pool 123
osdmaptool: osdmap file 'myosdmap'
There is no pool 123
[1]
$ osdmaptool myosdmap --test-map-object foo --pool 1
osdmaptool: osdmap file 'myosdmap'
object 'foo' \-\> 1\..* (re)
$ osdmaptool myosdmap --test-map-object foo
osdmaptool: osdmap file 'myosdmap'
osdmaptool: assuming pool 1 (use --pool to override)
object 'foo' \-\> 1\..* (re)
#
# --test-map-pgs / --pool
#
$ osdmaptool myosdmap --test-map-pgs --pool
Option --pool requires an argument.
[1]
$ osdmaptool myosdmap --test-map-pgs --pool baz
The option value 'baz' is invalid
[1]
$ osdmaptool myosdmap --test-map-pgs --pool 123
osdmaptool: osdmap file 'myosdmap'
There is no pool 123
[1]
$ osdmaptool myosdmap --mark-up-in --test-map-pgs --pool 1 | grep pool
osdmaptool: osdmap file 'myosdmap'
pool 1 pg_num .* (re)
$ osdmaptool myosdmap --mark-up-in --test-map-pgs | grep pool
osdmaptool: osdmap file 'myosdmap'
pool 1 pg_num .* (re)
|