I have LVM volume with an XFS filesystem that is mounted inside a container:
lxc.mount.entry = /dev/pool/ts01-home home xfs nosuid,relatime,uquota 1 2
When I try to extend it with lvextend -r
I get the following error:
/home: Not on a mounted XFS filesystem.
fsadm: Cannot parse xfs_info output.
/sbin/fsadm failed: 1
I guess it’s because the volume is mounted in a different namespace?
I can’t resize the filesystem from within the container either with the similar error that it’s not mounted.
Is there a way to resize the filesystem without stopping the container?