Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Vikram Goyal <vikram@smcindiaonline.com>
To: linux-btrfs@vger.kernel.org
Subject: scub neither running nor canceling nor can be restarted.
Date: Mon, 9 Dec 2013 15:21:34 +0530	[thread overview]
Message-ID: <20131209095133.GA6579@mail2.smcindiaonline.com> (raw)


Hello,

I am having a problem where a stuck scrub on root FS cannot be
cancelled or restsrted.

Please See:
[root@mail2 ~]# btrfs filesystem show
Label: fedora_mail2  uuid: d2b3420c-99c1-44cc-a922-ac266072c7fb
Total devices 2 FS bytes used 58.88GiB
devid    2 size 73.51GiB used 31.03GiB path /dev/sdb6
devid    3 size 73.30GiB used 32.03GiB path /dev/sda2

Label: Vikram  uuid: 0809b072-35f3-4866-92b8-af4772b23ed6
Total devices 2 FS bytes used 98.05GiB
devid    1 size 158.03GiB used 99.04GiB path /dev/mapper/sda3
devid    2 size 157.00GiB used 99.03GiB path /dev/dm-1

Btrfs v3.12
[root@mail2 ~]# btrfs scrub status -d /
scrub status for d2b3420c-99c1-44cc-a922-ac266072c7fb
scrub device /dev/sdb6 (id 2) status
scrub started at Thu Apr 18 13:51:13 2013, running for 105 seconds
total bytes scrubbed: 3.81GiB with 0 errors
scrub device /dev/sda2 (id 3) status
scrub started at Thu Apr 18 13:51:13 2013, running for 105 seconds
total bytes scrubbed: 4.34GiB with 0 errors

[root@mail2 ~]# btrfs scrub cancel /
ERROR: scrub cancel failed on /: not running

[root@mail2 ~]# btrfs scrub start -Bd /
ERROR: scrub is already running.
To cancel use 'btrfs scrub cancel /'.
To see the status use 'btrfs scrub status [-d] /'.

Thanks!
-- 

             reply	other threads:[~2013-12-09 10:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-09  9:51 Vikram Goyal [this message]
2013-12-09 10:44 ` scub neither running nor canceling nor can be restarted Wang Shilong
2013-12-09 12:18   ` Vikram Goyal
2013-12-09 12:23     ` Wang Shilong
2013-12-09 10:58 ` Wang Shilong

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=20131209095133.GA6579@mail2.smcindiaonline.com \
    --to=vikram@smcindiaonline.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=vikigoyal@gmail.com \
    /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