Project

General

Profile

Actions

Feature #2519

closed

rados: allow setting pg_num and pgp_num when creating a pool

Added by Josh Durgin almost 12 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
librados
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Right now rados mkpool creates a pool with 8 pgs, which is almost always too few. 'ceph osd pool create' accepts pg_num and pgp_num parameters. These will need to be added to the librados and Objecter apis.


Related issues 1 (0 open1 closed)

Related to Ceph - Bug #3780: pg_num inappropriately low on new poolsWon't Fix01/10/2013

Actions
Actions #1

Updated by Loïc Dachary over 9 years ago

  • Status changed from New to Resolved

Using a mon cmd to create the pool instead of the specialized function supports setting pg_num / pgp_num.

Actions

Also available in: Atom PDF