On Wed, Mar 27, 2013 at 12:28:23AM +0100, Clemens Eisserer wrote: > I am using a btrfs loopback mounted file with lzo-compression on > Linux-3.7.9, and I ran into "No space left on device" messages, > although df reports only 55% of space is used: > > # touch testfile > touch: cannot touch `testfile': No space left on device > > # df > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/loop0 32768000 17383924 14649172 55% /home/ce/anditest > > # btrfs filesystem df . > Data: total=28.22GB, used=14.25GB > System, DUP: total=8.00MB, used=12.00KB > System: total=4.00MB, used=0.00 > Metadata, DUP: total=1.50GB, used=1.16GB
Your metadata is close to full -- we need quite a lot of working space to CoW into. You (probably) have the full disk allocated to chunks, and too much is allocated to data; not enough to metadata. You need o balance, with a filter for the unused data chunks. See the section in the FAQ on the wiki about full filesystems. (Sorry for not finding the link, I'm on a restricted connection right now) Hugo. > Metadata: total=8.00MB, used=0.00 > > Any ideas what is going wrong here? > > Thank you in advance, Clemens -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Gentlemen! You can't fight here! This is the War Room! ---
signature.asc
Description: Digital signature