All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Riemer <sebastian.riemer-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
To: Bart Van Assche <bvanassche-HInyCGIudOg@public.gmane.org>
Cc: Bruce McKenzie <sales-uUyUjRhFbRmVZhT2dXthUg@public.gmane.org>,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: How to do replication right with SRP or remote storage?
Date: Mon, 10 Jun 2013 15:27:46 +0200	[thread overview]
Message-ID: <51B5D452.9090105@profitbricks.com> (raw)
In-Reply-To: <51B5CA33.70006-HInyCGIudOg@public.gmane.org>

On 10.06.2013 14:44, Bart Van Assche wrote:
> On 06/10/13 14:05, Sebastian Riemer wrote:
>> Perhaps, I should collect all guys who require MD RAID-1 for remote
>> storage replication in order to put some pressure on Neil.
> 
> If I remember correctly one of the things Neil is trying to explain to
> md users is that when md is used without write-intent bitmap there is a
> risk of triggering a so-called write hole after a power failure ?

I'm not sure. Haven't seen something like this on the mailing list. Do
you have a reference from the archives?

I think this is handled by superblock writes in the correct order by
now. The main reason for the write-intent bitmap remains from my
knowledge that you need a full resync without it if a component device
is down for a short moment in time. It becomes faulty.
If you know that there can't be a hardware issue (e.g. virtual storage),
you can remove the faulty device and re-add it to the array.

If a device was faulty, then it assembles again. There is an error
counter in /sys/block/mdX/md/ sysfs and a maximum read error count
(usually 20) after which the faulty device doesn't assemble again.

/sys/block/mdX/md/dev-Y/errors
/sys/block/mdX/md/max_read_errors

Cheers,
Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2013-06-10 13:27 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-15  9:23 srp-ha backport Bart Van Assche
2012-11-20  4:04 ` Vasiliy Tolstov
     [not found]   ` <loom.20121120T050107-224-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2012-11-20 13:25     ` Bart Van Assche
     [not found]       ` <CACaajQtEu_z+GEUBuiDz6D1dHYsb-YSFMJfkWeya1FNvfhbQHg@mail.gmail.com>
     [not found]         ` <CACaajQtEu_z+GEUBuiDz6D1dHYsb-YSFMJfkWeya1FNvfhbQHg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-11-21 14:31           ` Bart Van Assche
     [not found]             ` <CACaajQsUR92Hg-nx_VQN1eHdnghDtsRv1xZJFaJKT=a4nWWf8Q@mail.gmail.com>
     [not found]               ` <CACaajQswh5foLKTGMhbZnj5JRpFax7nhdHxL7c1wTwbpMe=b8A@mail.gmail.com>
     [not found]                 ` <CACaajQswh5foLKTGMhbZnj5JRpFax7nhdHxL7c1wTwbpMe=b8A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-11-21 18:35                   ` Bart Van Assche
     [not found]                     ` <CACaajQs3pPpB9Bz1OxRduk63+uu+ahBYYZsYv_VgroWCsr+vzQ@mail.gmail.com>
     [not found]                       ` <CACaajQs3pPpB9Bz1OxRduk63+uu+ahBYYZsYv_VgroWCsr+vzQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-11-22  7:36                         ` Bart Van Assche
     [not found]                           ` <50ADD617.80500-HInyCGIudOg@public.gmane.org>
2012-12-05 18:10                             ` Vasiliy Tolstov
     [not found]                     ` <CACaajQva+gtR3+tNaPZSJZ7j7ACOzjNCWAKQeYfT5Gse2Nsx3Q@mail.gmail.com>
     [not found]                       ` <CACaajQva+gtR3+tNaPZSJZ7j7ACOzjNCWAKQeYfT5Gse2Nsx3Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-11-23  8:06                         ` Bart Van Assche
     [not found]                           ` <CACaajQu5e_S3UF0V7hyMZ+GChyT=MaZb7MtjwKph9q08f1MaHQ@mail.gmail.com>
     [not found]                             ` <CACaajQu5e_S3UF0V7hyMZ+GChyT=MaZb7MtjwKph9q08f1MaHQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-11-23 14:20                               ` Bart Van Assche
     [not found]                           ` <50AF2E9C.7050103-HInyCGIudOg@public.gmane.org>
2012-12-06  9:52                             ` Vasiliy Tolstov
     [not found]                               ` <CACaajQvVMmA23SCRNZwnRGYuB53gsBOGp26BxXu-J9vvHZ0szg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-12-06 10:53                                 ` Bart Van Assche
     [not found]                                   ` <50C07937.6080308-HInyCGIudOg@public.gmane.org>
2012-12-06 12:00                                     ` Vasiliy Tolstov
2013-06-08  2:31       ` Bruce McKenzie
     [not found]         ` <loom.20130608T041932-498-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2013-06-08 16:52           ` Combining distro IB tools and OFED Bart Van Assche
2013-06-10 12:05           ` How to do replication right with SRP or remote storage? Sebastian Riemer
     [not found]             ` <51B5C108.1030803-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2013-06-10 12:44               ` Bart Van Assche
     [not found]                 ` <51B5CA33.70006-HInyCGIudOg@public.gmane.org>
2013-06-10 13:27                   ` Sebastian Riemer [this message]
2013-06-11  9:48               ` Vasiliy Tolstov

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=51B5D452.9090105@profitbricks.com \
    --to=sebastian.riemer-eikl63zcoxah+58jc4qpia@public.gmane.org \
    --cc=bvanassche-HInyCGIudOg@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=sales-uUyUjRhFbRmVZhT2dXthUg@public.gmane.org \
    /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.