[sles-beta] SLES12 Rc2 x86_64 root disk lvm2 setup btrfs

Richard Brown rbrown at suse.de
Tue Sep 9 09:37:28 MDT 2014


On Tue, 2014-09-09 at 15:09 +0000, urs.frey at post.ch wrote:
>  
> Btrfs on LVM2 would be a good solution for me, because of the
> resizing/extending feature possible.
> Installation worked well and GRUB2 found my Btrfs including /boot on
> LVM2.
> 

I'm going to allow wiser minds to comment on the supportability of your
propose configuration, but I had to comment on the above extract from
your email

BTRFS includes its own resize/extending features

https://btrfs.wiki.kernel.org/index.php/Manpage/btrfs-device

btrfs device add <dev> to add devices to the filesystem
btrfs device delete <dev> to remove them
btrfs replace start <origin device> <target device> to replace a device
with another and move all its blocks to the target device

and btrfs filesystem has the 'resize' subcommand to grow, or shrink the
size of a filesystem

https://btrfs.wiki.kernel.org/index.php/Manpage/btrfs-filesystem

There's certainly one use case I can think of where using LVM and btrfs
has benefits (full / root and /boot filesystem encryption), but
resizing/extending isn't one of them :)

Hope this helps

Richard

-- 

Richard Brown
QA Engineer
openSUSE Chairman
  
Phone +4991174053-361
SUSE LINUX Products GmbH,  Maxfeldstr. 5,  D-90409 Nuernberg
Geschaeftsfuehrer: Jeff Hawn, Jennifer Guild, Felix Imendoerffer, HRB 16746 (AG Nuernberg)










More information about the sles-beta mailing list