linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Stop resync operation
@ 2015-11-06  6:44 d4lamar
  2015-12-21  4:22 ` NeilBrown
  0 siblings, 1 reply; 2+ messages in thread
From: d4lamar @ 2015-11-06  6:44 UTC (permalink / raw)
  To: linux-raid

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 ?

I do not want the resync to be respawned automatically.

Thanks and Best Regards,
d4lamar

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Stop resync operation
  2015-11-06  6:44 Stop resync operation d4lamar
@ 2015-12-21  4:22 ` NeilBrown
  0 siblings, 0 replies; 2+ messages in thread
From: NeilBrown @ 2015-12-21  4:22 UTC (permalink / raw)
  To: d4lamar, linux-raid

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-12-21  4:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-06  6:44 Stop resync operation d4lamar
2015-12-21  4:22 ` NeilBrown

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).