Web lists-archives.com

Re: making more room in root partition for distribution upgrade

Le 20/05/2018 à 21:34, Reco a écrit :
On Sun, May 20, 2018 at 08:48:05PM +0200, Pascal Hambourg wrote:
Le 20/05/2018 à 17:23, Reco a écrit :

On Sun, May 20, 2018 at 10:30:26AM -0400, Stefan Monnier wrote:

      lvextend --resizefs ...

will work without you needing to unmount the file-system.

You forgot to add 'unless you try to shrink the filesystem, or still use

Or use btrfs which supports online shrinking.

Two questions:

1) lvextend uses fsadm, fsadm does not know anything about brtfs.
How it's supposed to work?

Well then, until it does, use "btrfs filesystem resize" instead.
The important thing is that you do not have to unmount the filesystem.

2) Why does anyone would want to create btrfs inside the Logical Volume?

For the same reasons as any other type of contents.
Why not ? Some features of LVM and btrfs may appear redundant, but they do not operate at the same layer.