Project

General

Profile

Backport #21755

Updated by Nathan Cutler almost 4 years ago

https://github.com/ceph/ceph/pull/18236 get the following errors when we using *ceph pg ls <state>* commands

<pre>
[root@ceph37 ceph]# ceph pg ls forced_backfill
Error EINVAL: 'forced_backfill' is not a valid pg state, available choices: stale+creating+active+activating+clean+recovery_wait+recovery_toofull+recovering+forced_recovery+down+undersized+degraded+remapped+scrubbing+deep+inconsistent+peering+repair+backfilling+forced_backfill+backfill_toofull+incomplete+peered+snaptrim+snaptrim_wait+snaptrim_error
</pre>

additionally, we should input *backfill* but *backfilling* as the prompt as below:
<pre>
[root@ceph37 ceph]# ceph pg ls backfill
[root@ceph37 ceph]# ceph pg ls backfilling
Error EINVAL: 'backfilling' is not a valid pg state, available choices: stale+creating+active+activating+clean+recovery_wait+recovery_toofull+recovering+forced_recovery+down+undersized+degraded+remapped+scrubbing+deep+inconsistent+peering+repair+backfilling+forced_backfill+backfill_toofull+incomplete+peered+snaptrim+snaptrim_wait+snaptrim_error
[root@ceph37 ceph]#
</pre>

Back