On Aug 26, 2013, at 7:35 AM, Russell Coker <[email protected]> wrote:
>                                                                               
>                                                                               
>                                                                               
>                            
> root@xev:~# btrfs filesystem df /                                             
>                                                                               
>                                                                               
>                                                                               
>                                         
> Data: total=101.57GB, used=81.50GB                                            
>                                                                               
>                                                                               
>                                                                               
>                                         
> System, DUP: total=8.00MB, used=20.00KB                                       
>                                                                               
>                                                                               
>                                                                               
>                                         
> System: total=4.00MB, used=0.00                                               
>                                                                               
>                                                                               
>                                                                               
>                                         
> Metadata, DUP: total=3.00GB, used=2.50GB                                      
>                                                                               
>                                                                               
>                                                                               
>                                         
> Metadata: total=8.00MB, used=0.00
> root@xev:~# ls -l > test                                                      
>                                                                               
>                                                                               
>                                                                               
>                                         
> bash: test: No space left on device                                           
>                                                                               
>                                                                               
>                                                                               
>                                         
> root@xev:~# touch test
> touch: cannot touch ‘test’: No space left on device                           
>                                                                               
>                                                                               
>                                                                               
>                                         
> root@xev:~#

The issue is data chunks remaining allocated for data, and not enough free 
space to allocate metadata chunks. Ultimately, the volume needs to be balanced.

I'm uncertain if autodefrag avoids this problem. It does seem like in certain 
instances, like this, the file system needs to be able to prune itself somehow, 
like a partial balance to consolidate data chunks and then release their space 
so they can become metadata chunks.

Chris Murphy--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to