* how to cancel scrub which got aborted due to hardly switching off the machine?
@ 2014-04-18 17:18 Martin Steigerwald
2014-04-25 9:41 ` George Eleftheriou
[not found] ` <CAPpBBdPMUKDnvpx0O_eCZxbAcjd1AMspWk1piyASBbZyyeNwWw@mail.gmail.com>
0 siblings, 2 replies; 3+ messages in thread
From: Martin Steigerwald @ 2014-04-18 17:18 UTC (permalink / raw)
To: linux-btrfs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: how to cancel scrub which got aborted due to hardly switching off the machine?
2014-04-18 17:18 how to cancel scrub which got aborted due to hardly switching off the machine? Martin Steigerwald
@ 2014-04-25 9:41 ` George Eleftheriou
[not found] ` <CAPpBBdPMUKDnvpx0O_eCZxbAcjd1AMspWk1piyASBbZyyeNwWw@mail.gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: George Eleftheriou @ 2014-04-25 9:41 UTC (permalink / raw)
To: Martin Steigerwald; +Cc: linux-btrfs
rm /var/lib/btrfs/scrub-<bla-bla-bla-bla>
On Fri, Apr 18, 2014 at 7:18 PM, Martin Steigerwald <Martin@lichtvoll.de> wrote:
> 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
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: how to cancel scrub which got aborted due to hardly switching off the machine?
[not found] ` <CAPpBBdPMUKDnvpx0O_eCZxbAcjd1AMspWk1piyASBbZyyeNwWw@mail.gmail.com>
@ 2014-04-25 10:42 ` Martin Steigerwald
0 siblings, 0 replies; 3+ messages in thread
From: Martin Steigerwald @ 2014-04-25 10:42 UTC (permalink / raw)
To: linux-btrfs; +Cc: George Eleftheriou
Am Freitag, 25. April 2014, 11:40:28 schrieben Sie:
> On Fri, Apr 18, 2014 at 7:18 PM, Martin Steigerwald <Martin@lichtvoll.de>
wrote:
> > 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
[… cannot cancel or resume an aborted scrub …]
> rm /var/lib/btrfs/scrub-<bla-bla-bla-bla>
Thanks, works like a charm.
Ciao,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-04-25 10:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-18 17:18 how to cancel scrub which got aborted due to hardly switching off the machine? Martin Steigerwald
2014-04-25 9:41 ` George Eleftheriou
[not found] ` <CAPpBBdPMUKDnvpx0O_eCZxbAcjd1AMspWk1piyASBbZyyeNwWw@mail.gmail.com>
2014-04-25 10:42 ` Martin Steigerwald
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).