Re: Missing Option to give amount of PGs on pool creation with librados

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

 



On Mon, 5 Aug 2013, Niklas Goerke wrote:
> Hi there
> 
> The way I see it, there is no option to give the amount of PGs when creating a
> new pool using librados [1]. Thus any pool created using librados has 8 PGs
> (default). I don't see a reason for this behaviour. Is there any?
> 
> Otherwise I'll post a feature request for an option to give the amount of PGs.

You can also use the new mon_command call to feed a create command in
json, which does let you specify the pg count (this is exactly what the 
CLI does now).  Starting with 0.66, at least!

sage


> 
> Niklas
> 
> [1] http://ceph.com/docs/next/rados/api/librados/
> --
> 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
> 
> 
--
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