Usage::
- ceph pg dump_stuck {inactive|unclean|stale[inactive|unclean|stale...]}
+ ceph pg dump_stuck {inactive|unclean|stale[inactive|unclean|stale|undersized|degraded...]}
{<int>}
Subcommand ``force_create_pg`` forces creation of pg <pgid>.
To display the statistics for all placement groups stuck in a specified state,
execute the following::
- ceph pg dump_stuck inactive|unclean|stale [--format {format}] [-t|--threshold {seconds}]
+ ceph pg dump_stuck inactive|unclean|stale|undersized|degraded [--format {format}] [-t|--threshold {seconds}]
``--format`` may be ``plain`` (default) or ``json``
To identify stuck placement groups, execute the following::
- ceph pg dump_stuck [unclean|inactive|stale]
+ ceph pg dump_stuck [unclean|inactive|stale|undersized|degraded]
See `Placement Group Subsystem`_ for additional details. To troubleshoot
stuck placement groups, see `Troubleshooting PG Errors`_.
To get the statistics for all placement groups stuck in a specified state,
execute the following::
- ceph pg dump_stuck inactive|unclean|stale [--format <format>] [-t|--threshold <seconds>]
+ ceph pg dump_stuck inactive|unclean|stale|undersized|degraded [--format <format>] [-t|--threshold <seconds>]
**Inactive** Placement groups cannot process reads or writes because they are waiting for an OSD
with the most up-to-date data to come up and in.
.sp
.nf
.ft C
-ceph pg dump_stuck {inactive|unclean|stale[inactive|unclean|stale...]}
+ceph pg dump_stuck {inactive|unclean|stale|undersized|degraded[inactive|unclean|stale|undersized|degraded...]}
{<int>}
.ft P
.fi
ceph pg dump_stuck inactive
ceph pg dump_stuck unclean
ceph pg dump_stuck stale
+ ceph pg dump_stuck undersized
+ ceph pg dump_stuck degraded
# can't test this...
# ceph pg force_create_pg
ceph pg getmap -o $TMPDIR/map.$$
COMMAND("pg dump_pools_json", "show pg pools info in json only",\
"pg", "r", "cli,rest")
COMMAND("pg dump_stuck " \
- "name=stuckops,type=CephChoices,strings=inactive|unclean|stale,n=N,req=false " \
+ "name=stuckops,type=CephChoices,strings=inactive|unclean|stale|undersized|degraded,n=N,req=false " \
"name=threshold,type=CephInt,req=false",
"show information about stuck pgs",\
"pg", "r", "cli,rest")