linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Kernel panic from "btrfs subvolume delete"
@ 2012-06-29 10:11 Richard Cooper
  2012-06-29 10:42 ` Fajar A. Nugraha
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Cooper @ 2012-06-29 10:11 UTC (permalink / raw)
  To: linux-btrfs

Hi All,

I have two machines where I've been testing various btrfs based backup strategies. They are both Cent OS 6 with the standard kernel and btrfs-progs RPMs from the CentOS repos.

- kernel-2.6.32-220.17.1.el6.x86_64
- btrfs-progs-0.19-12.el6.x86_64

Both are currently in a state when trying to delete a subvolume results in the following kernel panic.

----------

[root@backup2 ~]# btrfs subvolume delete /srv/backup_history/2012-06-28-1342
Delete subvolume '/srv/backup_history/2012-06-28-1342'
[root@backup2 ~]# 
Message from syslogd@backup2 at Jun 29 08:53:06 ...
 kernel:------------[ cut here ]------------

Message from syslogd@backup2 at Jun 29 08:53:06 ...
 kernel:invalid opcode: 0000 [#1] SMP 

Message from syslogd@backup2 at Jun 29 08:53:06 ...
 kernel:last sysfs file: /sys/devices/virtual/block/md1/md/metadata_version

Message from syslogd@backup2 at Jun 29 08:53:06 ...
 kernel:Stack:

Message from syslogd@backup2 at Jun 29 08:53:06 ...
 kernel:Call Trace:

Message from syslogd@backup2 at Jun 29 08:53:06 ...
 kernel:Code: 89 ef e8 84 f5 fe ff 48 89 df 89 45 d8 e8 99 86 fe ff 8b 45 d8 48 8b 5d e0 4c 8b 65 e8 4c 8b 6d f0 4c 8b 75 f8 c9 c3 0f 0b eb fe <0f> 0b eb fe 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 eb f4 66 66 66 

Message from syslogd@backup2 at Jun 29 08:53:06 ...
 kernel:Kernel panic - not syncing: Fatal exception

----------

Sometimes the kernel:last sysfs file line says "/sys/kernel/kexec_crash_loaded" instead.

My setup is that /srv is a btrfs sat on /dev/md4 which is a 4 drive software RAID5 array. /srv/backups/data is a subvolume containing 65GB worth of test data. I've "btrfs subvolume snapshot"ed that data to a few new subvolumes under  /srv/backup_history/. Now whenever I try to delete any of the snapshots on either machine I get a kernel panic.

btrfsck look like this:

[root@backup2 ~]# btrfsck /dev/md4
found 72254246912 bytes used err is 0
total csum bytes: 66815432
total tree bytes: 3835244544
total fs tree bytes: 3581440000
btree space waste bytes: 1187313778
file data blocks allocated: 68419002368
 referenced 68418383872
Btrfs Btrfs v0.19


What should I do now? Do I need to upgrade to a more recent btrfs? If so, how? Can I provide any more information to help debug and fix the problem?

Regards,

- Rich


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-06-29 14:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-29 10:11 Kernel panic from "btrfs subvolume delete" Richard Cooper
2012-06-29 10:42 ` Fajar A. Nugraha
2012-06-29 11:17   ` Duncan
2012-06-29 14:23   ` Richard Cooper
2012-06-29 14:29     ` Fajar A. Nugraha
2012-06-29 14:29     ` Hugo Mills

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).