* btrfs crashes
@ 2013-07-08 6:46 Franziska Näpelt
2013-07-08 13:24 ` Josef Bacik
0 siblings, 1 reply; 4+ messages in thread
From: Franziska Näpelt @ 2013-07-08 6:46 UTC (permalink / raw)
To: linux-btrfs
Hi everybody,
we are using a btrfs RAID 1 with four 2TB hard drives on a Debian 7.1
(Kernel 3.9.6).
After about one year of working, there was an error in messages log and
the filesystem was mounted read-only.
After that I restarted the system but that doesn't fix the bug. The
btrfs-filesystem couldn't be mounted.
I attach four logs:
-> when the error occured
-> after the error occured
-> when rebooting the system
-> when I tried ti mount manually
Before I rebuilt the filesystem (formatting everything and creating a
new btrfs-pool) I made a btrfs-image. I can provide it to you.
messages when the error occured:
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.567383] parent transid
verify failed on 1750188515328 wanted 475562 found 475559
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614152] parent transid
verify failed on 1750188515328 wanted 475562 found 475559
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614165] ------------[ cut
here ]------------
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614186] WARNING: at
fs/btrfs/super.c:255 __btrfs_abort_transaction+0x4c/0xcf [btrfs]()
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614187] Hardware name:
System Product Name
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614190] Modules linked in:
vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) xts gf128mul tun pc
i_stub cpufreq_powersave cpufreq_userspace cpufreq_stats
cpufreq_conservative binfmt_misc fuse nfsd auth_rpcgss nfs_acl nfs lockd
fscache su
nrpc ext2 dm_crypt loop firewire_sbp2 snd_hda_codec_hdmi radeon
snd_hda_intel coretemp snd_hda_codec kvm_intel kvm ttm drm_kms_helper drm i7
core_edac ehci_pci i2c_algo_bit snd_hwdep iTCO_wdt iTCO_vendor_support
lpc_ich mfd_core snd_pcm edac_core asus_atk0110 acpi_cpufreq evdev mp
erf i2c_i801 psmouse i2c_core pcspkr mxm_wmi serio_raw processor
snd_page_alloc snd_timer button wmi thermal_sys snd soundcore microcode ext
4 crc16 jbd2 mbcache btrfs xor zlib_deflate raid6_pq libcrc32c dm_mod
raid1 md_mod sd_mod crc_t10dif sg hid_generic usbhid hid firewire_ohci
crc32c_intel firewire_core crc_itu_t sata_sil r8169 mii ahci libahci
libata uhci_hcd ehci_hcd scsi_mod xhci_hcd usbcore usb_common [last un
loaded: vboxdrv]
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614245] Pid: 2235, comm:
btrfs-transacti Tainted: G O 3.9.6 #1
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614247] Call Trace:
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614253]
[<ffffffff8103d510>] ? warn_slowpath_common+0x76/0x8c
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614257]
[<ffffffff8103d5be>] ? warn_slowpath_fmt+0x45/0x4a
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614268]
[<ffffffffa01a8777>] ? __btrfs_abort_transaction+0x4c/0xcf [btrfs]
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614281]
[<ffffffffa01bb32e>] ? btrfs_run_delayed_refs+0x237/0x394 [btrfs]
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614296]
[<ffffffffa01c82ff>] ? btrfs_commit_transaction+0xaf/0x87a [btrfs]
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614310]
[<ffffffffa01c7365>] ? join_transaction.isra.29+0x314/0x31e [btrfs]
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614314]
[<ffffffff8105866b>] ? abort_exclusive_wait+0x79/0x79
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614329]
[<ffffffffa01c92cc>] ? start_transaction+0x325/0x44d [btrfs]
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614332]
[<ffffffff81049415>] ? ftrace_raw_event_timer_class+0x8e/0x8e
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614336]
[<ffffffff8106144c>] ? should_resched+0x5/0x23
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614349]
[<ffffffffa01c1d95>] ? transaction_kthread+0xe0/0x183 [btrfs]
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614363]
[<ffffffffa01c1cb5>] ? try_to_freeze+0x31/0x31 [btrfs]
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614377]
[<ffffffffa01c1cb5>] ? try_to_freeze+0x31/0x31 [btrfs]
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614380]
[<ffffffff81057da4>] ? kthread+0x81/0x89
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614383]
[<ffffffff81057d23>] ? __kthread_parkme+0x5d/0x5d
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614386]
[<ffffffff8138b23c>] ? ret_from_fork+0x7c/0xb0
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614389]
[<ffffffff81057d23>] ? __kthread_parkme+0x5d/0x5d
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614391] ---[ end trace
c45c78ec20af1ebf ]---
Jun 25 17:02:25 hsad-srv-03 kernel: [870100.614395] btrfs is forced readonly
---------------------------------------------------------------------------------------
messages after the error before reboot:
Jun 25 23:02:13 hsad-srv-03 kernel: [891678.061426] Pid: 62, comm:
kswapd0 Tainted: G W O 3.9.6 #1
Jun 25 23:02:13 hsad-srv-03 kernel: [891678.061427] Call Trace:
Jun 25 23:02:13 hsad-srv-03 kernel: [891678.061428]
[<ffffffff8103d510>] ? warn_slowpath_common+0x76/0x8c
Jun 25 23:02:13 hsad-srv-03 kernel: [891678.061439]
[<ffffffffa01d51ab>] ? btrfs_destroy_inode+0x5f/0x252 [btrfs]
Jun 25 23:02:13 hsad-srv-03 kernel: [891678.061441]
[<ffffffff81119e30>] ? dispose_list+0x27/0x31
Jun 25 23:02:13 hsad-srv-03 kernel: [891678.061443]
[<ffffffff8111aefe>] ? prune_icache_sb+0x2ab/0x2c6
Jun 25 23:02:13 hsad-srv-03 kernel: [891678.061445]
[<ffffffff81109ed4>] ? prune_super+0xc3/0x12d
Jun 25 23:02:13 hsad-srv-03 kernel: [891678.061447]
[<ffffffff810d0214>] ? shrink_slab+0x19b/0x287
Jun 25 23:02:13 hsad-srv-03 kernel: [891678.061449]
[<ffffffff810d2a90>] ? kswapd+0x512/0x6fd
Jun 25 23:02:13 hsad-srv-03 kernel: [891678.061452]
[<ffffffff810d257e>] ? try_to_free_pages+0x127/0x127
Jun 25 23:02:13 hsad-srv-03 kernel: [891678.061454]
[<ffffffff810d257e>] ? try_to_free_pages+0x127/0x127
Jun 25 23:02:13 hsad-srv-03 kernel: [891678.061455]
[<ffffffff81057da4>] ? kthread+0x81/0x89
Jun 25 23:02:13 hsad-srv-03 kernel: [891678.061458]
[<ffffffff81057d23>] ? __kthread_parkme+0x5d/0x5d
Jun 25 23:02:13 hsad-srv-03 kernel: [891678.061459]
[<ffffffff8138b23c>] ? ret_from_fork+0x7c/0xb0
Jun 25 23:02:13 hsad-srv-03 kernel: [891678.061461]
[<ffffffff81057d23>] ? __kthread_parkme+0x5d/0x5d
Jun 25 23:02:13 hsad-srv-03 kernel: [891678.061463] ---[ end trace
c45c78ec20af24c9 ]---
Jun 25 23:02:13 hsad-srv-03 kernel: [891678.061463] ------------[ cut
here ]------------
Jun 25 23:02:13 hsad-srv-03 kernel: [891678.061473] WARNING: at
fs/btrfs/inode.c:7924 btrfs_destroy_inode+0x76/0x252 [btrfs]()
Jun 25 23:02:13 hsad-srv-03 kernel: [891678.061474] Hardware name:
System Product Name
Jun 25 23:02:13 hsad-srv-03 kernel: [891678.061475] Modules linked in:
vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) xts gf128mul tun
pci_stub cpufreq_powersave cpufreq_userspace cpufreq_stats
cpufreq_conservative binfmt_misc fuse nfsd auth_rpcgss nfs_acl nfs lockd
fscache sunrpc ext2 dm_crypt loop firewire_sbp2 snd_hda_codec_hdmi
radeon snd_hda_intel coretemp snd_hda_codec kvm_intel kvm ttm
drm_kms_helper drm i7core_edac ehci_pci i2c_algo_bit snd_hwdep iTCO_wdt
iTCO_vendor_support lpc_ich mfd_core snd_pcm edac_core asus_atk0110
acpi_cpufreq evdev mperf i2c_i801 psmouse i2c_core pcspkr mxm_wmi
serio_raw processor snd_page_alloc snd_timer button wmi thermal_sys snd
soundcore microcode ext4 crc16 jbd2 mbcache btrfs xor zlib_deflate
raid6_pq libcrc32c dm_mod raid1 md_mod sd_mod crc_t10dif sg hid_generic
usbhid hid firewire_ohci crc32c_intel firewire_core crc_itu_t sata_sil
r8169 mii ahci libahci libata uhci_hcd ehci_hcd scsi_mod xhci_hcd
usbcore usb_common [last unloaded: vboxdrv]
------------------------------------------------------------------------------------------------------------------------------
messages at reboot:
Jun 26 07:14:41 hsad-srv-03 kernel: [ 13.735382] btrfs: use lzo
compression
Jun 26 07:14:41 hsad-srv-03 kernel: [ 13.735386] btrfs: allowing
degraded mounts
Jun 26 07:14:41 hsad-srv-03 kernel: [ 13.735389] btrfs: disk space
caching is enabled
Jun 26 07:14:41 hsad-srv-03 kernel: [ 34.700453] parent transid verify
failed on 1750188515328 wanted 475562 found 475559
Jun 26 07:14:41 hsad-srv-03 kernel: [ 35.095814] parent transid verify
failed on 1750188515328 wanted 475562 found 475559
Jun 26 07:14:41 hsad-srv-03 kernel: [ 35.124511] btrfs: open_ctree failed
Jun 26 07:14:41 hsad-srv-03 kernel: [ 35.133282] device fsid
526356ed-9708-40c2-83a1-82f3dbc8b72f devid 2 transid 476583 /dev/sde
--------------------------------------------------------------------------------------------------------------------------------
when I want to mount the btrfs: mount: wrong fs type, bad option, bad
superblock on /dev/sde,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
best regards
Franziska
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: btrfs crashes
2013-07-08 6:46 btrfs crashes Franziska Näpelt
@ 2013-07-08 13:24 ` Josef Bacik
2013-07-10 10:53 ` Franziska Näpelt
0 siblings, 1 reply; 4+ messages in thread
From: Josef Bacik @ 2013-07-08 13:24 UTC (permalink / raw)
To: Franziska Näpelt; +Cc: linux-btrfs
On Mon, Jul 08, 2013 at 08:46:17AM +0200, Franziska Näpelt wrote:
> Hi everybody,
>
> we are using a btrfs RAID 1 with four 2TB hard drives on a Debian 7.1
> (Kernel 3.9.6).
>
> After about one year of working, there was an error in messages log and the
> filesystem was mounted read-only.
>
> After that I restarted the system but that doesn't fix the bug. The
> btrfs-filesystem couldn't be mounted.
>
> I attach four logs:
>
> -> when the error occured
> -> after the error occured
> -> when rebooting the system
> -> when I tried ti mount manually
>
> Before I rebuilt the filesystem (formatting everything and creating a new
> btrfs-pool) I made a btrfs-image. I can provide it to you.
>
Can you file a bugzilla at bugzilla.kernel.org (make sure the component is set
to btrfs) with all of this information and a link to the image, and the output
of btrfsck? Please use the most recent version of btrfs-progs
git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git
Thanks,
Josef
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: btrfs crashes
2013-07-08 13:24 ` Josef Bacik
@ 2013-07-10 10:53 ` Franziska Näpelt
0 siblings, 0 replies; 4+ messages in thread
From: Franziska Näpelt @ 2013-07-10 10:53 UTC (permalink / raw)
To: linux-btrfs
I created a bug:
https://bugzilla.kernel.org/show_bug.cgi?id=60544
Am 08.07.2013 15:24, schrieb Josef Bacik:
> On Mon, Jul 08, 2013 at 08:46:17AM +0200, Franziska Näpelt wrote:
>> Hi everybody,
>>
>> we are using a btrfs RAID 1 with four 2TB hard drives on a Debian 7.1
>> (Kernel 3.9.6).
>>
>> After about one year of working, there was an error in messages log and the
>> filesystem was mounted read-only.
>>
>> After that I restarted the system but that doesn't fix the bug. The
>> btrfs-filesystem couldn't be mounted.
>>
>> I attach four logs:
>>
>> -> when the error occured
>> -> after the error occured
>> -> when rebooting the system
>> -> when I tried ti mount manually
>>
>> Before I rebuilt the filesystem (formatting everything and creating a new
>> btrfs-pool) I made a btrfs-image. I can provide it to you.
>>
>
> Can you file a bugzilla at bugzilla.kernel.org (make sure the component is set
> to btrfs) with all of this information and a link to the image, and the output
> of btrfsck? Please use the most recent version of btrfs-progs
>
> git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git
>
> Thanks,
>
> Josef
> --
> 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
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* btrfs crashes
@ 2011-01-29 19:30 Helmut Hullen
0 siblings, 0 replies; 4+ messages in thread
From: Helmut Hullen @ 2011-01-29 19:30 UTC (permalink / raw)
To: linux-btrfs
Hallo, linux-btrfs,
for some hours I was happy ...
mkfs.btrfs /dev/sde1
mount /dev/sde1 /mnt/btr
<copy about 1.5 TByte>
btrfs device add /dev/sdd1
<copy about 0.8 TByte>
led to
# btrfs filesystem show
Label: 'MM2' uuid: 7400b83c-f3dd-477c-bbf4-7429863a7ef9
Total devices 2 FS bytes used 2.25TB
devid 1 size 1.81TB used 1.51TB path /dev/sde1
devid 2 size 1.82TB used 760.50GB path /dev/sdd1
Btrfs Btrfs v0.19
# btrfs filesystem df /srv/MM
Data: total=2.25TB, used=2.24TB
System, DUP: total=8.00MB, used=260.00KB
System: total=4.00MB, used=0.00
Metadata, DUP: total=5.00GB, used=3.53GB
Metadata: total=8.00MB, used=0.00
# df -t btrfs
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/sde1 btrfs 3898172184 2416726548 1478325628 63% /srv/MM
# fdisk -l
/dev/sde1 1 242600 1948684468+ 83 Linux
/dev/sdd1 1 242700 1949487718+ 83 Linux
# --------------------------------------
All seemed to work well. No "no space left ...".
Then I shut down the machine and started it again the next day.
btrfs filesystem show
showed the 2 devices.
mount LABEL=MM2 /mnt/btr
and the system crashed with blinkenlights.
What goes wrong?
How can I restore the data?
I have a backup, but I prefer reanimating the 2 btrfs partitions.
Kernel 2.6.37
Viele Gruesse!
Helmut
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-07-10 10:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-08 6:46 btrfs crashes Franziska Näpelt
2013-07-08 13:24 ` Josef Bacik
2013-07-10 10:53 ` Franziska Näpelt
-- strict thread matches above, loose matches on Subject: below --
2011-01-29 19:30 Helmut Hullen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.