Thread (7 messages) 7 messages, 5 authors, 2012-08-21

Re: btrfs and mdadm raid 6

From: David Sterba <hidden>
Date: 2012-08-21 14:51:54

On Mon, Aug 20, 2012 at 11:06:03PM +0600, Roman Mamedov wrote:
2) On filesystem converted with btrfs-convert the metadata allocation is
unnecessarily large due to some other, conversion-related reasons; but this
can be fixed with "btrfs filesystem balance -musage=5 /mount/point" (do
several runs increasing the value from 5 to 10, 20 or more, if it fails to
free up a sufficient amount of space). This will defragment metadata and free
up chunks which end up being completely unused (which will be a lot of them),
but only down to the kernel's desired minimum allocation, see point #1.
There's one recommended preceding step -- remove the saved
ext2_subvol/image .  (General note, that further rollback to ext4 is
impossible, does not apply in this case.)

The data blocks will otherwise inherit the layout from ext4 and are
(probably and naturally) allocated using different assumptions and
needs.


david
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help