All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vladimir Bashkirtsev <vladimir@bashkirtsev.com>
To: Gregory Farnum <greg@inktank.com>
Cc: ceph-devel <ceph-devel@vger.kernel.org>
Subject: Re: Crash of almost full ceph
Date: Tue, 07 Aug 2012 02:09:14 +0930	[thread overview]
Message-ID: <501FF332.3060005@bashkirtsev.com> (raw)
In-Reply-To: <CAPYLRzgTCu-_mvKBQNaHrmXqmBVib0cvcGKPmaL-yWGZ=uioww@mail.gmail.com>

On 07/08/12 01:55, Gregory Farnum wrote:
> There is not yet any such feature, no — dealing with full systems is 
> notoriously hard and we haven't come up with a great solution yet. One 
> thing you can do is experiment with the "mon_osd_min_in_ratio" 
> parameter, which prevents the monitors from marking out more than a 
> certain percentage of the OSD cluster (and without something being 
> marked out, no data will be moved around). If you don't want the 
> cluster to automatically mark any OSDs out, you can also set the 
> "mon_osd_down_out_interval" to zero. -Greg 
But it is good idea to have such feature as fail safe device. Settings 
you speak about may help a bit when cluster is almost full and there 
good number of OSDs but hard refusal of ceph to run recovery if ANY live 
OSD is over certain limit is quite unambiguous. If recovery fails due to 
one OSD is at capacity then it should be handed over to admin to decide 
what to do: rebalance CRUSH, add new OSD, remove some objects. Certainly 
ceph should not be able to fill up OSD with activity which is not 
required (but desired) by end clients.
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2012-08-06 16:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-04 10:37 Crash of almost full ceph Vladimir Bashkirtsev
2012-08-06 16:25 ` Gregory Farnum
2012-08-06 16:39   ` Vladimir Bashkirtsev [this message]
2012-08-06 16:53     ` Gregory Farnum
     [not found]       ` <5020B458.40106@bashkirtsev.com>
2012-08-07 19:35         ` Gregory Farnum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=501FF332.3060005@bashkirtsev.com \
    --to=vladimir@bashkirtsev.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=greg@inktank.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.