Hi, During some btrfs-tests for my own on a btrfs-volume started with 5 devices of different size, some snapshots and subvolumes and a few large files, I removed one device after another (always rebalancing after remove) til I ended up with 3. I use the latest btrfs-tools snapshot and the 2.6.32 kernel with debian patches for sid. btrfs-show then said: Label: none uuid: ca5e7037-a65c-45d8-b954-f64ab0799964 Total devices 3 FS bytes used 6.01GB devid 5 size 623.25GB used 0.00 path /dev/md15 devid 3 size 93.13GB used 9.01GB path /dev/md13 devid 1 size 9.31GB used 9.01GB path /dev/md11 Then I removed number 3. ./btrfs-vol -r /dev/md13 /home/samba/temp/btrfs-tests/ ioctl returns 0 ./btrfs-show Label: none uuid: ca5e7037-a65c-45d8-b954-f64ab0799964 Total devices 3 FS bytes used 6.01GB devid 3 size 93.13GB used 9.01GB path /dev/sdc4 devid 5 size 623.25GB used 8.31GB path /dev/md15 devid 1 size 9.31GB used 8.31GB path /dev/md11 (/dev/sdc4 is the underlying device under /dev/md13, which I removed, I don''t know why it still shows up as /dev/sdc4, but that happened before with the other devices I removed, so I didn''t bother) Now I startet to rebalance. After 30 minutes or so ps ax still said: 17995 pts/3 S+ 0:16 ./btrfs-vol -b /home/samba/temp/btrfs-tests/ After an hour ps ax said 17995 pts/3 R+ 68:31 ./btrfs-vol -b /home/samba/temp/btrfs-tests/ and btrfs-vol consumes 100% of 1 CPU and can not be killed. And thats what ./btrfsck /dev/md11 produced fs tree 256 refs 1 not found unresolved ref root 257 dir 256 index 8 namelen 8 name subvol00 error 600 found 6449324032 bytes used err is 1 total csum bytes: 6291456 total tree bytes: 6873088 total fs tree bytes: 36864 btree space waste bytes: 159776 file data blocks allocated: 10737418240 referenced 10737418240 subvol00 is a subvolume I created and deleted before. The error 600 was there before I started removing devices. Thats what I found in the logs: Feb 2 10:40:27 server kernel: [250931.124172] ------------[ cut here ]------------ Feb 2 10:40:27 server kernel: [250931.124239] kernel BUG at fs/btrfs/inode.c:788! Feb 2 10:40:27 server kernel: [250931.124304] invalid opcode: 0000 [#1] SMP Feb 2 10:40:27 server kernel: [250931.124371] last sysfs file: /sys/class/hwmon/hwmon0/temp1_input Feb 2 10:40:27 server kernel: [250931.124440] Modules linked in: btrfs zlib_deflate crc32c libcrc32c autofs4 cpufreq_powersave cpufreq_ondemand cpufreq_stats ipt_REJECT ipt_MASQUERADE xt_TCPMSS xt_mac ipt_REDIRECT xt_DSCP xt_tcpudp xt_state xt_length ipt_LOG xt_limit iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables x_tables nf_conntrack_tftp nf_conntrack_sip nf_conntrack_proto_udplite nf_conntrack_pptp nf_conntrack_proto_gre nf_conntrack_netlink nfnetlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack ppp_async crc_ccitt ppp_generic slhc ipv6 nls_utf8 isofs loop powernow_k8 freq_table cpufreq_userspace video backlight ftdi_sio pl2303 asus_atk0110 output wmi usbserial snd_pcm snd_timer snd soundcore snd_page_alloc processor edac_ core button i2c_nforce2 pcspkr i2c_core evdev ext3 jbd mbcache dm_mirror dm_region_hash dm_log dm_snapshot dm_mod raid1 md_mod ata_generic pata_amd sd_mod amd74xx ahci libata forcedeth firewire_ohci firewire_core crc_itu_t ide_pci_generic ohci_hcd sky2 scsi_mod ehci_hcd ide_core thermal fan thermal_sys hwmon [last unloaded: scsi_wait_scan] Feb 2 10:40:27 server kernel: [250931.125004] Feb 2 10:40:27 server kernel: [250931.125004] Pid: 17936, comm: flush-btrfs-6 Not tainted (2.6.32 #1) System Product Name Feb 2 10:40:27 server kernel: [250931.125004] EIP: 0060:[<f8a9c948>] EFLAGS: 00010286 CPU: 2 Feb 2 10:40:27 server kernel: [250931.125004] EIP is at cow_file_range+0x5f8/0x610 [btrfs] Feb 2 10:40:27 server kernel: [250931.125004] EAX: ffffffe4 EBX: ffffffff ECX: 00008989 EDX: 00000001 Feb 2 10:40:27 server kernel: [250931.125004] ESI: 0000000e EDI: 00001000 EBP: 00000000 ESP: d3c0dc18 Feb 2 10:40:27 server kernel: [250931.125004] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 Feb 2 10:40:27 server kernel: [250931.125004] Process flush-btrfs-6 (pid: 17936, ti=d3c0c000 task=c431e070 task.ti=d3c0c000) Feb 2 10:40:27 server kernel: [250931.125004] Stack: Feb 2 10:40:27 server kernel: [250931.125004] 02770000 00000000 00001000 00000000 00000000 00000000 85400000 0000000e Feb 2 10:40:27 server kernel: [250931.125004] <0> ffffffff ffffffff d3c0dc8b 00000001 00000000 c8e6dab0 c243dea0 c8e6dbcc Feb 2 10:40:27 server kernel: [250931.125004] <0> 00001000 c8e6dab4 ce603800 d8593db4 02770000 00000000 00001000 00000000 Feb 2 10:40:27 server kernel: [250931.125004] Call Trace: Feb 2 10:40:27 server kernel: [250931.125004] [<f8a9d696>] ? run_delalloc_range+0x3d6/0x440 [btrfs] Feb 2 10:40:27 server kernel: [250931.125004] [<f8abbcb8>] ? __extent_writepage+0x938/0xae0 [btrfs] Feb 2 10:40:27 server kernel: [250931.125004] [<f8ab89f0>] ? end_bio_extent_writepage+0x0/0x200 [btrfs] Feb 2 10:40:27 server kernel: [250931.125004] [<f8ab7ad0>] ? extent_write_cache_pages+0x170/0x270 [btrfs] Feb 2 10:40:27 server kernel: [250931.125004] [<f8ab7c28>] ? extent_writepages+0x58/0x80 [btrfs] Feb 2 10:40:27 server kernel: [250931.125004] [<f8abb380>] ? __extent_writepage+0x0/0xae0 [btrfs] Feb 2 10:40:27 server kernel: [250931.125004] [<f8ab5510>] ? flush_write_bio+0x0/0x10 [btrfs] Feb 2 10:40:27 server kernel: [250931.125004] [<f8a9aa00>] ? btrfs_get_extent+0x0/0xbc0 [btrfs] Feb 2 10:40:27 server kernel: [250931.125004] [<f8a9a88c>] ? btrfs_writepages+0x1c/0x30 [btrfs] Feb 2 10:40:27 server kernel: [250931.125004] [<f8a9a870>] ? btrfs_writepages+0x0/0x30 [btrfs] Feb 2 10:40:27 server kernel: [250931.125004] [<c109bdfa>] ? do_writepages+0x1a/0x40 Feb 2 10:40:27 server kernel: [250931.125004] [<c10e20de>] ? writeback_single_inode+0xbe/0x310 Feb 2 10:40:27 server kernel: [250931.125004] [<c10e2e40>] ? writeback_inodes_wb+0x380/0x530 Feb 2 10:40:27 server kernel: [250931.125004] [<c10e30f8>] ? wb_writeback+0x108/0x1c0 Feb 2 10:40:27 server kernel: [250931.125004] [<c10e330f>] ? wb_do_writeback+0x9f/0x180 Feb 2 10:40:27 server kernel: [250931.125004] [<c10e343b>] ? bdi_writeback_task+0x4b/0x80 Feb 2 10:40:27 server kernel: [250931.125004] [<c10aa877>] ? bdi_start_fn+0x67/0xc0 Feb 2 10:40:27 server kernel: [250931.125004] [<c10aa810>] ? bdi_start_fn+0x0/0xc0 Feb 2 10:40:27 server kernel: [250931.125004] [<c10504e4>] ? kthread+0x74/0x80 Feb 2 10:40:27 server kernel: [250931.125004] [<c1050470>] ? kthread+0x0/0x80 Feb 2 10:40:27 server kernel: [250931.125004] [<c100381f>] ? kernel_thread_helper+0x7/0x18 Feb 2 10:40:27 server kernel: [250931.125004] Code: 00 81 c3 00 10 00 00 83 d6 00 0f ac f3 0c 01 1a 8b 84 24 a8 00 00 00 c7 00 01 00 00 00 e9 46 fe ff ff 0f 0b eb fe 90 8d 74 26 00 <0f> 0b eb fe 8d 74 26 00 31 db 31 f6 e9 bd fb ff ff 0f 0b eb fe Feb 2 10:40:27 server kernel: [250931.125004] EIP: [<f8a9c948>] cow_file_range+0x5f8/0x610 [btrfs] SS:ESP 0068:d3c0dc18 Feb 2 10:40:27 server kernel: [250931.133712] ---[ end trace 2f81334be95a397c ]--- -- 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
This happened after reboot: ./btrfs-show Label: none uuid: ca5e7037-a65c-45d8-b954-f64ab0799964 Total devices 2 FS bytes used 6.01GB devid 5 size 623.25GB used 7.32GB path /dev/md15 devid 1 size 9.31GB used 7.32GB path /dev/md11 ./btrfsck /dev/md11 failed to open /dev/btrfs-control skipping device registration failed to open /dev/btrfs-control skipping device registration failed to open /dev/btrfs-control skipping device registration failed to open /dev/btrfs-control skipping device registration failed to open /dev/btrfs-control skipping device registration failed to open /dev/btrfs-control skipping device registration fs tree 256 refs 1 not found unresolved ref root 257 dir 256 index 8 namelen 8 name subvol00 error 600 found 6449324032 bytes used err is 1 total csum bytes: 6291456 total tree bytes: 6873088 total fs tree bytes: 36864 btree space waste bytes: 159776 file data blocks allocated: 10737418240 referenced 10737418240 mount -t btrfs /dev/md15 /home/samba/temp/btrfs-tests/ mount: wrong fs type, bad option, bad superblock on /dev/md15, missing codepage or helper program, or other error Manchmal liefert das Syslog wertvolle Informationen versuchen Sie dmesg | tail oder so ./btrfsck /dev/md11 fs tree 256 refs 1 not found unresolved ref root 257 dir 256 index 8 namelen 8 name subvol00 error 600 found 6449324032 bytes used err is 1 total csum bytes: 6291456 total tree bytes: 6873088 total fs tree bytes: 36864 btree space waste bytes: 159776 file data blocks allocated: 10737418240 referenced 10737418240 And the logs: Feb 2 14:10:11 server kernel: [ 4188.478576] Btrfs loaded Feb 2 14:10:11 server kernel: [ 4188.480370] device fsid d8455ca637705eca-649979b04af654b9 devid 5 transid 679 /dev/md15 Feb 2 14:10:11 server kernel: [ 4188.481053] btrfs: failed to read the system array on md15 Feb 2 14:10:11 server kernel: [ 4188.496590] btrfs: open_ctree failed Feb 2 14:10:17 server kernel: [ 4194.622045] device fsid d8455ca637705eca-649979b04af654b9 devid 1 transid 679 /dev/md11 Feb 2 14:10:17 server kernel: [ 4194.667871] device fsid d8455ca637705eca-649979b04af654b9 devid 5 transid 679 /dev/md15 Feb 2 14:10:17 server kernel: [ 4194.695295] device fsid d8455ca637705eca-649979b04af654b9 devid 1 transid 679 /dev/md/11 Feb 2 14:10:17 server kernel: [ 4194.699507] device fsid d8455ca637705eca-649979b04af654b9 devid 5 transid 679 /dev/md/15 Feb 2 14:10:20 server kernel: [ 4197.287320] device fsid d8455ca637705eca-649979b04af654b9 devid 1 transid 679 /dev/md11 Feb 2 14:10:20 server kernel: [ 4197.290500] device fsid d8455ca637705eca-649979b04af654b9 devid 5 transid 679 /dev/md15 Feb 2 14:10:20 server kernel: [ 4197.307757] device fsid d8455ca637705eca-649979b04af654b9 devid 1 transid 679 /dev/md/11 Feb 2 14:10:20 server kernel: [ 4197.312969] device fsid d8455ca637705eca-649979b04af654b9 devid 5 transid 679 /dev/md/15 Feb 2 14:10:31 server kernel: [ 4208.291488] device fsid d8455ca637705eca-649979b04af654b9 devid 5 transid 679 /dev/md15 Feb 2 14:10:31 server kernel: [ 4208.309594] btrfs: unlinked 1 orphans Feb 2 14:15:25 server kernel: [ 4502.850336] btrfs: relocating block group 73774923776 flags 17 Feb 2 14:15:27 server kernel: [ 4504.572962] btrfs allocation failed flags 17, wanted 4096 Feb 2 14:15:27 server kernel: [ 4504.572966] space_info has 260046848 free, is full Feb 2 14:15:27 server kernel: [ 4504.572969] space_info total=6774456320, pinned=0, delalloc=81199104, may_use=0, used=6442450944, root=0, super=65536, reserved=71892992 Feb 2 14:15:27 server kernel: [ 4504.572973] block group 61291364352 has 1073741824 bytes, 1058013184 used 0 pinned 15663104 reserved Feb 2 14:15:27 server kernel: [ 4504.572975] block group has cluster?: no Feb 2 14:15:27 server kernel: [ 4504.572976] 0 blocks of free space at or bigger than bytes is Feb 2 14:15:27 server kernel: [ 4504.572979] block group 62365106176 has 1073741824 bytes, 1069547520 used 0 pinned 4194304 reserved Feb 2 14:15:27 server kernel: [ 4504.572980] block group has cluster?: no Feb 2 14:15:27 server kernel: [ 4504.572982] 0 blocks of free space at or bigger than bytes is Feb 2 14:15:27 server kernel: [ 4504.572984] block group 69139562496 has 1073741824 bytes, 1063256064 used 0 pinned 10485760 reserved Feb 2 14:15:27 server kernel: [ 4504.572986] block group has cluster?: no Feb 2 14:15:27 server kernel: [ 4504.572987] 0 blocks of free space at or bigger than bytes is Feb 2 14:15:27 server kernel: [ 4504.572989] block group 70213304320 has 1073741824 bytes, 1062207488 used 0 pinned 11534336 reserved Feb 2 14:15:27 server kernel: [ 4504.572990] block group has cluster?: no Feb 2 14:15:27 server kernel: [ 4504.572992] 0 blocks of free space at or bigger than bytes is Feb 2 14:15:27 server kernel: [ 4504.572994] block group 71287046144 has 332005376 bytes, 312475648 used 0 pinned 19529728 reserved Feb 2 14:15:27 server kernel: [ 4504.572995] block group has cluster?: no Feb 2 14:15:27 server kernel: [ 4504.572996] 0 blocks of free space at or bigger than bytes is Feb 2 14:15:27 server kernel: [ 4504.572999] block group 72701181952 has 1073741824 bytes, 1063256064 used 0 pinned 10485760 reserved Feb 2 14:15:27 server kernel: [ 4504.573000] block group has cluster?: no Feb 2 14:15:27 server kernel: [ 4504.573001] 0 blocks of free space at or bigger than bytes is Feb 2 14:15:27 server kernel: [ 4504.573003] block group 73774923776 has 1073741824 bytes, 813694976 used 0 pinned 0 reserved Feb 2 14:15:27 server kernel: [ 4504.573005] entry offset 74588618752, bytes 260046848, bitmap no Feb 2 14:15:27 server kernel: [ 4504.573007] block group has cluster?: no Feb 2 14:15:27 server kernel: [ 4504.573008] 1 blocks of free space at or bigger than bytes is Feb 2 14:15:27 server kernel: [ 4504.573033] ------------[ cut here ]------------ Feb 2 14:15:27 server kernel: [ 4504.573101] kernel BUG at fs/btrfs/inode.c:788! Feb 2 14:15:27 server kernel: [ 4504.573166] invalid opcode: 0000 [#1] SMP Feb 2 14:15:27 server kernel: [ 4504.573233] last sysfs file: /sys/class/hwmon/hwmon0/temp1_input Feb 2 14:15:27 server kernel: [ 4504.573300] Modules linked in: btrfs zlib_deflate crc32c libcrc32c autofs4 cpufreq_powersave cpufreq_ondemand cpufreq_stats ipt_REJECT ipt_MASQUERADE xt_TCPMSS xt_mac ipt_REDIRECT xt_DSCP xt_tcpudp xt_state xt_length ipt_LOG xt_limit iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables x_tables nf_conntrack_tftp nf_conntrack_sip nf_conntrack_proto_udplite nf_conntrack_pptp nf_conntrack_proto_gre nf_conntrack_netlink nfnetlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack ppp_async crc_ccitt ppp_generic slhc ipv6 nls_utf8 isofs loop powernow_k8 freq_table cpufreq_userspace video pl2303 snd_pcm snd_timer backlight snd edac_core i2c_nforce2 wmi output button asus_atk0110 processor ftdi_sio usbserial i2 c_core soundcore snd_page_alloc evdev pcspkr ext3 jbd mbcache dm_mirror dm_region_hash dm_log dm_snapshot dm_mod raid1 md_mod ata_generic pata_amd sd_mod amd74xx ahci libata ide_pci_generic firewire_ohci firewire_core crc_itu_t sky2 ide_core forcedeth scsi_mod ohci_hcd ehci_hcd thermal fan thermal_sys hwmon [last unloaded: scsi_wait_scan] Feb 2 14:15:27 server kernel: [ 4504.574363] Feb 2 14:15:27 server kernel: [ 4504.574425] Pid: 6114, comm: btrfs-vol Not tainted (2.6.32 #1) System Product Name Feb 2 14:15:27 server kernel: [ 4504.574550] EIP: 0060:[<fecf5948>] EFLAGS: 00010286 CPU: 1 Feb 2 14:15:27 server kernel: [ 4504.574626] EIP is at cow_file_range+0x5f8/0x610 [btrfs] Feb 2 14:15:27 server kernel: [ 4504.574693] EAX: ffffffe4 EBX: ffffffff ECX: 0000fafa EDX: 00000001 Feb 2 14:15:27 server kernel: [ 4504.574761] ESI: 0000000e EDI: 00001000 EBP: 00000000 ESP: f41638e4 Feb 2 14:15:27 server kernel: [ 4504.574829] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 Feb 2 14:15:27 server kernel: [ 4504.574897] Process btrfs-vol (pid: 6114, ti=f4162000 task=ef17e540 task.ti=f4162000) Feb 2 14:15:27 server kernel: [ 4504.575022] Stack: Feb 2 14:15:27 server kernel: [ 4504.575082] 00970000 00000000 00001000 00000000 00000000 00000000 58c10000 0000000e Feb 2 14:15:27 server kernel: [ 4504.575161] <0> ffffffff ffffffff f4163957 00000001 00000000 f3ac2050 c24f7da0 f3ac216c Feb 2 14:15:27 server kernel: [ 4504.575297] <0> 00001000 f3ac2054 f4903800 f3955724 00970000 00000000 00001000 00000000 Feb 2 14:15:27 server kernel: [ 4504.575491] Call Trace: Feb 2 14:15:27 server kernel: [ 4504.575561] [<fecf6696>] ? run_delalloc_range+0x3d6/0x440 [btrfs] Feb 2 14:15:27 server kernel: [ 4504.575636] [<fed14cb8>] ? __extent_writepage+0x938/0xae0 [btrfs] Feb 2 14:15:27 server kernel: [ 4504.575707] [<c115234f>] ? radix_tree_gang_lookup_tag_slot+0x9f/0xd0 Feb 2 14:15:27 server kernel: [ 4504.575777] [<c1094b3b>] ? find_get_pages_tag+0x3b/0x130 Feb 2 14:15:27 server kernel: [ 4504.575850] [<fed10ad0>] ? extent_write_cache_pages+0x170/0x270 [btrfs] Feb 2 14:15:27 server kernel: [ 4504.575930] [<fed10c28>] ? extent_writepages+0x58/0x80 [btrfs] Feb 2 14:15:27 server kernel: [ 4504.576003] [<fed14380>] ? __extent_writepage+0x0/0xae0 [btrfs] Feb 2 14:15:27 server kernel: [ 4504.576080] [<fed0e510>] ? flush_write_bio+0x0/0x10 [btrfs] Feb 2 14:15:27 server kernel: [ 4504.576153] [<fecf3a00>] ? btrfs_get_extent+0x0/0xbc0 [btrfs] Feb 2 14:15:27 server kernel: [ 4504.576226] [<fecf388c>] ? btrfs_writepages+0x1c/0x30 [btrfs] Feb 2 14:15:27 server kernel: [ 4504.576299] [<fecf3870>] ? btrfs_writepages+0x0/0x30 [btrfs] Feb 2 14:15:27 server kernel: [ 4504.576367] [<c109bdfa>] ? do_writepages+0x1a/0x40 Feb 2 14:15:27 server kernel: [ 4504.576434] [<c10e20de>] ? writeback_single_inode+0xbe/0x310 Feb 2 14:15:27 server kernel: [ 4504.576502] [<c10e2e40>] ? writeback_inodes_wb+0x380/0x530 Feb 2 14:15:27 server kernel: [ 4504.576503] [<c109c583>] ? balance_dirty_pages_ratelimited_nr+0x223/0x330 Feb 2 14:15:27 server kernel: [ 4504.576503] [<fed114b4>] ? clear_extent_bit+0xe4/0x520 [btrfs] Feb 2 14:15:27 server kernel: [ 4504.576503] [<fed31b80>] ? relocate_file_extent_cluster+0x480/0x540 [btrfs] Feb 2 14:15:27 server kernel: [ 4504.576503] [<fed32112>] ? relocate_block_group+0x3e2/0x4c0 [btrfs] Feb 2 14:15:27 server kernel: [ 4504.576503] [<fecef1ca>] ? btrfs_clean_old_snapshots+0x5a/0xe0 [btrfs] Feb 2 14:15:27 server kernel: [ 4504.576503] [<fed325ec>] ? btrfs_relocate_block_group+0x1cc/0x370 [btrfs] Feb 2 14:15:27 server kernel: [ 4504.576503] [<fed190b9>] ? btrfs_relocate_chunk+0x89/0x5f0 [btrfs] Feb 2 14:15:27 server kernel: [ 4504.576503] [<c10d7f8d>] ? __d_lookup+0x8d/0x110 Feb 2 14:15:27 server kernel: [ 4504.576503] [<fed0dbfb>] ? map_private_extent_buffer+0x8b/0x130 [btrfs] Feb 2 14:15:27 server kernel: [ 4504.576503] [<fed19e3d>] ? btrfs_balance+0x2ad/0x310 [btrfs] Feb 2 14:15:27 server kernel: [ 4504.576503] [<fed1f022>] ? btrfs_ioctl+0x392/0xa80 [btrfs] Feb 2 14:15:27 server kernel: [ 4504.576503] [<c1095824>] ? filemap_fault+0x74/0x390 Feb 2 14:15:27 server kernel: [ 4504.576503] [<c10ac541>] ? __do_fault+0x361/0x450 Feb 2 14:15:27 server kernel: [ 4504.576503] [<fed1ec90>] ? btrfs_ioctl+0x0/0xa80 [btrfs] Feb 2 14:15:27 server kernel: [ 4504.576503] [<c10d36db>] ? vfs_ioctl+0x2b/0x90 Feb 2 14:15:27 server kernel: [ 4504.576503] [<c10d3beb>] ? do_vfs_ioctl+0x3cb/0x600 Feb 2 14:15:27 server kernel: [ 4504.576503] [<c101ee52>] ? do_page_fault+0x122/0x300 Feb 2 14:15:27 server kernel: [ 4504.576503] [<c10d3e86>] ? sys_ioctl+0x66/0x70 Feb 2 14:15:27 server kernel: [ 4504.576503] [<c1002db5>] ? syscall_call+0x7/0xb Feb 2 14:15:27 server kernel: [ 4504.576503] Code: 00 81 c3 00 10 00 00 83 d6 00 0f ac f3 0c 01 1a 8b 84 24 a8 00 00 00 c7 00 01 00 00 00 e9 46 fe ff ff 0f 0b eb fe 90 8d 74 26 00 <0f> 0b eb fe 8d 74 26 00 31 db 31 f6 e9 bd fb ff ff 0f 0b eb fe Feb 2 14:15:27 server kernel: [ 4504.576503] EIP: [<fecf5948>] cow_file_range+0x5f8/0x610 [btrfs] SS:ESP 0068:f41638e4 Feb 2 14:15:27 server kernel: [ 4504.578542] ---[ end trace 5bf61caa2660c1ba ]--- -- 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
Goffredo Baroncelli
2010-Feb-02 19:06 UTC
Re: panic after remove of device during rebalance
On Tuesday 02 February 2010, Norbert Scheibner wrote:> This happened after reboot: > > /btrfs-show > Label: none uuid: ca5e7037-a65c-45d8-b954-f64ab0799964 > Total devices 2 FS bytes used 6.01GB > devid 5 size 623.25GB used 7.32GB path /dev/md15 > devid 1 size 9.31GB used 7.32GB path /dev/md11 > > /btrfsck /dev/md11 > failed to open /dev/btrfs-control skipping device registration > failed to open /dev/btrfs-control skipping device registration > failed to open /dev/btrfs-control skipping device registration > failed to open /dev/btrfs-control skipping device registration > failed to open /dev/btrfs-control skipping device registration > failed to open /dev/btrfs-control skipping device registration > fs tree 256 refs 1 not found > unresolved ref root 257 dir 256 index 8 namelen 8 name subvol00error 600> found 6449324032 bytes used err is 1 > total csum bytes: 6291456 > total tree bytes: 6873088 > total fs tree bytes: 36864 > btree space waste bytes: 159776 > file data blocks allocated: 10737418240 > referenced 10737418240 > > mount -t btrfs /dev/md15 /home/samba/temp/btrfs-tests/ > mount: wrong fs type, bad option, bad superblock on /dev/md15, > missing codepage or helper program, or other error > Manchmal liefert das Syslog wertvolle Informationen versuchen > Sie dmesg | tail oder so >It seems that you don''t have called "btrfsctl -a". If you don''t do that, btrfs was unable to mount a multi-volume filesystem. Pay attention to invoke "btrfsctl -a" after the btrfs module is loaded.> /btrfsck /dev/md11 > fs tree 256 refs 1 not found > unresolved ref root 257 dir 256 index 8 namelen 8 name subvol00error 600> found 6449324032 bytes used err is 1 > total csum bytes: 6291456 > total tree bytes: 6873088 > total fs tree bytes: 36864 > btree space waste bytes: 159776 > file data blocks allocated: 10737418240 > referenced 10737418240 > > And the logs: > Feb 2 14:10:11 server kernel: [ 4188.478576] Btrfs loaded > Feb 2 14:10:11 server kernel: [ 4188.480370] device fsidd8455ca637705eca-649979b04af654b9 devid 5 transid 679 /dev/md15> Feb 2 14:10:11 server kernel: [ 4188.481053] btrfs: failed to read thesystem array on md15> Feb 2 14:10:11 server kernel: [ 4188.496590] btrfs: open_ctree failed > Feb 2 14:10:17 server kernel: [ 4194.622045] device fsidd8455ca637705eca-649979b04af654b9 devid 1 transid 679 /dev/md11> Feb 2 14:10:17 server kernel: [ 4194.667871] device fsidd8455ca637705eca-649979b04af654b9 devid 5 transid 679 /dev/md15> Feb 2 14:10:17 server kernel: [ 4194.695295] device fsidd8455ca637705eca-649979b04af654b9 devid 1 transid 679 /dev/md/11> Feb 2 14:10:17 server kernel: [ 4194.699507] device fsidd8455ca637705eca-649979b04af654b9 devid 5 transid 679 /dev/md/15> Feb 2 14:10:20 server kernel: [ 4197.287320] device fsidd8455ca637705eca-649979b04af654b9 devid 1 transid 679 /dev/md11> Feb 2 14:10:20 server kernel: [ 4197.290500] device fsidd8455ca637705eca-649979b04af654b9 devid 5 transid 679 /dev/md15> Feb 2 14:10:20 server kernel: [ 4197.307757] device fsidd8455ca637705eca-649979b04af654b9 devid 1 transid 679 /dev/md/11> Feb 2 14:10:20 server kernel: [ 4197.312969] device fsidd8455ca637705eca-649979b04af654b9 devid 5 transid 679 /dev/md/15> Feb 2 14:10:31 server kernel: [ 4208.291488] device fsidd8455ca637705eca-649979b04af654b9 devid 5 transid 679 /dev/md15> Feb 2 14:10:31 server kernel: [ 4208.309594] btrfs: unlinked 1 orphans > Feb 2 14:15:25 server kernel: [ 4502.850336] btrfs: relocating block group73774923776 flags 17> Feb 2 14:15:27 server kernel: [ 4504.572962] btrfs allocation failed flags17, wanted 4096> Feb 2 14:15:27 server kernel: [ 4504.572966] space_info has 260046848 free,is full> Feb 2 14:15:27 server kernel: [ 4504.572969] space_info total=6774456320,pinned=0, delalloc=81199104, may_use=0, used=6442450944, root=0, super=65536, reserved=71892992> Feb 2 14:15:27 server kernel: [ 4504.572973] block group 61291364352 has1073741824 bytes, 1058013184 used 0 pinned 15663104 reserved> Feb 2 14:15:27 server kernel: [ 4504.572975] block group has cluster?: no > Feb 2 14:15:27 server kernel: [ 4504.572976] 0 blocks of free space at orbigger than bytes is> Feb 2 14:15:27 server kernel: [ 4504.572979] block group 62365106176 has1073741824 bytes, 1069547520 used 0 pinned 4194304 reserved> Feb 2 14:15:27 server kernel: [ 4504.572980] block group has cluster?: no > Feb 2 14:15:27 server kernel: [ 4504.572982] 0 blocks of free space at orbigger than bytes is> Feb 2 14:15:27 server kernel: [ 4504.572984] block group 69139562496 has1073741824 bytes, 1063256064 used 0 pinned 10485760 reserved> Feb 2 14:15:27 server kernel: [ 4504.572986] block group has cluster?: no > Feb 2 14:15:27 server kernel: [ 4504.572987] 0 blocks of free space at orbigger than bytes is> Feb 2 14:15:27 server kernel: [ 4504.572989] block group 70213304320 has1073741824 bytes, 1062207488 used 0 pinned 11534336 reserved> Feb 2 14:15:27 server kernel: [ 4504.572990] block group has cluster?: no > Feb 2 14:15:27 server kernel: [ 4504.572992] 0 blocks of free space at orbigger than bytes is> Feb 2 14:15:27 server kernel: [ 4504.572994] block group 71287046144 has332005376 bytes, 312475648 used 0 pinned 19529728 reserved> Feb 2 14:15:27 server kernel: [ 4504.572995] block group has cluster?: no > Feb 2 14:15:27 server kernel: [ 4504.572996] 0 blocks of free space at orbigger than bytes is> Feb 2 14:15:27 server kernel: [ 4504.572999] block group 72701181952 has1073741824 bytes, 1063256064 used 0 pinned 10485760 reserved> Feb 2 14:15:27 server kernel: [ 4504.573000] block group has cluster?: no > Feb 2 14:15:27 server kernel: [ 4504.573001] 0 blocks of free space at orbigger than bytes is> Feb 2 14:15:27 server kernel: [ 4504.573003] block group 73774923776 has1073741824 bytes, 813694976 used 0 pinned 0 reserved> Feb 2 14:15:27 server kernel: [ 4504.573005] entry offset 74588618752,bytes 260046848, bitmap no> Feb 2 14:15:27 server kernel: [ 4504.573007] block group has cluster?: no > Feb 2 14:15:27 server kernel: [ 4504.573008] 1 blocks of free space at orbigger than bytes is> Feb 2 14:15:27 server kernel: [ 4504.573033] ------------[ cut here]------------> Feb 2 14:15:27 server kernel: [ 4504.573101] kernel BUG atfs/btrfs/inode.c:788!> Feb 2 14:15:27 server kernel: [ 4504.573166] invalid opcode: 0000 [#1] SMP > Feb 2 14:15:27 server kernel: [ 4504.573233] last sysfs file:/sys/class/hwmon/hwmon0/temp1_input> Feb 2 14:15:27 server kernel: [ 4504.573300] Modules linked in: btrfszlib_deflate crc32c libcrc32c autofs4 cpufreq_powersave cpufreq_ondemand cpufreq_stats ipt_REJECT ipt_MASQUERADE xt_TCPMSS xt_mac ipt_REDIRECT xt_DSCP xt_tcpudp xt_state xt_length ipt_LOG xt_limit iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables x_tables nf_conntrack_tftp nf_conntrack_sip nf_conntrack_proto_udplite nf_conntrack_pptp nf_conntrack_proto_gre nf_conntrack_netlink nfnetlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack ppp_async crc_ccitt ppp_generic slhc ipv6 nls_utf8 isofs loop powernow_k8 freq_table cpufreq_userspace video pl2303 snd_pcm snd_timer backlight snd edac_core i2c_nforce2 wmi output button asus_atk0110 processor ftdi_sio usbserial i2c_core soundcore snd_page_alloc evdev pcspkr ext3 jbd mbcache dm_mirror dm_region_hash dm_log dm_snapshot dm_mod raid1 md_mod ata_generic pata_amd sd_mod amd74xx ahci libata ide_pci_generic firewire> _ohci firewire_core crc_itu_t sky2 ide_core forcedeth scsi_mod ohci_hcdehci_hcd thermal fan thermal_sys hwmon [last unloaded: scsi_wait_scan]> Feb 2 14:15:27 server kernel: [ 4504.574363] > Feb 2 14:15:27 server kernel: [ 4504.574425] Pid: 6114, comm: btrfs-vol Nottainted (2.6.32 #1) System Product Name> Feb 2 14:15:27 server kernel: [ 4504.574550] EIP: 0060:[<fecf5948>] EFLAGS:00010286 CPU: 1> Feb 2 14:15:27 server kernel: [ 4504.574626] EIP is atcow_file_range+0x5f8/0x610 [btrfs]> Feb 2 14:15:27 server kernel: [ 4504.574693] EAX: ffffffe4 EBX: ffffffffECX: 0000fafa EDX: 00000001> Feb 2 14:15:27 server kernel: [ 4504.574761] ESI: 0000000e EDI: 00001000EBP: 00000000 ESP: f41638e4> Feb 2 14:15:27 server kernel: [ 4504.574829] DS: 007b ES: 007b FS: 00d8GS: 0033 SS: 0068> Feb 2 14:15:27 server kernel: [ 4504.574897] Process btrfs-vol (pid: 6114,ti=f4162000 task=ef17e540 task.ti=f4162000)> Feb 2 14:15:27 server kernel: [ 4504.575022] Stack: > Feb 2 14:15:27 server kernel: [ 4504.575082] 00970000 00000000 0000100000000000 00000000 00000000 58c10000 0000000e> Feb 2 14:15:27 server kernel: [ 4504.575161] <0> ffffffff ffffffff f416395700000001 00000000 f3ac2050 c24f7da0 f3ac216c> Feb 2 14:15:27 server kernel: [ 4504.575297] <0> 00001000 f3ac2054 f4903800f3955724 00970000 00000000 00001000 00000000> Feb 2 14:15:27 server kernel: [ 4504.575491] Call Trace: > Feb 2 14:15:27 server kernel: [ 4504.575561] [<fecf6696>] ?run_delalloc_range+0x3d6/0x440 [btrfs]> Feb 2 14:15:27 server kernel: [ 4504.575636] [<fed14cb8>] ?__extent_writepage+0x938/0xae0 [btrfs]> Feb 2 14:15:27 server kernel: [ 4504.575707] [<c115234f>] ?radix_tree_gang_lookup_tag_slot+0x9f/0xd0> Feb 2 14:15:27 server kernel: [ 4504.575777] [<c1094b3b>] ?find_get_pages_tag+0x3b/0x130> Feb 2 14:15:27 server kernel: [ 4504.575850] [<fed10ad0>] ?extent_write_cache_pages+0x170/0x270 [btrfs]> Feb 2 14:15:27 server kernel: [ 4504.575930] [<fed10c28>] ?extent_writepages+0x58/0x80 [btrfs]> Feb 2 14:15:27 server kernel: [ 4504.576003] [<fed14380>] ?__extent_writepage+0x0/0xae0 [btrfs]> Feb 2 14:15:27 server kernel: [ 4504.576080] [<fed0e510>] ?flush_write_bio+0x0/0x10 [btrfs]> Feb 2 14:15:27 server kernel: [ 4504.576153] [<fecf3a00>] ?btrfs_get_extent+0x0/0xbc0 [btrfs]> Feb 2 14:15:27 server kernel: [ 4504.576226] [<fecf388c>] ?btrfs_writepages+0x1c/0x30 [btrfs]> Feb 2 14:15:27 server kernel: [ 4504.576299] [<fecf3870>] ?btrfs_writepages+0x0/0x30 [btrfs]> Feb 2 14:15:27 server kernel: [ 4504.576367] [<c109bdfa>] ?do_writepages+0x1a/0x40> Feb 2 14:15:27 server kernel: [ 4504.576434] [<c10e20de>] ?writeback_single_inode+0xbe/0x310> Feb 2 14:15:27 server kernel: [ 4504.576502] [<c10e2e40>] ?writeback_inodes_wb+0x380/0x530> Feb 2 14:15:27 server kernel: [ 4504.576503] [<c109c583>] ?balance_dirty_pages_ratelimited_nr+0x223/0x330> Feb 2 14:15:27 server kernel: [ 4504.576503] [<fed114b4>] ?clear_extent_bit+0xe4/0x520 [btrfs]> Feb 2 14:15:27 server kernel: [ 4504.576503] [<fed31b80>] ?relocate_file_extent_cluster+0x480/0x540 [btrfs]> Feb 2 14:15:27 server kernel: [ 4504.576503] [<fed32112>] ?relocate_block_group+0x3e2/0x4c0 [btrfs]> Feb 2 14:15:27 server kernel: [ 4504.576503] [<fecef1ca>] ?btrfs_clean_old_snapshots+0x5a/0xe0 [btrfs]> Feb 2 14:15:27 server kernel: [ 4504.576503] [<fed325ec>] ?btrfs_relocate_block_group+0x1cc/0x370 [btrfs]> Feb 2 14:15:27 server kernel: [ 4504.576503] [<fed190b9>] ?btrfs_relocate_chunk+0x89/0x5f0 [btrfs]> Feb 2 14:15:27 server kernel: [ 4504.576503] [<c10d7f8d>] ?__d_lookup+0x8d/0x110> Feb 2 14:15:27 server kernel: [ 4504.576503] [<fed0dbfb>] ?map_private_extent_buffer+0x8b/0x130 [btrfs]> Feb 2 14:15:27 server kernel: [ 4504.576503] [<fed19e3d>] ?btrfs_balance+0x2ad/0x310 [btrfs]> Feb 2 14:15:27 server kernel: [ 4504.576503] [<fed1f022>] ?btrfs_ioctl+0x392/0xa80 [btrfs]> Feb 2 14:15:27 server kernel: [ 4504.576503] [<c1095824>] ?filemap_fault+0x74/0x390> Feb 2 14:15:27 server kernel: [ 4504.576503] [<c10ac541>] ?__do_fault+0x361/0x450> Feb 2 14:15:27 server kernel: [ 4504.576503] [<fed1ec90>] ?btrfs_ioctl+0x0/0xa80 [btrfs]> Feb 2 14:15:27 server kernel: [ 4504.576503] [<c10d36db>] ?vfs_ioctl+0x2b/0x90> Feb 2 14:15:27 server kernel: [ 4504.576503] [<c10d3beb>] ?do_vfs_ioctl+0x3cb/0x600> Feb 2 14:15:27 server kernel: [ 4504.576503] [<c101ee52>] ?do_page_fault+0x122/0x300> Feb 2 14:15:27 server kernel: [ 4504.576503] [<c10d3e86>] ?sys_ioctl+0x66/0x70> Feb 2 14:15:27 server kernel: [ 4504.576503] [<c1002db5>] ?syscall_call+0x7/0xb> Feb 2 14:15:27 server kernel: [ 4504.576503] Code: 00 81 c3 00 10 00 00 83d6 00 0f ac f3 0c 01 1a 8b 84 24 a8 00 00 00 c7 00 01 00 00 00 e9 46 fe ff ff 0f 0b eb fe 90 8d 74 26 00 <0f> 0b eb fe 8d 74 26 00 31 db 31 f6 e9 bd fb ff ff 0f 0b eb fe> Feb 2 14:15:27 server kernel: [ 4504.576503] EIP: [<fecf5948>]cow_file_range+0x5f8/0x610 [btrfs] SS:ESP 0068:f41638e4> Feb 2 14:15:27 server kernel: [ 4504.578542] ---[ end trace5bf61caa2660c1ba ]---> -- > 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 >-- gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack@inwind.it> Key fingerprint = 4769 7E51 5293 D36C 814E C054 BF04 F161 3DC5 0512 -- 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
Another reboot - another try - only this time I ran "btrfsctl -a" first. Now the first process to stay in uninterruptable sleep was the umount after theses tests. modprobe btrfs ./btrfsctl -a Scanning for Btrfs filesystems ./btrfs-show Label: none uuid: ca5e7037-a65c-45d8-b954-f64ab0799964 Total devices 2 FS bytes used 6.01GB devid 5 size 623.25GB used 7.32GB path /dev/md15 devid 1 size 9.31GB used 7.32GB path /dev/md11 ./btrfsck /dev/md11 fs tree 256 refs 1 not found unresolved ref root 257 dir 256 index 8 namelen 8 name subvol00 error 600 found 6449324032 bytes used err is 1 total csum bytes: 6291456 total tree bytes: 6873088 total fs tree bytes: 36864 btree space waste bytes: 159776 file data blocks allocated: 10737418240 referenced 10737418240 ls -la /mnt/btrfs-tests/ insgesamt 6291468 dr-xr-xr-x 1 root root 240 2. Feb 09:46 . drwxr-xr-x 9 root root 4096 3. Feb 15:07 .. -rwxrwxr-x 1 samba samba 1073741824 31. Jan 17:53 large-file-test-000 -rwxrwxr-x 1 samba samba 1073741824 31. Jan 18:05 large-file-test-001 -rwxrwxr-x 1 samba samba 1073741824 31. Jan 18:12 large-file-test-002 -rwxrwxr-x 1 samba samba 1073741824 31. Jan 18:17 large-file-test-003 -rwxrwxr-x 1 samba samba 1073741824 31. Jan 18:24 large-file-test-004 -rwxrwxr-x 1 samba samba 1073741824 31. Jan 18:13 large-file-test-100 drwxrwxr-x 1 samba samba 168 1. Feb 16:52 snap00 ./btrfs-vol -b /mnt/btrfs-tests/ Speicherzugriffsfehler Feb 3 15:04:04 server kernel: [ 402.415500] Btrfs loaded Feb 3 15:04:11 server kernel: [ 410.152115] device fsid d8455ca637705eca-649979b04af654b9 devid 1 transid 681 /dev/md11 Feb 3 15:04:11 server kernel: [ 410.154554] device fsid d8455ca637705eca-649979b04af654b9 devid 5 transid 681 /dev/md15 Feb 3 15:04:11 server kernel: [ 410.157135] device fsid d8455ca637705eca-649979b04af654b9 devid 1 transid 681 /dev/md/11 Feb 3 15:04:11 server kernel: [ 410.160300] device fsid d8455ca637705eca-649979b04af654b9 devid 5 transid 681 /dev/md/15 Feb 3 15:05:37 server kernel: [ 495.302414] device fsid d8455ca637705eca-649979b04af654b9 devid 1 transid 681 /dev/md11 Feb 3 15:05:37 server kernel: [ 495.304530] device fsid d8455ca637705eca-649979b04af654b9 devid 5 transid 681 /dev/md15 Feb 3 15:05:37 server kernel: [ 495.306343] device fsid d8455ca637705eca-649979b04af654b9 devid 1 transid 681 /dev/md/11 Feb 3 15:05:37 server kernel: [ 495.309194] device fsid d8455ca637705eca-649979b04af654b9 devid 5 transid 681 /dev/md/15 Feb 3 15:06:08 server kernel: [ 526.808238] device fsid d8455ca637705eca-649979b04af654b9 devid 1 transid 681 /dev/md11 Feb 3 15:06:08 server kernel: [ 526.811494] device fsid d8455ca637705eca-649979b04af654b9 devid 5 transid 681 /dev/md15 Feb 3 15:06:08 server kernel: [ 526.832216] device fsid d8455ca637705eca-649979b04af654b9 devid 1 transid 681 /dev/md/11 Feb 3 15:06:08 server kernel: [ 526.837340] device fsid d8455ca637705eca-649979b04af654b9 devid 5 transid 681 /dev/md/15 Feb 3 15:07:36 server kernel: [ 614.725114] device fsid d8455ca637705eca-649979b04af654b9 devid 1 transid 681 /dev/md11 Feb 3 15:07:36 server kernel: [ 614.757610] btrfs: unlinked 1 orphans Feb 3 15:07:36 server kernel: [ 614.757610] btrfs: unlinked 1 orphans Feb 3 15:14:26 server kernel: [ 1024.486214] btrfs: relocating block group 73774923776 flags 17 Feb 3 15:14:27 server kernel: [ 1026.148298] btrfs allocation failed flags 17, wanted 4096 Feb 3 15:14:27 server kernel: [ 1026.148302] space_info has 260046848 free, is full Feb 3 15:14:27 server kernel: [ 1026.148306] space_info total=6774456320, pinned=0, delalloc=81199104, may_use=0, used=6442450944, root=0, super=65536, reserved=71892992 Feb 3 15:14:27 server kernel: [ 1026.148309] block group 61291364352 has 1073741824 bytes, 1058013184 used 0 pinned 15663104 reserved Feb 3 15:14:27 server kernel: [ 1026.148311] block group has cluster?: no Feb 3 15:14:27 server kernel: [ 1026.148312] 0 blocks of free space at or bigger than bytes is Feb 3 15:14:27 server kernel: [ 1026.148315] block group 62365106176 has 1073741824 bytes, 1069547520 used 0 pinned 4194304 reserved Feb 3 15:14:27 server kernel: [ 1026.148317] block group has cluster?: no Feb 3 15:14:27 server kernel: [ 1026.148318] 0 blocks of free space at or bigger than bytes is Feb 3 15:14:27 server kernel: [ 1026.148320] block group 69139562496 has 1073741824 bytes, 1063256064 used 0 pinned 10485760 reserved Feb 3 15:14:27 server kernel: [ 1026.148321] block group has cluster?: no Feb 3 15:14:27 server kernel: [ 1026.148323] 0 blocks of free space at or bigger than bytes is Feb 3 15:14:27 server kernel: [ 1026.148325] block group 70213304320 has 1073741824 bytes, 1062207488 used 0 pinned 11534336 reserved Feb 3 15:14:27 server kernel: [ 1026.148326] block group has cluster?: no Feb 3 15:14:27 server kernel: [ 1026.148327] 0 blocks of free space at or bigger than bytes is Feb 3 15:14:27 server kernel: [ 1026.148330] block group 71287046144 has 332005376 bytes, 312475648 used 0 pinned 19529728 reserved Feb 3 15:14:27 server kernel: [ 1026.148331] block group has cluster?: no Feb 3 15:14:27 server kernel: [ 1026.148332] 0 blocks of free space at or bigger than bytes is Feb 3 15:14:27 server kernel: [ 1026.148334] block group 72701181952 has 1073741824 bytes, 1063256064 used 0 pinned 10485760 reserved Feb 3 15:14:27 server kernel: [ 1026.148336] block group has cluster?: no Feb 3 15:14:27 server kernel: [ 1026.148337] 0 blocks of free space at or bigger than bytes is Feb 3 15:14:27 server kernel: [ 1026.148339] block group 73774923776 has 1073741824 bytes, 813694976 used 0 pinned 0 reserved Feb 3 15:14:27 server kernel: [ 1026.148341] entry offset 74588618752, bytes 260046848, bitmap no Feb 3 15:14:27 server kernel: [ 1026.148343] block group has cluster?: no Feb 3 15:14:27 server kernel: [ 1026.148344] 1 blocks of free space at or bigger than bytes is Feb 3 15:14:27 server kernel: [ 1026.148371] ------------[ cut here ]------------ Feb 3 15:14:27 server kernel: [ 1026.148464] kernel BUG at fs/btrfs/inode.c:788! Feb 3 15:14:27 server kernel: [ 1026.148505] invalid opcode: 0000 [#1] SMP Feb 3 15:14:27 server kernel: [ 1026.148505] last sysfs file: /sys/block/md5/size Feb 3 15:14:27 server kernel: [ 1026.148505] Modules linked in: btrfs zlib_deflate crc32c libcrc32c autofs4 cpufreq_powersave cpufreq_ondemand cpufreq_stats ipt_REJECT ipt_MASQUERADE xt_TCPMSS xt_ Feb 3 15:14:27 server kernel: [ 1026.148505] Feb 3 15:14:27 server kernel: [ 1026.148505] Pid: 5669, comm: btrfs-vol Not tainted (2.6.32 #1) System Product Name Feb 3 15:14:27 server kernel: [ 1026.148505] EIP: 0060:[<fed21948>] EFLAGS: 00010286 CPU: 1 Feb 3 15:14:27 server kernel: [ 1026.148505] EIP is at cow_file_range+0x5f8/0x610 [btrfs] Feb 3 15:14:27 server kernel: [ 1026.148505] EAX: ffffffe4 EBX: ffffffff ECX: 00007e7e EDX: 00000001 Feb 3 15:14:27 server kernel: [ 1026.148505] ESI: 0000000e EDI: 00001000 EBP: 00000000 ESP: e4cb38e4 Feb 3 15:14:27 server kernel: [ 1026.148505] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 Feb 3 15:14:27 server kernel: [ 1026.148505] Process btrfs-vol (pid: 5669, ti=e4cb2000 task=f70f8070 task.ti=e4cb2000) Feb 3 15:14:27 server kernel: [ 1026.148505] Stack: Feb 3 15:14:27 server kernel: [ 1026.148505] 00970000 00000000 00001000 00000000 00000000 00000000 58c10000 0000000e Feb 3 15:14:27 server kernel: [ 1026.148505] <0> ffffffff ffffffff e4cb3957 00000001 00000000 e244d050 c278cd60 e244d16c Feb 3 15:14:27 server kernel: [ 1026.148505] <0> 00001000 e244d054 e9274800 e24a5724 00970000 00000000 00001000 00000000 Feb 3 15:14:27 server kernel: [ 1026.148505] Call Trace: Feb 3 15:14:27 server kernel: [ 1026.148505] [<fed22696>] ? run_delalloc_range+0x3d6/0x440 [btrfs] Feb 3 15:14:27 server kernel: [ 1026.148505] [<fed40cb8>] ? __extent_writepage+0x938/0xae0 [btrfs] Feb 3 15:14:27 server kernel: [ 1026.148505] [<c113ee3e>] ? generic_make_request+0x32e/0x4b0 Feb 3 15:14:27 server kernel: [ 1026.148505] [<c115234f>] ? radix_tree_gang_lookup_tag_slot+0x9f/0xd0 Feb 3 15:14:27 server kernel: [ 1026.148505] [<c1094b3b>] ? find_get_pages_tag+0x3b/0x130 Feb 3 15:14:27 server kernel: [ 1026.148505] [<fed3cad0>] ? extent_write_cache_pages+0x170/0x270 [btrfs] Feb 3 15:14:27 server kernel: [ 1026.148505] [<fed3cc28>] ? extent_writepages+0x58/0x80 [btrfs] Feb 3 15:14:27 server kernel: [ 1026.148505] [<fed40380>] ? __extent_writepage+0x0/0xae0 [btrfs] Feb 3 15:14:27 server kernel: [ 1026.148505] [<fed3a510>] ? flush_write_bio+0x0/0x10 [btrfs] Feb 3 15:14:27 server kernel: [ 1026.148505] [<fed1fa00>] ? btrfs_get_extent+0x0/0xbc0 [btrfs] Feb 3 15:14:27 server kernel: [ 1026.148505] [<fed1f88c>] ? btrfs_writepages+0x1c/0x30 [btrfs] Feb 3 15:14:27 server kernel: [ 1026.148505] [<fed1f870>] ? btrfs_writepages+0x0/0x30 [btrfs] Feb 3 15:14:27 server kernel: [ 1026.148505] [<c109bdfa>] ? do_writepages+0x1a/0x40 Feb 3 15:14:27 server kernel: [ 1026.148505] [<c10e20de>] ? writeback_single_inode+0xbe/0x310 Feb 3 15:14:27 server kernel: [ 1026.148505] [<c10e2e40>] ? writeback_inodes_wb+0x380/0x530 Feb 3 15:14:27 server kernel: [ 1026.148505] [<c109c583>] ? balance_dirty_pages_ratelimited_nr+0x223/0x330 Feb 3 15:14:27 server kernel: [ 1026.148505] [<fed3d4b4>] ? clear_extent_bit+0xe4/0x520 [btrfs] Feb 3 15:14:27 server kernel: [ 1026.148505] [<fed5db80>] ? relocate_file_extent_cluster+0x480/0x540 [btrfs] Feb 3 15:14:27 server kernel: [ 1026.148505] [<fed5e112>] ? relocate_block_group+0x3e2/0x4c0 [btrfs] Feb 3 15:14:27 server kernel: [ 1026.148505] [<fed1b1ca>] ? btrfs_clean_old_snapshots+0x5a/0xe0 [btrfs] Feb 3 15:14:27 server kernel: [ 1026.148505] [<fed5e5ec>] ? btrfs_relocate_block_group+0x1cc/0x370 [btrfs] Feb 3 15:14:27 server kernel: [ 1026.148505] [<fed450b9>] ? btrfs_relocate_chunk+0x89/0x5f0 [btrfs] Feb 3 15:14:27 server kernel: [ 1026.148505] [<f8258d88>] ? ahci_qc_prep+0xc8/0x180 [ahci] Feb 3 15:14:27 server kernel: [ 1026.148505] [<fed39bfb>] ? map_private_extent_buffer+0x8b/0x130 [btrfs] Feb 3 15:14:27 server kernel: [ 1026.148505] [<fed45e3d>] ? btrfs_balance+0x2ad/0x310 [btrfs] Feb 3 15:14:27 server kernel: [ 1026.148505] [<fed4b022>] ? btrfs_ioctl+0x392/0xa80 [btrfs] Feb 3 15:14:27 server kernel: [ 1026.148505] [<c1095824>] ? filemap_fault+0x74/0x390 Feb 3 15:14:27 server kernel: [ 1026.148505] [<c10ac541>] ? __do_fault+0x361/0x450 Feb 3 15:14:27 server kernel: [ 1026.148505] [<fed4ac90>] ? btrfs_ioctl+0x0/0xa80 [btrfs] Feb 3 15:14:27 server kernel: [ 1026.148505] [<c10d36db>] ? vfs_ioctl+0x2b/0x90 Feb 3 15:14:27 server kernel: [ 1026.148505] [<c10d3beb>] ? do_vfs_ioctl+0x3cb/0x600 Feb 3 15:14:27 server kernel: [ 1026.148505] [<c101ee52>] ? do_page_fault+0x122/0x300 Feb 3 15:14:27 server kernel: [ 1026.148505] [<c10d3e86>] ? sys_ioctl+0x66/0x70 Feb 3 15:14:27 server kernel: [ 1026.148505] [<c1002db5>] ? syscall_call+0x7/0xb Feb 3 15:14:27 server kernel: [ 1026.148505] Code: 00 81 c3 00 10 00 00 83 d6 00 0f ac f3 0c 01 1a 8b 84 24 a8 00 00 00 c7 00 01 00 00 00 e9 46 fe ff ff 0f 0b eb fe 90 8d 74 26 00 <0f> 0b eb fe 8d Feb 3 15:14:27 server kernel: [ 1026.148505] EIP: [<fed21948>] cow_file_range+0x5f8/0x610 [btrfs] SS:ESP 0068:e4cb38e4 Feb 3 15:14:27 server kernel: [ 1026.165124] ---[ end trace bf1dc2859b76e8be ]--- -- 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