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