Re: How to recover degraded objects?

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

 



On Tue, 8 Nov 2011, Tommi Virtanen wrote:
> On Sun, Nov 6, 2011 at 21:16, Atish Kathpal <atish.kathpal@xxxxxxxxx> wrote:
> > root@atish-virtual-machine:/etc/ceph# ceph osd dump -o -|grep pg_size
> > pg_pool 2 'rbd' pg_pool(rep pg_size 2 crush_ruleset 2 object_hash
> > rjenkins pg_num 64 pgp_num 64 lpg_num 2 lpgp_num 2 last_change 1 owner
> > 0)
> 
> It seems the desired number of copes for the "rbd" pool is still set to 2. Run
> 
> ceph osd pool set rbd size 1
> 
> and then your 1-osd setup should be happier.

One caveat: the pg status currently doesn't get refreshed when the actual 
pg mapping doesn't change, and in this case the pool size change of 2->1 
won't.  It will refresh if you restart the OSDs, though.

sage

--
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