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

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

 




Am 12. Februar 2018 20:32:24 MEZ schrieb David Turner <drakonstein@xxxxxxxxx>:
>The pause flag also pauses recovery traffic.  It is literally a flag to
>stop anything and everything in the cluster so you can get an expert in
>to
>prevent something even worse from happening.
>

I am not sure but a few years ago (2/3) i had a look in calamarie and there was a flag which could be set to stop client io only... 

Someone out there who is using calamarie Today and could give a short response?

- Mehmet 

>On Mon, Feb 12, 2018 at 1:56 PM Reed Dier <reed.dier@xxxxxxxxxxx>
>wrote:
>
>> 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 <drakonstein@xxxxxxxxx>
>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.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
>>
>>
>>
_______________________________________________
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