Re: Is there a "set pool readonly" command?

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

 



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.schottelius@xxxxxxxxxxx> 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@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux