Am Donnerstag, 6. August 2009 17:36:10 schrieb Robert Förster:
> Am Donnerstag, 6. August 2009 17:20:58 schrieb Josef Bacik:
> > On Thu, Aug 06, 2009 at 04:57:50PM +0200, Robert Förster wrote:
> > > Hello,
> > >
> > > i thought i'd jump in since i have the same issue:
> > > btrfs-show output:
> > >
> > > Label: none  uuid: 7f4f3bcb-7ba1-49c5-8996-e897b5483c7c
> > >         Total devices 1 FS bytes used 5.32GB
> > >         devid    1 size 51.22GB used 51.22GB path /dev/sdb1
> > >
> > > df -h output:
> > >
> > > Filesystem            Size  Used Avail Use% Mounted on
> > > rootfs                 52G  5,4G   46G  11% /
> >
> > Alrighty, so btrfs-show says you have used up all of your disk, but for
> > some reason statfs is saying you havent.  Can you cd into / and run
> >
> > du -h -s
> >
> > and then wait a very long time and then tell me what it comes back with
> > :). That will tell us for sure what the hell is going on.  Thank you,
> >
> > Josef
>
> 40G     .
i'd run btrfs-vol -b yesterday, here is what happend:

Aug 06 22:33:13 [kernel] btrfs: relocating block group 35462840320 flags 1      
Aug 06 22:33:16 [kernel] btrfs: found 19 extents                                
                - Last output repeated twice -                                  
Aug 06 22:33:19 [kernel] btrfs: relocating block group 34389098496 flags 1      
Aug 06 22:33:23 [kernel] btrfs: found 14 extents                                
                - Last output repeated twice -                                  
Aug 06 22:33:29 [kernel] btrfs: relocating block group 33315356672 flags 1      
Aug 06 22:33:30 [kernel] btrfs: relocating block group 32241614848 flags 1      
Aug 06 22:33:30 [kernel] btrfs: relocating block group 31167873024 flags 1      
Aug 06 22:33:32 [kernel] btrfs: relocating block group 30094131200 flags 1      
Aug 06 22:33:32 [kernel] btrfs: relocating block group 29020389376 flags 1      
Aug 06 22:33:34 [kernel] btrfs: found 47 extents                                
                - Last output repeated twice -                                  
Aug 06 22:33:39 [kernel] btrfs: relocating block group 27946647552 flags 36     
Aug 06 22:35:05 [kernel] btrfs: found 900 extents                               
Aug 06 22:35:05 [kernel] btrfs: relocating block group 26872905728 flags 36     
Aug 06 22:35:11 [kernel] btrfs: found 26 extents                                
Aug 06 22:35:11 [kernel] btrfs: relocating block group 25799163904 flags 36     
Aug 06 22:36:27 [kernel] btrfs: found 6194 extents                              
Aug 06 22:36:27 [kernel] btrfs: relocating block group 24725422080 flags 36     
Aug 06 22:36:43 [kernel] btrfs: found 321 extents                               
Aug 06 22:36:43 [kernel] btrfs: relocating block group 23651680256 flags 36     
Aug 06 22:37:08 [kernel] btrfs: found 1963 extents                              
Aug 06 22:37:08 [kernel] btrfs: relocating block group 22577938432 flags 1      
Aug 06 22:37:08 [kernel] btrfs: found 2 extents                                 
                - Last output repeated twice -                                  
Aug 06 22:37:09 [kernel] btrfs: relocating block group 21504196608 flags 36     
Aug 06 22:37:14 [kernel] btrfs: found 188 extents                               
Aug 06 22:37:14 [kernel] btrfs: relocating block group 20430454784 flags 36     
Aug 06 22:37:20 [kernel] btrfs: found 163 extents                               
Aug 06 22:37:20 [kernel] btrfs: relocating block group 19356712960 flags 1      
Aug 06 22:37:20 [kernel] btrfs: found 2 extents                                 
                - Last output repeated twice -                                  
Aug 06 22:37:21 [kernel] btrfs: relocating block group 18282971136 flags 36     
Aug 06 22:37:28 [kernel] btrfs: found 220 extents                               
Aug 06 22:37:28 [kernel] btrfs: relocating block group 17209229312 flags 1      
Aug 06 22:37:31 [kernel] btrfs: found 7 extents                                 
                - Last output repeated twice -                                  
Aug 06 22:37:34 [kernel] btrfs: relocating block group 16135487488 flags 36     
Aug 06 22:38:03 [kernel] btrfs: found 702 extents                               
Aug 06 22:38:03 [kernel] btrfs: relocating block group 15061745664 flags 1      
Aug 06 22:38:07 [kernel] btrfs: found 346 extents                               
                - Last output repeated twice -                                  
Aug 06 22:38:13 [kernel] btrfs: relocating block group 13988003840 flags 36     
Aug 06 22:38:52 [kernel] btrfs: found 1237 extents                              
Aug 06 22:38:52 [kernel] btrfs: relocating block group 12914262016 flags 36     
Aug 06 22:39:40 [kernel] btrfs: found 1572 extents                              
Aug 06 22:39:40 [kernel] btrfs: relocating block group 11840520192 flags 36     
Aug 06 22:40:11 [kernel] btrfs: found 796 extents                               
Aug 06 22:40:11 [kernel] btrfs: relocating block group 10766778368 flags 1      
Aug 06 22:40:19 [kernel] ------------[ cut here ]------------                   
Aug 06 22:40:19 [kernel] WARNING: at fs/btrfs/relocation.c:3519 
btrfs_relocate_block_group+0x205/0x306()                                        
                
Aug 06 22:40:19 [kernel] Hardware name: Dell DXP051                             
Aug 06 22:40:19 [kernel] Modules linked in: nvidia(P) i2c_i801                  
Aug 06 22:40:19 [kernel] Pid: 677, comm: btrfs-vol Tainted: P           
2.6.31-rc5-Beatrix #1                                                           
        
Aug 06 22:40:19 [kernel] Call Trace:                                            
Aug 06 22:40:19 [kernel]  [<ffffffff81256a07>] ? 
btrfs_relocate_block_group+0x205/0x306                                          
                               
Aug 06 22:40:19 [kernel]  [<ffffffff810464f1>] ? warn_slowpath_common+0x7a/0xd7 
Aug 06 22:40:19 [kernel]  [<ffffffff81256a07>] ? 
btrfs_relocate_block_group+0x205/0x306                                          
                               
Aug 06 22:40:19 [kernel]  [<ffffffff8123e79b>] ? btrfs_relocate_chunk+0x59/0x551
Aug 06 22:40:19 [kernel]  [<ffffffff81234766>] ? map_extent_buffer+0x8c/0xf0    
Aug 06 22:40:19 [kernel]  [<ffffffff81228cb8>] ? btrfs_item_offset+0xe4/0xeb    
Aug 06 22:40:19 [kernel]  [<ffffffff8123f2c3>] ? btrfs_balance+0x209/0x288      
Aug 06 22:40:19 [kernel]  [<ffffffff81243c75>] ? btrfs_ioctl+0x604/0xbdf        
Aug 06 22:40:19 [kernel]  [<ffffffff810d4922>] ? vfs_ioctl+0x35/0xa8            
Aug 06 22:40:19 [kernel]  [<ffffffff810d4dae>] ? do_vfs_ioctl+0x377/0x541       
Aug 06 22:40:19 [kernel]  [<ffffffff810d500d>] ? sys_ioctl+0x95/0x9e            
Aug 06 22:40:19 [kernel]  [<ffffffff8100bf6b>] ? system_call_fastpath+0x16/0x1b 
Aug 06 22:40:19 [kernel] ---[ end trace 7c223c913e2c5d3b ]---                   
Aug 06 22:40:19 [kernel] Kernel BUG at ffffffff8123eaf2 [verbose debug info 
unavailable]                                                                    
    
Aug 06 22:40:19 [kernel] CPU 0                                                  
Aug 06 22:40:19 [kernel] Modules linked in: nvidia(P) i2c_i801                  
Aug 06 22:40:19 [kernel] Pid: 677, comm: btrfs-vol Tainted: P        W  
2.6.31-rc5-Beatrix #1 Dell DXP051                                               
        
Aug 06 22:40:19 [kernel] RIP: 0010:[<ffffffff8123eaf2>]  [<ffffffff8123eaf2>] 
btrfs_relocate_chunk+0x3b0/0x551                                                
  
Aug 06 22:40:19 [kernel] RSP: 0018:ffff880056dd9c58  EFLAGS: 00010286           
Aug 06 22:40:19 [kernel] RAX: 00000000fffffff0 RBX: ffff88007eebe000 RCX: 
ffffffff8125690b                                                                
      
Aug 06 22:40:19 [kernel] RDX: 0000000000000000 RSI: ffffea0001785068 RDI: 
ffffffff816d0b80                                                                
      
Aug 06 22:40:19 [kernel] RBP: ffff88004b05fa20 R08: 0000000000000000 R09: 
0000000000000000                                                                
      
Aug 06 22:40:19 [kernel] R10: ffff880051c3de70 R11: 00000000ffffffff R12: 
0000000000000000                                                                
      
Aug 06 22:40:19 [kernel] R13: 0000000000000100 R14: ffff88007eee5000 R15: 
ffff880056dd9d78                                                                
      
Aug 06 22:40:19 [kernel] FS:  00007fa208e99730(0000) GS:ffff88000179f000(0000) 
knlGS:0000000000000000                                                          
 
Aug 06 22:40:19 [kernel] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b      
Aug 06 22:40:19 [kernel] CR2: 00007f7e5e6fc000 CR3: 00000000218b7000 CR4: 
00000000000006f0
Aug 06 22:40:19 [kernel] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 
0000000000000000
Aug 06 22:40:19 [kernel] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 
0000000000000400
Aug 06 22:40:19 [kernel] Process btrfs-vol (pid: 677, threadinfo 
ffff880056dd8000, task ffff880041991d60)
Aug 06 22:40:19 [kernel]  ffff880056dd9d08 ffffffff81234766 ffff880056dd9cf0 
0000000281c00000
Aug 06 22:40:19 [kernel] <0> 0000000000000100 ffff880056dd9cf8 ffff880056dd9d00 
ffff88007eee3800
Aug 06 22:40:19 [kernel] <0> 00000000966449ef 00000000000001dc ffff88001b4f5990 
00000000000001ed
Aug 06 22:40:19 [kernel]  [<ffffffff81234766>] ? map_extent_buffer+0x8c/0xf0
Aug 06 22:40:19 [kernel]  [<ffffffff81228cb8>] ? btrfs_item_offset+0xe4/0xeb
Aug 06 22:40:19 [kernel]  [<ffffffff8123f2c3>] ? btrfs_balance+0x209/0x288
Aug 06 22:40:19 [kernel]  [<ffffffff81243c75>] ? btrfs_ioctl+0x604/0xbdf
Aug 06 22:40:19 [kernel]  [<ffffffff810d4922>] ? vfs_ioctl+0x35/0xa8
Aug 06 22:40:19 [kernel]  [<ffffffff810d4dae>] ? do_vfs_ioctl+0x377/0x541
Aug 06 22:40:19 [kernel]  [<ffffffff810d500d>] ? sys_ioctl+0x95/0x9e
Aug 06 22:40:19 [kernel]  [<ffffffff8100bf6b>] ? system_call_fastpath+0x16/0x1b
Aug 06 22:40:19 [kernel] RIP  [<ffffffff8123eaf2>] 
btrfs_relocate_chunk+0x3b0/0x551
Aug 06 22:40:19 [kernel]  RSP <ffff880056dd9c58>
Aug 06 22:40:19 [kernel] ---[ end trace 7c223c913e2c5d3c ]---

reinstalled btrfs-prgs from git and with debug symbols (since it segfaulted 
when i woke up) rerunning it at the moment so maybe its doing that again and i 
have more infomation.
tell me if i can do anything more

Robert

Reply via email to