File System Questions -- BFS with LVM

23 views
Skip to first unread message

Alex Gooch

unread,
Oct 1, 2024, 3:44:45 PM10/1/24
to kiwi
Good day all!

I am attempting to build a LEAP image (oem btrfs) where LVM is used, but btrfs is overlaid. 

When specifying btrfs as the filesystem attribute of type, and I have preferlvm set to true, I get a build error saying '/dev/rootvg/home' is too small to make a usable filesystem. When looking through the output I see that it is trying to build that with only 30MB of space. From what I read, this number is generated dynamically based on the size of the directories's contents?

I have also (unsuccessfully) tried to configure btrfs via config.sh. I had no luck there. 

Ultimately what I am needing is to use LVM and btrfs. 

Any help would be appreciated!

Marcus Schäfer

unread,
Oct 2, 2024, 5:05:04 AM10/2/24
to kiwi-...@googlegroups.com
Hi Alex,

> When specifying btrfs as the filesystem attribute of type, and I have
> preferlvm set to true, I get a build error saying '/dev/rootvg/home' is
> too small to make a usable filesystem. When looking through the output
> I see that it is trying to build that with only 30MB of space. From
> what I read, this number is generated dynamically based on the size of
> the directories's contents?

Yeah we fixed this problem in newer kiwi versions.
See: https://github.com/OSInside/kiwi/pull/2609

Regards,
Marcus
--
Public Key available via: https://keybase.io/marcus_schaefer/key.asc
keybase search marcus_schaefer
-------------------------------------------------------
Marcus Schäfer Brunnenweg 18
Tel: +49 7562 905437 D-88260 Argenbühl
Germany
-------------------------------------------------------
signature.asc

Alex Gooch

unread,
Oct 2, 2024, 8:59:56 AM10/2/24
to kiwi
Thank you Marcus! 

Pardon my ignorance, but how can I get that latest fix? The documentation talks about installing the tool I dont see where it mentions pulling updates down. This would also be helpful to get a leap15.6 directory pulled!

Marcus Schäfer

unread,
Oct 2, 2024, 10:42:49 AM10/2/24
to kiwi-...@googlegroups.com
Hi,

> Pardon my ignorance, but how can I get that latest fix?

We build stable versions here:

https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi

leap15.6 is in the list :)

Hope that helps
signature.asc

Tanner Olsen

unread,
Oct 2, 2024, 3:23:09 PM10/2/24
to kiwi-...@googlegroups.com
Follow up question for this Marcus - the following URL only provides a src package -  https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi

Am I mistaken?

Thanks in advance

--
You received this message because you are subscribed to the Google Groups "kiwi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kiwi-images...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kiwi-images/Zv1b4jOPxH_SKZ6N%40asterix.

Marcus Schäfer

unread,
Oct 2, 2024, 4:15:26 PM10/2/24
to kiwi-...@googlegroups.com
Hi,

> Follow up question for this Marcus - the following URL only provides a
> src package

Well if you click on the repo of your choice and then on
"go to download repository" you will be redirected here:

https://download.opensuse.org/repositories/Virtualization:/Appliances:/Builder/openSUSE_Leap_15.6/

This is the location that you can add to your package manager e.g

zypper ar https://download.opensuse.org/repositories/Virtualization:/Appliances:/Builder/openSUSE_Leap_15.6/ kiwi
signature.asc
Reply all
Reply to author
Forward
0 new messages