From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from aserp1040.oracle.com ([141.146.126.69]:46069 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751221AbbEOQ14 (ORCPT ); Fri, 15 May 2015 12:27:56 -0400 Message-ID: <55561E86.8090006@oracle.com> Date: Sat, 16 May 2015 00:27:50 +0800 From: Anand Jain MIME-Version: 1.0 To: Frederik Himpe , linux-btrfs@vger.kernel.org Subject: Re: BTRFS: Transaction aborted (error -5) on 3.19.7 References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Sender: linux-btrfs-owner@vger.kernel.org List-ID: What kind of disk group profile we have in here ? Underlaying disk should be fixed. Thanks, Anand On 05/15/2015 05:26 PM, Frederik Himpe wrote: > On my system with Linux 3.19.7, my /home btrfs file system was suddenly > mounted read-only, and I found underneath errors in the kernel log. > > Is this a known problem with a fix available? > > Should I run something like btrfs check --repair? > > I'm using snapper on this file system to regularly make snapshots. > > [ 431.785656] BTRFS (device dm-2): parent transid verify failed on 32628736 wanted 80487 found 342631 > [ 431.785905] BTRFS (device dm-2): parent transid verify failed on 32628736 wanted 80487 found 342631 > [ 431.785927] ------------[ cut here ]------------ > [ 431.785967] WARNING: CPU: 3 PID: 1837 at fs/btrfs/super.c:260 __btrfs_abort_transaction+0x4b/0x120 [btrfs]() > [ 431.785970] BTRFS: Transaction aborted (error -5) > [ 431.785972] Modules linked in: ebtable_filter ebtables iptable_filter ip_tables binfmt_misc cpufreq_userspace cpufreq_stats cpufreq_powersave cpufreq_conservative nf_log_ipv6 nf_log_common xt_recent ip6table_nat nf_nat_ipv6 nf_nat xt_comment ip6t_REJECT nf_reject_ipv6 xt_addrtype xt_mark ip6table_mangle nf_conntrack_snmp xt_tcpudp xt_CT ip6table_raw xt_multiport nf_conntrack_ipv6 nf_defrag_ipv6 xt_conntrack xt_NFLOG nfnetlink_log xt_LOG nf_conntrack_tftp nf_conntrack_sip nf_conntrack_sane nf_conntrack_proto_udplite nf_conntrack_proto_sctp nf_conntrack_pptp nf_conntrack_proto_gre nf_conntrack_netlink nfnetlink nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp ts_kmp nf_conntrack_amanda nf_conntrack nfsd auth_rpcgss oid_registry nfs_acl nfs lockd grace > [ 431.786169] fscache sunrpc ip6table_filter ip6_tables x_tables rc_pinnacle_pctv_hd em28xx_rc tda18271 cxd2820r em28xx_dvb dvb_core em28xx tveeprom v4l2_common videodev media nct6775 hwmon_vid uas usb_storage joydev hid_generic hid_logitech_hidpp hid_logitech_dj usbhid hid ext4 crc16 mbcache jbd2 x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm crct10dif_pclmul crc32_pclmul amdkfd iTCO_wdt ghash_clmulni_intel iTCO_vendor_support evdev aesni_intel radeon aes_x86_64 lrw gf128mul glue_helper ttm ablk_helper cryptd drm_kms_helper pcspkr psmouse serio_raw sr_mod cdrom snd_hda_codec_realtek snd_hda_codec_generic sg snd_hda_codec_hdmi battery drm 8250_fintek i2c_algo_bit nuvoton_cir tpm_tis rc_core intel_smartconnect tpm video button snd_hda_intel snd_hda_controller snd_hda_codec i2c_i801 snd_hwdep > [ 431.786652] lpc_ich snd_pcm snd_timer snd soundcore mei_me xhci_pci ie31200_edac ehci_pci processor mei mfd_core xhci_hcd ehci_hcd i2c_core edac_core usbcore usb_common thermal_sys netconsole configfs r8169 mii fuse autofs4 btrfs xor raid6_pq dm_mod sd_mod crc32c_intel ahci libahci libata scsi_mod shpchp > [ 431.786956] CPU: 3 PID: 1837 Comm: btrfs-cleaner Not tainted 3.19.7-desktop #7 > [ 431.786959] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H77 Pro4/MVP, BIOS P1.70 08/07/2013 > [ 431.786963] 0000000000000000 ffffffffa01ace32 ffffffff81562073 ffff8800c4c5fa78 > [ 431.786970] ffffffff8106cee1 ffff8804154acbb0 00000000fffffffb ffff8804161f7000 > [ 431.786977] ffffffffa01ab5f0 0000000000001766 ffffffff8106cf5a ffffffffa01af9d8 > [ 431.787087] Call Trace: > [ 431.787101] [] ? dump_stack+0x40/0x50 > [ 431.787108] [] ? warn_slowpath_common+0x81/0xb0 > [ 431.787115] [] ? warn_slowpath_fmt+0x4a/0x50 > [ 431.787135] [] ? __btrfs_abort_transaction+0x4b/0x120 [btrfs] > [ 431.787149] [] ? __btrfs_free_extent+0x30f/0xc60 [btrfs] > [ 431.787166] [] ? find_ref_head+0x5d/0x80 [btrfs] > [ 431.787182] [] ? __btrfs_run_delayed_refs+0x42b/0x1250 [btrfs] > [ 431.787196] [] ? btrfs_free_tree_block+0x10d/0x250 [btrfs] > [ 431.787212] [] ? btrfs_run_delayed_refs.part.66+0x6d/0x270 [btrfs] > [ 431.787226] [] ? walk_up_tree+0xd0/0x1f0 [btrfs] > [ 431.787241] [] ? btrfs_should_end_transaction+0x41/0x80 [btrfs] > [ 431.787258] [] ? btrfs_drop_snapshot+0x46c/0x880 [btrfs] > [ 431.787274] [] ? btrfs_kill_all_delayed_nodes+0xd8/0xf0 [btrfs] > [ 431.787288] [] ? btrfs_delete_unused_bgs+0x58/0x270 [btrfs] > [ 431.787305] [] ? btrfs_clean_one_deleted_snapshot+0xb0/0x100 [btrfs] > [ 431.787320] [] ? cleaner_kthread+0x15c/0x1b0 [btrfs] > [ 431.787335] [] ? check_leaf+0x360/0x360 [btrfs] > [ 431.787342] [] ? kthread+0xd3/0xf0 > [ 431.787349] [] ? sched_clock+0x5/0x10 > [ 431.787354] [] ? kthread_create_on_node+0x180/0x180 > [ 431.787360] [] ? ret_from_fork+0x58/0x90 > [ 431.787365] [] ? kthread_create_on_node+0x180/0x180 > [ 431.787370] ---[ end trace 21d173b18a39a524 ]--- > [ 431.787376] BTRFS: error (device dm-2) in __btrfs_free_extent:5990: errno=-5 IO failure > [ 431.787381] BTRFS info (device dm-2): forced readonly > [ 431.787387] BTRFS: error (device dm-2) in btrfs_run_delayed_refs:2792: errno=-5 IO failure >