BTRFS critical (device sda1): corrupt leaf: root=18446744073709551610 block=1560059068416 slot=0, invalid root generation, have 331

  • Good morning,


    I have noticed my drive unmonted, and cannot mount it back.

    Looking into desmsg after mount attempt I see:


    BTRFS info (device sda1): disk space caching is enabled

    [420299.741349] BTRFS info (device sda1): has skinny extents

    [420317.493773] BTRFS critical (device sda1): corrupt leaf: root=18446744073709551610 block=1560059068416 slot=0, invalid root generation, have 331861 expect (0, 331860]

    [420317.493835] BTRFS error (device sda1): block=1560059068416 read time tree block corruption detected

    [420317.504419] BTRFS warning (device sda1): sda1 checksum verify failed on 1560059068416 wanted 0xa461fbf1 found 0x00ce2127 level 0

    [420317.504686] BTRFS error (device sda1): failed to read block groups: -5

    [420317.560088] BTRFS error (device sda1): open_ctree failed

    [420324.340924]


    I have been attempting scubbing it, but it is not mounted so it fails.

    I wanted to check repair it, but it fails too:


    pi@omv:~ $ sudo btrfs check --repair /dev/sda1

    enabling repair mode

    WARNING:


    Do not use --repair unless you are advised to do so by a developer

    or an experienced user, and then only after having accepted that no

    fsck can successfully repair all types of filesystem corruption. Eg.

    some software or hardware bugs can fatally damage a volume.

    The operation will start in 10 seconds.

    Use Ctrl-C to stop it.

    10 9 8 7 6 5 4 3 2 1

    Starting repair.

    Opening filesystem to check...

    parent transid verify failed on 1560059068416 wanted 331859 found 331861

    checksum verify failed on 1560059068416 found 00000000 wanted 000000A4

    parent transid verify failed on 1560059068416 wanted 331859 found 331861

    Ignoring transid failure

    leaf parent key incorrect 1560059068416

    ERROR: failed to read block groups: Operation not permitted

    ERROR: cannot open file system


    What can I do to repair it?


    Thank you!

    Wojciech

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!