2015-02-10 8:17 GMT+01:00 Kai Krakow <hurikha...@gmail.com>:
> Tobias Holst <to...@tobby.eu> schrieb:
>
>> and "btrfs scrub status /[device]" gives me the following output:
>>> "scrub status for [UUID]
>>>scrub started at Mon Feb  9 18:16:38 2015 and was aborted after 2008
>>>seconds total bytes scrubbed: 113.04GiB with 0 errors"
>
> Does not look very correct to me:
>
> Why should a scrub in a six-drivers btrfs array which is probably multi-
> terabytes big (as you state a restore from backup would take days) take only
> ~2000 seconds? And scrub only ~120 GB worth of data. Either your 6 devices
> are really small (then why RAID-6), or your data is very sparse (then way
> does it take so long), or scrub prematurely aborts and never checks the
> complete devices (I guess this is it).

Yes, sorry, I didn't post an output of "btrfs filesystem show" - but here it is:

Label: 'tobby-btrfs'  uuid: b689ab76-7ff5-434c-a2c6-03efb45faa46
        Total devices 6 FS bytes used 13.13TiB
        devid    1 size 3.64TiB used 3.28TiB path /dev/mapper/sde_crypt
        devid    2 size 3.64TiB used 3.28TiB path /dev/mapper/sdd_crypt
        devid    3 size 3.64TiB used 3.28TiB path /dev/mapper/sdf_crypt
        devid    4 size 3.64TiB used 3.28TiB path /dev/mapper/sda_crypt
        devid    5 size 3.64TiB used 3.28TiB path /dev/mapper/sdb_crypt
        devid    6 size 3.64TiB used 3.28TiB path /dev/mapper/sdc_crypt
btrfs-progs v3.19-rc2

So there are ~13TiB of data on this raid6 - but like it says it was
"aborted" after 2008 seconds (about half an hour) and ~120GB of data.
Then a "parent transid verify failed" happened, the volume got
unreadable and the scrub was aborted. Until a remount of the btrfs -
and until it happens again...

>
> And that's what it actually says: "aborted after 2008" seconds. I'd expect
> "finished after XXXX seconds" if I remember my scrub runs correctly (which I
> currently don't do regularly because it takes long and IO performance sucks
> during running it).
>
> --
> Replies to list only preferred.
>
> --
> 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
--
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