I do know that there is a pause flag in Ceph.

What I do not know is if that also pauses recovery traffic, in addition to 
client traffic.

Also worth mentioning, this is a cluster-wide flag, not a pool level flag.

Reed

> On Feb 11, 2018, at 11:45 AM, David Turner <drakonst...@gmail.com> wrote:
> 
> If you set min_size to 2 or more, it will disable reads and writes to the 
> pool by blocking requests. Min_size is the minimum copies of a PG that need 
> to be online to allow it to the data. If you only have 1 copy, then it will 
> prevent io. It's not a flag you can set on the pool, but it should work out. 
> If you have size=3, then min_size=3 should block most io until the pool is 
> almost fully backfilled.
> 
> 
> On Sun, Feb 11, 2018, 9:46 AM Nico Schottelius <nico.schottel...@ungleich.ch 
> <mailto:nico.schottel...@ungleich.ch>> wrote:
> 
> Hello,
> 
> we have one pool, in which about 10 disks failed last week (fortunately
> mostly sequentially), which now has now some pgs that are only left on
> one disk.
> 
> Is there a command to set one pool into "read-only" mode or even
> "recovery io-only" mode so that the only thing same is doing is
> recovering and no client i/o will disturb that process?
> 
> Best,
> 
> Nico
> 
> 
> 
> --
> Modern, affordable, Swiss Virtual Machines. Visit www.datacenterlight.ch 
> <http://www.datacenterlight.ch/>
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com <mailto:ceph-users@lists.ceph.com>
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com 
> <http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com>
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to