[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ceph-devel
Subject:    Re: Config File Problem for new =?UTF-8?Q?clusters=3F?=
From:       Sage Weil <sage () newdream ! net>
Date:       2011-05-27 5:11:00
Message-ID: Pine.LNX.4.64.1105262155040.20085 () cobra ! newdream ! net
[Download RAW message or body]

On Thu, 26 May 2011, Dyweni - Ceph-Devel wrote:
> Hi,
> 
> For testing purposes, I tried to specify the default pg_size which will be
> used to create the default pg_pools (data, metadata, rbd).
> 
> By default, the pg_size is 2.  However, regardless of where I add 'osd pool
> default size' to the ceph.conf file (I've tried the [mon] and [osd] sections),
> the pg_size is always 2.
> 
> How does one define what the pg_size will be before calling '/usr/bin/mkcephfs
> -c /etc/ceph/ceph.conf -a --mkbtrfs'?

I pushed a fix to the master branch.  The initial pool sizes were 
hard-coded to 2.  You can adjust things after the cluster is up and 
running with

	ceph osd pool set data size 3
	ceph osd pool set metadata size 3
	ceph osd pool set rbd size 3

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic