* Scrub being stuck
@ 2014-06-29 17:14 Florian Lindner
2014-06-29 17:17 ` Florian Lindner
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Florian Lindner @ 2014-06-29 17:14 UTC (permalink / raw)
To: linux-btrfs
Hello,
I've just completed a scrub on my home filesystem and now I wanted to start
on my Archiv btrfs RAID 0.
root@horus ~ # uname -
a
Linux horus 3.15.2-1-ARCH #1 SMP PREEMPT Fri Jun 27 07:41:19 CEST 2014
x86_64 GNU/Linux
root@horus ~ # btrfs --version
Btrfs v3.14.2-dirty
root@horus ~ # btrfs fi show
Label: 'home' uuid: 571009c0-6cc4-4598-a77b-f175501d23fd
Total devices 1 FS bytes used 2.03TiB
devid 1 size 2.73TiB used 2.04TiB path /dev/sdb1
Label: 'Archiv' uuid: b2504193-efeb-4ef3-8797-a8d73536a416
Total devices 2 FS bytes used 5.14TiB
devid 1 size 2.73TiB used 2.73TiB path /dev/sdd1
devid 2 size 2.73TiB used 2.73TiB path /dev/sde1
Btrfs v3.14.2-dirty
root@horus ~ # btrfs fi df /mnt/Archiv
Data, RAID0: total=5.44TiB, used=5.13TiB
Data, single: total=8.00MiB, used=244.00KiB
System, RAID1: total=32.00MiB, used=396.00KiB
System, single: total=4.00MiB, used=0.00
Metadata, RAID1: total=10.94GiB, used=8.71GiB
unknown, single: total=512.00MiB, used=0.00
root@horus ~ # btrfs scrub status /mnt/Archiv
scrub status for b2504193-efeb-4ef3-8797-a8d73536a416
scrub started at Thu Jan 2 21:13:35 2014, running for 1336 seconds
total bytes scrubbed: 473.28GiB with 0 errors
root@horus ~ # btrfs scrub cancel /mnt/Archiv
ERROR: scrub cancel failed on /mnt/Archiv: not running
root@horus ~ # btrfs scrub resume
/mnt/Archiv
ERROR: scrub is already running.
To cancel use 'btrfs scrub cancel /mnt/Archiv'.
To see the status use 'btrfs scrub status [-d] /mnt/Archiv'.
root@horus ~ # btrfs scrub start
/mnt/Archiv
ERROR: scrub is already running.
To cancel use 'btrfs scrub cancel /mnt/Archiv'.
To see the status use 'btrfs scrub status [-d] /mnt/Archiv'.
A scrub I started at Jan 02 seems to be stuck somehow. The command outputs
above were generated right now.
I'll be hapy to provide any more information.
Thx!
Florian
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Scrub being stuck
2014-06-29 17:14 Scrub being stuck Florian Lindner
@ 2014-06-29 17:17 ` Florian Lindner
2014-06-29 23:06 ` Holger Hoffstätte
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Florian Lindner @ 2014-06-29 17:17 UTC (permalink / raw)
To: linux-btrfs
Florian Lindner wrote:
> Hello,
>
> I've just completed a scrub on my home filesystem and now I wanted to
> start on my Archiv btrfs RAID 0.
Amendment:
anything btrfs related dmesg shows is
[ 38.240950] BTRFS info (device sdd1): csum failed ino 314 off 4129595392
csum 1774389615 expected csum 2138618437
[ 38.241365] BTRFS info (device sdd1): csum failed ino 314 off 4129595392
csum 1774389615 expected csum 2138618437
This messages are the reason why I wanted to try a scrub.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Scrub being stuck
2014-06-29 17:14 Scrub being stuck Florian Lindner
2014-06-29 17:17 ` Florian Lindner
@ 2014-06-29 23:06 ` Holger Hoffstätte
2014-06-30 6:37 ` Wang Shilong
2014-07-01 8:53 ` Florian Lindner
3 siblings, 0 replies; 5+ messages in thread
From: Holger Hoffstätte @ 2014-06-29 23:06 UTC (permalink / raw)
To: linux-btrfs
On Sun, 29 Jun 2014 19:14:28 +0200, Florian Lindner wrote:
> A scrub I started at Jan 02 seems to be stuck somehow. The command
> outputs above were generated right now.
http://marc.merlins.org/perso/btrfs/post_2014-04-26_Btrfs-Tips_-Cancel-A-
Btrfs-Scrub-That-Is-Already-Stopped.html
cheers
Holger
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Scrub being stuck
2014-06-29 17:14 Scrub being stuck Florian Lindner
2014-06-29 17:17 ` Florian Lindner
2014-06-29 23:06 ` Holger Hoffstätte
@ 2014-06-30 6:37 ` Wang Shilong
2014-07-01 8:53 ` Florian Lindner
3 siblings, 0 replies; 5+ messages in thread
From: Wang Shilong @ 2014-06-30 6:37 UTC (permalink / raw)
To: Florian Lindner, linux-btrfs
On 06/30/2014 01:14 AM, Florian Lindner wrote:
> Hello,
>
> I've just completed a scrub on my home filesystem and now I wanted to start
> on my Archiv btrfs RAID 0.
>
> root@horus ~ # uname -
> a
> Linux horus 3.15.2-1-ARCH #1 SMP PREEMPT Fri Jun 27 07:41:19 CEST 2014
> x86_64 GNU/Linux
>
> root@horus ~ # btrfs --version
> Btrfs v3.14.2-dirty
>
> root@horus ~ # btrfs fi show
> Label: 'home' uuid: 571009c0-6cc4-4598-a77b-f175501d23fd
> Total devices 1 FS bytes used 2.03TiB
> devid 1 size 2.73TiB used 2.04TiB path /dev/sdb1
>
> Label: 'Archiv' uuid: b2504193-efeb-4ef3-8797-a8d73536a416
> Total devices 2 FS bytes used 5.14TiB
> devid 1 size 2.73TiB used 2.73TiB path /dev/sdd1
> devid 2 size 2.73TiB used 2.73TiB path /dev/sde1
>
> Btrfs v3.14.2-dirty
>
> root@horus ~ # btrfs fi df /mnt/Archiv
> Data, RAID0: total=5.44TiB, used=5.13TiB
> Data, single: total=8.00MiB, used=244.00KiB
> System, RAID1: total=32.00MiB, used=396.00KiB
> System, single: total=4.00MiB, used=0.00
> Metadata, RAID1: total=10.94GiB, used=8.71GiB
> unknown, single: total=512.00MiB, used=0.00
>
> root@horus ~ # btrfs scrub status /mnt/Archiv
> scrub status for b2504193-efeb-4ef3-8797-a8d73536a416
> scrub started at Thu Jan 2 21:13:35 2014, running for 1336 seconds
> total bytes scrubbed: 473.28GiB with 0 errors
>
> root@horus ~ # btrfs scrub cancel /mnt/Archiv
> ERROR: scrub cancel failed on /mnt/Archiv: not running
>
> root@horus ~ # btrfs scrub resume
> /mnt/Archiv
> ERROR: scrub is already running.
> To cancel use 'btrfs scrub cancel /mnt/Archiv'.
> To see the status use 'btrfs scrub status [-d] /mnt/Archiv'.
>
> root@horus ~ # btrfs scrub start
> /mnt/Archiv
> ERROR: scrub is already running.
> To cancel use 'btrfs scrub cancel /mnt/Archiv'.
> To see the status use 'btrfs scrub status [-d] /mnt/Archiv'.
>
>
> A scrub I started at Jan 02 seems to be stuck somehow. The command outputs
> above were generated right now.
>
> I'll be hapy to provide any more information.
>
> Thx!
>
> Florian
Scrub log record file seems corrupted sometimes, if you use latest
btrfs-progs version.
There should be an option '-f' for 'btrfs scrub start' which will allow
scrub to skip check in userspace.
Actually, i am thinking whether it would be better to remove userspace
check about
scrub status since log record file is not so reliable.
Thanks,
Wang
>
> --
> 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] 5+ messages in thread
* Re: Scrub being stuck
2014-06-29 17:14 Scrub being stuck Florian Lindner
` (2 preceding siblings ...)
2014-06-30 6:37 ` Wang Shilong
@ 2014-07-01 8:53 ` Florian Lindner
3 siblings, 0 replies; 5+ messages in thread
From: Florian Lindner @ 2014-07-01 8:53 UTC (permalink / raw)
To: linux-btrfs
Florian Lindner wrote:
> Hello,
>
> I've just completed a scrub on my home filesystem and now I wanted to
> start on my Archiv btrfs RAID 0.
> A scrub I started at Jan 02 seems to be stuck somehow. The command outputs
> above were generated right now.
Thanks! Changing to canceled:1 in /var/lib/btrfs/scrubXXXfooXXX did the
trick. Last night the scrub finished successfully.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-07-01 8:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-29 17:14 Scrub being stuck Florian Lindner
2014-06-29 17:17 ` Florian Lindner
2014-06-29 23:06 ` Holger Hoffstätte
2014-06-30 6:37 ` Wang Shilong
2014-07-01 8:53 ` Florian Lindner
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).