.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "CEPH" "8" "Oct 24, 2023" "dev" "Ceph" .SH NAME ceph \- ceph administration tool .SH SYNOPSIS .nf \fBceph\fP \fBauth\fP [ \fIadd\fP | \fIcaps\fP | \fIdel\fP | \fIexport\fP | \fIget\fP | \fIget\-key\fP | \fIget\-or\-create\fP | \fIget\-or\-create\-key\fP | \fIimport\fP | \fIlist\fP | \fIprint\-key\fP | \fIprint_key\fP ] ... .fi .sp .nf \fBceph\fP \fBcompact\fP .fi .sp .nf \fBceph\fP \fBconfig\fP [ \fIdump\fP | \fIls\fP | \fIhelp\fP | \fIget\fP | \fIshow\fP | \fIshow\-with\-defaults\fP | \fIset\fP | \fIrm\fP | \fIlog\fP | \fIreset\fP | \fIassimilate\-conf\fP | \fIgenerate\-minimal\-conf\fP ] ... .fi .sp .nf \fBceph\fP \fBconfig\-key\fP [ \fIrm\fP | \fIexists\fP | \fIget\fP | \fIls\fP | \fIdump\fP | \fIset\fP ] ... .fi .sp .nf \fBceph\fP \fBdaemon\fP \fI\fP | \fI\fP \fI\fP ... .fi .sp .nf \fBceph\fP \fBdaemonperf\fP \fI\fP | \fI\fP [ \fIinterval\fP [ \fIcount\fP ] ] .fi .sp .nf \fBceph\fP \fBdf\fP \fI{detail}\fP .fi .sp .nf \fBceph\fP \fBfs\fP [ \fIls\fP | \fInew\fP | \fIreset\fP | \fIrm\fP | \fIauthorize\fP ] ... .fi .sp .nf \fBceph\fP \fBfsid\fP .fi .sp .nf \fBceph\fP \fBhealth\fP \fI{detail}\fP .fi .sp .nf \fBceph\fP \fBinjectargs\fP \fI\fP [ \fI\fP\&... ] .fi .sp .nf \fBceph\fP \fBlog\fP \fI\fP [ \fI\fP\&... ] .fi .sp .nf \fBceph\fP \fBmds\fP [ \fIcompat\fP | \fIfail\fP | \fIrm\fP | \fIrmfailed\fP | \fIset_state\fP | \fIstat\fP | \fIrepaired\fP ] ... .fi .sp .nf \fBceph\fP \fBmon\fP [ \fIadd\fP | \fIdump\fP | \fIenable_stretch_mode\fP | \fIgetmap\fP | \fIremove\fP | \fIstat\fP ] ... .fi .sp .nf \fBceph\fP \fBosd\fP [ \fIblocklist\fP | \fIblocked\-by\fP | \fIcreate\fP | \fInew\fP | \fIdeep\-scrub\fP | \fIdf\fP | \fIdown\fP | \fIdump\fP | \fIerasure\-code\-profile\fP | \fIfind\fP | \fIgetcrushmap\fP | \fIgetmap\fP | \fIgetmaxosd\fP | \fIin\fP | \fIls\fP | \fIlspools\fP | \fImap\fP | \fImetadata\fP | \fIok\-to\-stop\fP | \fIout\fP | \fIpause\fP | \fIperf\fP | \fIpg\-temp\fP | \fIforce\-create\-pg\fP | \fIprimary\-affinity\fP | \fIprimary\-temp\fP | \fIrepair\fP | \fIreweight\fP | \fIreweight\-by\-pg\fP | \fIrm\fP | \fIdestroy\fP | \fIpurge\fP | \fIsafe\-to\-destroy\fP | \fIscrub\fP | \fIset\fP | \fIsetcrushmap\fP | \fIsetmaxosd\fP | \fIstat\fP | \fItree\fP | \fIunpause\fP | \fIunset\fP ] ... .fi .sp .nf \fBceph\fP \fBosd\fP \fBcrush\fP [ \fIadd\fP | \fIadd\-bucket\fP | \fIcreate\-or\-move\fP | \fIdump\fP | \fIget\-tunable\fP | \fIlink\fP | \fImove\fP | \fIremove\fP | \fIrename\-bucket\fP | \fIreweight\fP | \fIreweight\-all\fP | \fIreweight\-subtree\fP | \fIrm\fP | \fIrule\fP | \fIset\fP | \fIset\-tunable\fP | \fIshow\-tunables\fP | \fItunables\fP | \fIunlink\fP ] ... .fi .sp .nf \fBceph\fP \fBosd\fP \fBpool\fP [ \fIcreate\fP | \fIdelete\fP | \fIget\fP | \fIget\-quota\fP | \fIls\fP | \fImksnap\fP | \fIrename\fP | \fIrmsnap\fP | \fIset\fP | \fIset\-quota\fP | \fIstats\fP ] ... .fi .sp .nf \fBceph\fP \fBosd\fP \fBpool\fP \fBapplication\fP [ \fIdisable\fP | \fIenable\fP | \fIget\fP | \fIrm\fP | \fIset\fP ] ... .fi .sp .nf \fBceph\fP \fBosd\fP \fBtier\fP [ \fIadd\fP | \fIadd\-cache\fP | \fIcache\-mode\fP | \fIremove\fP | \fIremove\-overlay\fP | \fIset\-overlay\fP ] ... .fi .sp .nf \fBceph\fP \fBpg\fP [ \fIdebug\fP | \fIdeep\-scrub\fP | \fIdump\fP | \fIdump_json\fP | \fIdump_pools_json\fP | \fIdump_stuck\fP | \fIgetmap\fP | \fIls\fP | \fIls\-by\-osd\fP | \fIls\-by\-pool\fP | \fIls\-by\-primary\fP | \fImap\fP | \fIrepair\fP | \fIscrub\fP | \fIstat\fP ] ... .fi .sp .nf \fBceph\fP \fBquorum_status\fP .fi .sp .nf \fBceph\fP \fBreport\fP { \fI\fP [ \fI...\fP ] } .fi .sp .nf \fBceph\fP \fBstatus\fP .fi .sp .nf \fBceph\fP \fBsync\fP \fBforce\fP {\-\-yes\-i\-really\-mean\-it} {\-\-i\-know\-what\-i\-am\-doing} .fi .sp .nf \fBceph\fP \fBtell\fP \fI [options...]\fP .fi .sp .nf \fBceph\fP \fBversion\fP .fi .sp .SH DESCRIPTION .sp \fBceph\fP is a control utility which is used for manual deployment and maintenance of a Ceph cluster. It provides a diverse set of commands that allows deployment of monitors, OSDs, placement groups, MDS and overall maintenance, administration of the cluster. .SH COMMANDS .SS auth .sp Manage authentication keys. It is used for adding, removing, exporting or updating of authentication keys for a particular entity such as a monitor or OSD. It uses some additional subcommands. .sp Subcommand \fBadd\fP adds authentication info for a particular entity from input file, or random key if no input is given and/or any caps specified in the command. .sp Usage: .INDENT 0.0 .INDENT 3.5 .sp .EX ceph auth add { [...]} .EE .UNINDENT .UNINDENT .sp Subcommand \fBcaps\fP updates caps for \fBname\fP from caps specified in the command. .sp Usage: .INDENT 0.0 .INDENT 3.5 .sp .EX ceph auth caps [...] .EE .UNINDENT .UNINDENT .sp Subcommand \fBdel\fP deletes all caps for \fBname\fP\&. .sp Usage: .INDENT 0.0 .INDENT 3.5 .sp .EX ceph auth del .EE .UNINDENT .UNINDENT .sp Subcommand \fBexport\fP writes keyring for requested entity, or master keyring if none given. .sp Usage: .INDENT 0.0 .INDENT 3.5 .sp .EX ceph auth export {} .EE .UNINDENT .UNINDENT .sp Subcommand \fBget\fP writes keyring file with requested key. .sp Usage: .INDENT 0.0 .INDENT 3.5 .sp .EX ceph auth get .EE .UNINDENT .UNINDENT .sp Subcommand \fBget\-key\fP displays requested key. .sp Usage: .INDENT 0.0 .INDENT 3.5 .sp .EX ceph auth get\-key .EE .UNINDENT .UNINDENT .sp Subcommand \fBget\-or\-create\fP adds authentication info for a particular entity from input file, or random key if no input given and/or any caps specified in the command. .sp Usage: .INDENT 0.0 .INDENT 3.5 .sp .EX ceph auth get\-or\-create { [...]} .EE .UNINDENT .UNINDENT .sp Subcommand \fBget\-or\-create\-key\fP gets or adds key for \fBname\fP from system/caps pairs specified in the command. If key already exists, any given caps must match the existing caps for that key. .sp Usage: .INDENT 0.0 .INDENT 3.5 .sp .EX ceph auth get\-or\-create\-key { [...]} .EE .UNINDENT .UNINDENT .sp Subcommand \fBimport\fP reads keyring from input file. .sp Usage: .INDENT 0.0 .INDENT 3.5 .sp .EX ceph auth import .EE .UNINDENT .UNINDENT .sp Subcommand \fBls\fP lists authentication state. .sp Usage: .INDENT 0.0 .INDENT 3.5 .sp .EX ceph auth ls .EE .UNINDENT .UNINDENT .sp Subcommand \fBprint\-key\fP displays requested key. .sp Usage: .INDENT 0.0 .INDENT 3.5 .sp .EX ceph auth print\-key .EE .UNINDENT .UNINDENT .sp Subcommand \fBprint_key\fP displays requested key. .sp Usage: .INDENT 0.0 .INDENT 3.5 .sp .EX ceph auth print_key .EE .UNINDENT .UNINDENT .SS compact .sp Causes compaction of monitor\(aqs leveldb storage. .sp Usage: .INDENT 0.0 .INDENT 3.5 .sp .EX ceph compact .EE .UNINDENT .UNINDENT .SS config .sp Configure the cluster. By default, Ceph daemons and clients retrieve their configuration options from monitor when they start, and are updated if any of the tracked options is changed at run time. It uses following additional subcommand. .sp Subcommand \fBdump\fP to dump all options for the cluster .sp Usage: .INDENT 0.0 .INDENT 3.5 .sp .EX ceph config dump .EE .UNINDENT .UNINDENT .sp Subcommand \fBls\fP to list all option names for the cluster .sp Usage: .INDENT 0.0 .INDENT 3.5 .sp .EX ceph config ls .EE .UNINDENT .UNINDENT .sp Subcommand \fBhelp\fP to describe the specified configuration option .sp Usage: .INDENT 0.0 .INDENT 3.5 .sp .EX ceph config help