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.wal...@kepstin.ca>
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to