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 scanfailed to read /dev/sr0>btrfs-showfailed 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/sda4parent 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/sda4parent 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/testparent 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, Nov 21, 2012 at 04:17:57PM +0100, frantz.hacquard wrote:> 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.kernel version? If you haven''t tried 3.6.x, try that yet. I''m not saying it''ll fix your problem, but half the bugs I filed were already fixed in the latest kernel. Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ -- 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