Hi, I am using btrfs on my /home successfully for a while now. After a power failure I am no longer able to mount it. I tried to use btrfsck without any success. The backup I have is about a month old, is there a way I can salvage my files?. Full backtrace is at http://pastebin.com/4Re7tVFP I am aware of the danger of dataloss and wanted to change the filesystem. Anyway it''s too late now Anil -- 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
I''m far from an expert here, but perhaps you would be worth trying a newer version of the BTRFS drivers, either via a newer kernel or re-compiling a kernel with updated BTRFS patches. I would think that the simplest "quick test" to see if this would help you would be to get a snapshot from Ubuntu''s "daily build" live CD iso, and try mounting the filesystem with that... since it will have a recent RC of 2.6.38 kernel which has a much more recent BTRFS version than the 2.6.34 which you are using. http://cdimage.ubuntu.com/daily-live/current/ YMMV, but it''s certainly something else to try. James. On Thu, 2011-02-10 at 22:29 +1100, Anil Kumar wrote:> Hi, > I am using btrfs on my /home successfully for a while now. > After a power failure I am no longer able to mount it. I tried to use > btrfsck without any success. > The backup I have is about a month old, is there a way I can salvage my files?. > Full backtrace is at http://pastebin.com/4Re7tVFP > I am aware of the danger of dataloss and wanted to change the filesystem. > Anyway it''s too late now > > Anil > -- > 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-- 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 Thu, Feb 10, 2011 at 10:29:41PM +1100, Anil Kumar wrote:> Full backtrace is at http://pastebin.com/4Re7tVFPPastebins aren''t archived. For posterity, here it is: Feb 10 21:57:36 linux-wuce kernel: [ 337.522818] Btrfs loaded Feb 10 21:57:36 linux-wuce kernel: [ 337.538044] device fsid d0485eeb5612434f-456b063393781ea9 devid 1 transid 131812 /dev/sda7 Message from syslogd@linux-wuce at Feb 10 21:57:40 ... kernel:[ 341.616905] ------------[ cut here ]------------ Message from syslogd@linux-wuce at Feb 10 21:57:40 ... kernel:[ 341.616919] invalid opcode: 0000 [#1] PREEMPT SMP Message from syslogd@linux-wuce at Feb 10 21:57:40 ... kernel:[ 341.616926] last sysfs file: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:32/PNP0C09:00/PNP0C0A:00/power_supply/BAT0/voltage_now Message from syslogd@linux-wuce at Feb 10 21:57:40 ... kernel:[ 341.617148] Stack: Message from syslogd@linux-wuce at Feb 10 21:57:40 ... kernel:[ 341.617173] Call Trace: Message from syslogd@linux-wuce at Feb 10 21:57:40 ... kernel:[ 341.617866] Code: f4 52 96 e0 31 c0 48 81 c4 98 00 00 00 5b 5d 41 5c 41 5d 41 5e 41 5f c3 b8 fe ff ff ff eb e7 0f 0b 0f 0b 0f 0b 0f 0b 0f 0b 0f 0b <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 48 81 ec 28 01 00 00 48 Feb 10 21:57:40 linux-wuce kernel: [ 341.616905] ------------[ cut here ]------------ Feb 10 21:57:40 linux-wuce kernel: [ 341.616912] kernel BUG at /usr/src/packages/BUILD/kernel-desktop-2.6.34.7/linux-2.6.34/fs/btrfs/tree-log.c:813! Feb 10 21:57:40 linux-wuce kernel: [ 341.616919] invalid opcode: 0000 [#1] PREEMPT SMP Feb 10 21:57:40 linux-wuce kernel: [ 341.616926] last sysfs file: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:32/PNP0C09:00/PNP0C0A:00/power_supply/BAT0/voltage_now Feb 10 21:57:40 linux-wuce kernel: [ 341.616932] CPU 0 Feb 10 21:57:40 linux-wuce kernel: [ 341.616935] Modules linked in: btrfs zlib_deflate crc32c libcrc32c arc4 ecb ip6t_LOG xt_tcpudp xt_pkttype ipt_LOG xt_limit af_packet vmsync vmblock snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device edd vboxdrv ip6t_REJECT nf_conntrack_ipv6 ip6table_raw xt_NOTRACK ipt_REJECT xt_state iptable_raw iptable_filter cpufreq_conservative cpufreq_userspace cpufreq_powersave acpi_cpufreq mperf ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables ip6table_filter ip6_tables x_tables vfat fat fuse loop dm_mod snd_hda_codec_intelhdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_timer snd soundcore sr_mod iTCO_wdt usb_storage r8192se_pci atl1c iTCO_vendor_support cdrom sg pcspkr acer_wmi snd_page_alloc i2c_i801 battery ac joydev rfkill wmi ext4 jbd2 crc16 sd_mod i915 ahci libata drm_kms_helper scsi_mod drm i2c_algo_bit video intel_agp button fan thermal processor thermal_sys [last unloaded: preloadtrace] Feb 10 21:57:40 linux-wuce kernel: [ 341.617054] Feb 10 21:57:40 linux-wuce kernel: [ 341.617060] Pid: 7628, comm: mount Not tainted 2.6.34.7-0.7-desktop #1 E7214 /E7214 Feb 10 21:57:40 linux-wuce kernel: [ 341.617065] RIP: 0010:[<ffffffffa07d5eb3>] [<ffffffffa07d5eb3>] add_inode_ref+0x4a3/0x4b0 [btrfs] Feb 10 21:57:40 linux-wuce kernel: [ 341.617094] RSP: 0018:ffff8800b09af8b8 EFLAGS: 00010246 Feb 10 21:57:40 linux-wuce kernel: [ 341.617098] RAX: 0000000000000000 RBX: 0000000000000097 RCX: 0000000000000000 Feb 10 21:57:40 linux-wuce kernel: [ 341.617103] RDX: 0000000000000002 RSI: ffff880074374820 RDI: ffff8800b0d9a280 Feb 10 21:57:40 linux-wuce kernel: [ 341.617107] RBP: 0000000000000002 R08: 0000000000000000 R09: ff6dc8d155c6ee03 Feb 10 21:57:40 linux-wuce kernel: [ 341.617112] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8800b09afb78 Feb 10 21:57:40 linux-wuce kernel: [ 341.617116] R13: ffff88007215db50 R14: 0000000000000009 R15: ffff8800b09af9d8 Feb 10 21:57:40 linux-wuce kernel: [ 341.617121] FS: 00007fb2eddb07e0(0000) GS:ffff880001e00000(0000) knlGS:0000000000000000 Feb 10 21:57:40 linux-wuce kernel: [ 341.617126] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Feb 10 21:57:40 linux-wuce kernel: [ 341.617131] CR2: 00007f01f58e5020 CR3: 00000000b1d7f000 CR4: 00000000000006f0 Feb 10 21:57:40 linux-wuce kernel: [ 341.617135] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 10 21:57:40 linux-wuce kernel: [ 341.617140] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 10 21:57:40 linux-wuce kernel: [ 341.617145] Process mount (pid: 7628, threadinfo ffff8800b09ae000, task ffff8800b1dca540) Feb 10 21:57:40 linux-wuce kernel: [ 341.617148] Stack: Feb 10 21:57:40 linux-wuce kernel: [ 341.617151] 0000000000000000 0000000000000000 ffffffffa079a930 ffff88007215db50 Feb 10 21:57:40 linux-wuce kernel: [ 341.617158] <0> ffff8800b17fe000 ffff88007e035eb0 ffff8800b5991000 0000000000000009 Feb 10 21:57:40 linux-wuce kernel: [ 341.617165] <0> ffff8800b09af9b8 ffff880074374d78 ffff88007215db50 0000000000000004 Feb 10 21:57:40 linux-wuce kernel: [ 341.617173] Call Trace: Feb 10 21:57:40 linux-wuce kernel: [ 341.617309] [<ffffffffa07d66e8>] replay_one_buffer+0x2e8/0x3b0 [btrfs] Feb 10 21:57:40 linux-wuce kernel: [ 341.617421] [<ffffffffa07d3d85>] walk_down_log_tree+0x375/0x540 [btrfs] Feb 10 21:57:40 linux-wuce kernel: [ 341.617529] [<ffffffffa07d4053>] walk_log_tree+0x103/0x280 [btrfs] Feb 10 21:57:40 linux-wuce kernel: [ 341.617637] [<ffffffffa07d8223>] btrfs_recover_log_trees+0x223/0x310 [btrfs] Feb 10 21:57:40 linux-wuce kernel: [ 341.617748] [<ffffffffa079f049>] open_ctree+0x1269/0x18e0 [btrfs] Feb 10 21:57:40 linux-wuce kernel: [ 341.617793] [<ffffffffa077cc0e>] btrfs_get_sb+0x31e/0x430 [btrfs] Feb 10 21:57:40 linux-wuce kernel: [ 341.617809] [<ffffffff811271e0>] vfs_kern_mount+0x80/0x210 Feb 10 21:57:40 linux-wuce kernel: [ 341.617819] [<ffffffff811273e3>] do_kern_mount+0x53/0x130 Feb 10 21:57:40 linux-wuce kernel: [ 341.617829] [<ffffffff81141f20>] do_mount+0x200/0x250 Feb 10 21:57:40 linux-wuce kernel: [ 341.617839] [<ffffffff8114205a>] sys_mount+0x9a/0xf0 Feb 10 21:57:40 linux-wuce kernel: [ 341.617851] [<ffffffff81002ffb>] system_call_fastpath+0x16/0x1b Feb 10 21:57:40 linux-wuce kernel: [ 341.617863] [<00007fb2ed4f0ffa>] 0x7fb2ed4f0ffa Feb 10 21:57:40 linux-wuce kernel: [ 341.617866] Code: f4 52 96 e0 31 c0 48 81 c4 98 00 00 00 5b 5d 41 5c 41 5d 41 5e 41 5f c3 b8 fe ff ff ff eb e7 0f 0b 0f 0b 0f 0b 0f 0b 0f 0b 0f 0b <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 48 81 ec 28 01 00 00 48 Feb 10 21:57:40 linux-wuce kernel: [ 341.617921] RIP [<ffffffffa07d5eb3>] add_inode_ref+0x4a3/0x4b0 [btrfs] Feb 10 21:57:40 linux-wuce kernel: [ 341.617941] RSP <ffff8800b09af8b8> Feb 10 21:57:40 linux-wuce kernel: [ 341.617972] ---[ end trace 22bed547f3298140 ]--- Feb 10 21:57:45 linux-wuce kernel: [ 346.284240] rtl8192se_update_ratr_table: ratr_index=0 ratr_table=0x00000ff5 Feb 10 21:58:08 linux-wuce kernel: [ 369.474197] SetHwReg8192SE():HW_VAR_AC_PARAM eACI:0:a425 -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk == PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Someone''s been throwing dead sheep down my Fun Well ---