linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* scrub problem
@ 2015-02-20 19:59 Johan Kröckel
  2015-02-20 21:03 ` Bob Williams
  0 siblings, 1 reply; 5+ messages in thread
From: Johan Kröckel @ 2015-02-20 19:59 UTC (permalink / raw)
  To: linux-btrfs

The scrub is neither cancelable not stoppable. What is the problem?

[root@host ]# btrfs scrub status ./
scrub status for XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX
scrub started at Thu Feb 19 12:41:22 2015, running for 16964 seconds
total bytes scrubbed: 1.56TiB with 0 errors
[root@host ]# btrfs scrub cancel ./
ERROR: scrub cancel failed on ./: not running
[root@host ]# btrfs scrub start ./
ERROR: scrub is already running.
To cancel use 'btrfs scrub cancel ./'.
To see the status use 'btrfs scrub status [-d] ./'.

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: scrub problem
@ 2015-02-20 22:46 Calvin Walton
  0 siblings, 0 replies; 5+ messages in thread
From: Calvin Walton @ 2015-02-20 22:46 UTC (permalink / raw)
  To: Johan Kröckel; +Cc: linux-btrfs

On Fri, 2015-02-20 at 20:59 +0100, Johan Kröckel wrote:
> The scrub is neither cancelable not stoppable. What is the problem?
>
> [ root@host]# btrfs scrub status ./
> scrub status for XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX
> scrub started at Thu Feb 19 12:41:22 2015, running for 16964 seconds
> total bytes scrubbed: 1.56TiB with 0 errors
> [ root@host]# btrfs scrub cancel ./
> ERROR: scrub cancel failed on ./: not running
> [ root@host]# btrfs scrub start ./
> ERROR: scrub is already running.
> To cancel use 'btrfs scrub cancel ./'.
> To see the status use 'btrfs scrub status [-d] ./'.

You don't say here which version of btrfs-progs you are using...

As Bob said, this issue is caused by a desynchronization between the
state file on the drive and the kernel state. However, code was added
to btrfs-progs 3.17 to detect and correct this condition.

I'd suggest updating your btrfs-progs.

-- 
Calvin Walton <calvin.walton@kepstin.ca>

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

end of thread, other threads:[~2015-02-24  2:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-20 19:59 scrub problem Johan Kröckel
2015-02-20 21:03 ` Bob Williams
2015-02-22 18:26   ` Robert White
2015-02-24  2:11     ` Anand Jain
  -- strict thread matches above, loose matches on Subject: below --
2015-02-20 22:46 Calvin Walton

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