Re: [PATCH/RFC 5/6] doc: Add missing documentation for osd pool get.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 28, 2011 at 6:04 AM, Andre Noll <maan@xxxxxxxxxxxxxxx> wrote:
> "osd pool set" was already documented, but the corresponding "get"
> command was not. This patch adds the list of valid fields for this
> command, together with short descriptions.
>
> Signed-Off-By: Andre Noll <maan@xxxxxxxxxxxxxxx>
> ---
>  doc/ops/monitor.rst |   11 +++++++++++
>  1 files changed, 11 insertions(+), 0 deletions(-)
>
> diff --git a/doc/ops/monitor.rst b/doc/ops/monitor.rst
> index 4de3c19..076c8e1 100644
> --- a/doc/ops/monitor.rst
> +++ b/doc/ops/monitor.rst
> @@ -197,6 +197,17 @@ Changes a pool setting. Valid fields are:
>
>  ::
>
> +       $ ceph osd pool get POOL FIELD
> +
> +Get the value of a pool setting. Valid fields are:
> +
> +       * ``pg_num``: See above.
> +       * ``pgp_num``: See above.
> +       * ``lpg_num``: The localized pg number.
> +       * ``lpgp_num``: The number of localized pgs.
The lpg_num and lpgp_num are analogous to the pg_num and the pgp_num —
the lpg_num is the number of local PGs, and the lpgp_num is the number
used for placing them. This matters less for the local PGs than the
regular PGs but it can still control where the replicas are placed.
-Greg

>        $ ceph osd scrub N
>
>  Sends a scrub command to osdN. To send the command to all osds, use ``*``.
> --
> 1.7.8.rc1.14.g248db
>
>
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux