how to cancel scrub which got aborted due to hardly switching off the machine?
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,
Signature · 2 lines
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
rm /var/lib/btrfs/scrub-<bla-bla-bla-bla>
Quoted 47 lines · Martin Steigerwald
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 errorsmerkaba:/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 runningmerkaba:~> 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 2014Seems 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): CAPpBBdPMUKDnvpx0O_eCZxbAcjd1AMspWk1piyASBbZyyeNwWw@mail.gmail.com
Am Freitag, 25. April 2014, 11:40:28 schrieben Sie:
Quoted 1 line
On Fri, Apr 18, 2014 at 7:18 PM, Martin Steigerwald <[email protected]>
Quoted 10 lines · wrote:
Quoted 10 lines
Hello,
I have:
merkaba:/mnt#1> btrfs scrub status -d /home
scrub status for […]
scrub device/dev/dm-0(id 1) statusscrub 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 …]
Quoted 1 line
rm /var/lib/btrfs/scrub-<bla-bla-bla-bla>
Thanks, works like a charm.
Ciao,
Signature · 2 lines
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7