Feature #3120
Updated by Anonymous over 11 years ago
This should be easy after #3078 and #3079.
Something like
<pre>
$ sudo ceph-disk-list --help
usage: ceph-disk-list [-h] [-v]
List Ceph data and journal disks
optional arguments:
-h, --help show this help message and exit
-v, --verbose be more verbose
</pre>
(imagine /dev/sda as system disk, three osds sharing an ssd for journals, only one running; the prepared journal lines show what disks they'd be paired with, or something)
<pre>
$ sudo ceph-disk-list
data /dev/sdb1 active osd.42
data /dev/sdc1 prepared
data /dev/sdd1 prepared
journal /dev/sde1 active osd.42
journal /dev/sde2 prepared /dev/sdc1
journal /dev/sde3 prepared /dev/sdd1
</pre>