Hello,

i don't know if it's the right place to post my problem.

yesterday my btrfs partition (/dev/sda4) worked very well but now i can't mount my btrfs partition anymore. it says : wrong fs type, bad option, bad superblock on /dev/sda4, missing codepage ...

i know btrfs is still in developement, but i would try to recover a file on this partition. i tried many options of mount (-t btrfs -o recovery -o degraded...) but it's always the same issue.

i tried many commands in order to recover my file, but nothing seems to work :

btrfs device scan
 failed to read /dev/sr0

btrfs-show
 failed to read /dev/sr0
 label : none uuid : 79995074....
 total devices 1 FS bytes useg 4GB
 devid 1 size 60GB used 8GB path /dev/sda4

btrfsck /dev/sda4
 parent transid verify failed on ... wanted ... found ...
 ignoring transid failure
 leaf parent key incorrect ...
 ...
 btrfsck.c: check_owner_ref : assertion '!(rec->is_root)' failed
 aborted

btrfs-select-super -s 1 /dev/sda4 (also tried -s 0 and -s 2)
 using SB copy 1, bytenr 67...
 parent transid verify failed on ... wanted ... found ...
 parent transid verify failed on ... wanted ... found ...
 parent transid verify failed on ... wanted ... found ...
 parent transid verify failed on ... wanted ... found ...
 ignoring transid failure

btrfs-zero-log /dev/sda4
 parent transid verify failed on ... wanted ... found ...
 parent transid verify failed on ... wanted ... found ...
 parent transid verify failed on ... wanted ... found ...
 parent transid verify failed on ... wanted ... found ...
 ignoring transid failure
 ...

btrfs-restore /dev/sda4 /mnt/test
 parent transid verify failed on ... wanted ... found ...
 parent transid verify failed on ... wanted ... found ...
 parent transid verify failed on ... wanted ... found ...
 parent transid verify failed on ... wanted ... found ...
 ignoring transid failure
 root objectid is 5
 parent transid verify failed on ... wanted ... found ...
 parent transid verify failed on ... wanted ... found ...
 parent transid verify failed on ... wanted ... found ...
 parent transid verify failed on ... wanted ... found ...
 ignoring transid failure

is there a way to recover my file ? (/root/scripts/test.sh)

thanks for help.

--
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