[Btrfs-devel] online resizing (including shrinking) pushed out

Chris Mason chris.mason at oracle.com
Fri Dec 21 13:37:08 PST 2007


Hello everyone,

Just before I head off to xmas vacation, I've pushed out my current
queue of unstable things to the unstable tree.

The big changes are the online resize, and a very very simple form of
ENOSPC detection:

btrfsctl -r new_size /mount_point

new_size can be an absolute number:

btrfsctl -r 8g /mount_point

or it can be an relative number:

# add 4GB
btrfsctl -r +4g /mount_point

# shrink 4GB
btrfsctl -r -16g /mount_point

This stuff just barely works, I'm sure there are problems, but it's
there for people to play with.

-chris



More information about the Btrfs-devel mailing list