It would be nice if there was an easy way to tell btrfs to allocate another metadata chunk. For example, the below fs is full due to exhausted metadata:
Device size: 1013.28GiB Device allocated: 1013.28GiB Device unallocated: 2.00MiB Device missing: 0.00B Used: 981.94GiB Free (estimated): 15.16GiB (min: 15.16GiB) Data ratio: 2.00 Metadata ratio: 2.00 Global reserve: 510.31MiB (used: 0.00B) Data Metadata System Id Path RAID1 RAID1 RAID1 Unallocated -- --------- --------- --------- -------- ----------- 1 /dev/sdv1 505.63GiB 1.00GiB 8.00MiB 1.00MiB 2 /dev/sdw1 505.63GiB 1.00GiB 8.00MiB 1.00MiB -- --------- --------- --------- -------- ----------- Total 505.63GiB 1.00GiB 8.00MiB 2.00MiB Used 490.47GiB 510.88MiB 96.00KiB I can delete a multi GB file and get several GB of unallocated space, however if I try and copy big files to it again the same exact thing happens. However, if I play with balance and deleting files and such and manage to get it to allocate another metadata chunk while there is unallocated space then the filesystem will happily fill up all of the data chunks. Failing an automatic allocation out of global reserve, or saving metadata as soon as unallocated space is available it would be nice if I could just delete a file and then tell btrfs to allocate more metadata immediately. Makes sense? No idea how easy this would be to do, but seems like it should be a simple thing btrfs file could do. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html