Mailinglist Archive: opensuse-factory (837 mails)

< Previous Next >
Re: [opensuse-factory] Can we see BTRFS as the default in the next version of openSUSE 11.5-12.0
Hash: SHA1

On 03/20/2011 11:25 AM, Carl-Daniel Hailfinger wrote:
Am 19.03.2011 22:21 schrieb Jeff Mahoney:
Honestly, the feature that has the most interest for me is the
subvolumes. The upshot is that you create one partition, create a btrfs
on it, and then create subvolumes. They all use the same shared storage
pool. You can add additional disks to expand it and all subvolumes have
access to the new space. This means I'm not staring at the 10 GB I have
free on /home while always doing rpm -e kernel-source during zypper
dup's because my / is too small.

Is there any advantage of btrfs over a bunch of ext3 filesystems on
different lvm logical volumes? The lvm pv is a storage pool, and I can
resize each lv (containing one ext3 each) as needed, so the problem you
described does not happen for me.

The problem I described *does* happen to you. You're just so accustomed
to the workaround that it doesn't seem like it's a problem anymore. That
process is still using statically defined volume sizes, but you're
resizing them when you need to shift space. That's not elastic. It's
multiple steps that modify both file system and storage, and it's not a
process I'd recommend to notice users. It's tough to not waste space
when shrinking a file system unless you shrink it lower than you intend,
shrink the block device, then grow it back up to the new limit. Another
step. Another opportunity for user confusion.

With btrfs, outside of the initial mkfs and a single command to create a
subvolume, there are no additional steps. Each logical file system
allocates space directly out of the same pool. df will show the same
amount of free space on all subvolumes. It's easy and allows us the
flexibility to have separate logical volumes without the hassle and risk
of allocating the wrong amount of space or having to jump through hoops
to change it later.

- -Jeff

- --
Jeff Mahoney
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with SUSE -

To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >