All of lore.kernel.org
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: "Patrik Horník" <patrik@dsl.sk>
Cc: linux-raid@vger.kernel.org
Subject: Re: Cancelling not pausing array check
Date: Tue, 7 Oct 2014 07:59:44 +1100	[thread overview]
Message-ID: <20141007075944.30be70ae@notabene.brown> (raw)
In-Reply-To: <CAAOsTSnYjW-r7VoOL0SiNhsdv5kn9DunrfD3izuLDzaHaBb56Q@mail.gmail.com>

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

On Mon, 6 Oct 2014 15:29:13 +0200 Patrik Horník <patrik@dsl.sk> wrote:

> Hello,
> 
> is it possible to cancel RAID 6 array check? echo check >
> /sys/block/mdX/md/sync_action apparently only pauses it and next check
> continuing from saved position. (I guess /sys/block/mdX/md/sync_min)
> 
> I want to achieve two things:
> 
> - Start check from the start of the array.
> 
> - Be sure I can shutdown array without any ill effect because check
> was interrupted.
> 
> I guess that position will be cleared when array is stopped and
> started again, but I dont want to guess and experiment... :)

Why ever not?  Guessing and experimenting is AWESOME.  We call it "Science".
I can understand that you might not want to experiment we real data, but
creating a few loop-back devices with "losetup", forming them into an array,
and experimenting on that can be very worthwhile.

NeilBrown


> 
> Thanks.
> 
> Best regards,
> 
> Patrik
> --
> 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: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

  parent reply	other threads:[~2014-10-06 20:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-06 13:29 Cancelling not pausing array check Patrik Horník
2014-10-06 13:36 ` Robin Hill
2014-10-06 13:39   ` Patrik Horník
2014-10-06 13:53     ` Robin Hill
2014-10-06 17:41       ` Patrik Horník
2014-10-06 20:59 ` NeilBrown [this message]
2014-10-06 22:57   ` Patrik Horník

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=20141007075944.30be70ae@notabene.brown \
    --to=neilb@suse.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=patrik@dsl.sk \
    /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.