All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Steigerwald <Martin@lichtvoll.de>
To: linux-btrfs@vger.kernel.org
Subject: how to cancel scrub which got aborted due to hardly switching off the machine?
Date: Fri, 18 Apr 2014 19:18:18 +0200	[thread overview]
Message-ID: <12598280.ebLKYkuoEp@merkaba> (raw)

Hello,

I have:

merkaba:/mnt#1> btrfs scrub status -d /home
scrub status for […]
scrub device /dev/dm-0 (id 1) status
        scrub started at Fri Apr 18 17:48:10 2014, running for 335 seconds
        total bytes scrubbed: 74.80GiB with 0 errors
scrub device /dev/mapper/sata-home (id 2) status
        scrub started at Fri Apr 18 17:48:10 2014, running for 335 seconds
        total bytes scrubbed: 69.86GiB with 0 errors


merkaba:/mnt#2> btrfs scrub resume /home
ERROR: scrub is already running.
To cancel use 'btrfs scrub cancel /home'.
To see the status use 'btrfs scrub status [-d] /home'.


merkaba:/mnt#1> btrfs scrub cancel /home
ERROR: scrub cancel failed on /home: not running

merkaba:~> btrfs scrub start /home    
ERROR: scrub is already running.
To cancel use 'btrfs scrub cancel /home'.
To see the status use 'btrfs scrub status [-d] /home'.


merkaba:~> cat /proc/version
Linux version 3.14.0-tp520 (martin@merkaba) (gcc version 4.8.2 (Debian 
4.8.2-17) ) #52 SMP PREEMPT Mon Mar 31 13:41:48 CEST 2014


Seems like an logic error.

How to get out of there?


Thanks,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7

             reply	other threads:[~2014-04-25  9:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-18 17:18 Martin Steigerwald [this message]
2014-04-25  9:41 ` how to cancel scrub which got aborted due to hardly switching off the machine? George Eleftheriou
     [not found] ` <CAPpBBdPMUKDnvpx0O_eCZxbAcjd1AMspWk1piyASBbZyyeNwWw@mail.gmail.com>
2014-04-25 10:42   ` Martin Steigerwald

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=12598280.ebLKYkuoEp@merkaba \
    --to=martin@lichtvoll.de \
    --cc=linux-btrfs@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 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.