linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: NeilBrown <nfbrown@novell.com>
To: d4lamar <d4lamar@gmail.com>, linux-raid@vger.kernel.org
Subject: Re: Stop resync operation
Date: Mon, 21 Dec 2015 15:22:58 +1100	[thread overview]
Message-ID: <87mvt44ehp.fsf@notabene.neil.brown.name> (raw)
In-Reply-To: <CAF8SPVLYv4fq1Wf80RGHuiO0bLwCK7EU+yp3M3bBXk2_23Nf4Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 853 bytes --]

On Fri, Nov 06 2015, d4lamar wrote:

> Dear Developers,
>
> I have a question for you.
>
> I have a raid10 md array:
>
> Is it theoretically possible to stop a running resync operation and
> mark the array as clean without stopping the array ?


Firstly stop the resync with:

  echo frozen > /sys/block/mdXXX/md/sync_action

Then mark the resync as complete with
  echo none > /sys/block/mdXXX/md/resync_start

then re-enable sync with

  echo idle > /sys/block/mdXXX/md/sync_action

But maybe 6 weeks was too long to wait for a reply :-(

NeilBrown

>
> I do not want the resync to be respawned automatically.
>
> Thanks and Best Regards,
> d4lamar
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

      reply	other threads:[~2015-12-21  4:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-06  6:44 Stop resync operation d4lamar
2015-12-21  4:22 ` NeilBrown [this message]

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=87mvt44ehp.fsf@notabene.neil.brown.name \
    --to=nfbrown@novell.com \
    --cc=d4lamar@gmail.com \
    --cc=linux-raid@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).