• mvirts@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    2 months ago

    I would definitely try using photorec if you have specific files you hope to find. It may not handle btrfs well but any files stored as a contiguous chunk should be recoverable.

    I would also try partition recovery with testdisk but chances are it won’t do much for btrfs.

    You can try the steps in this article: https://www.suse.com/support/kb/doc/?id=000018769

    Don’t forget to copy your volume if there’s anything super important in there. only a very small part of the volume was zeroed, if tools don’t exist to recover the data now, they will eventually 😅