Help: How to implement BTRFS partition scheme on bare metal Ubuntu install

All:

Can anyone provide some guidance or resources on how to configure a bare metal install to implement a btrfs partitioning setup for an Ubuntu install? Specifically what I would like to do is the following:

   - create a btrfs filesystem using all available drives
   - create subvolumes for a defined set of directories (/home, /opt, etc)    - generate a UUID based fstab

I'm assuming that this involves manipulating pressed files and some aspect of partman, but really don't know for sure.

Any guidance would be much appreciated.

Thx,

-steve
I have done something like that for Debian recently and it just involves reading the templates. Pay attention to where certain snippets are included and what host.VARIABLES you can use and need to set at the various host/hostgroup levels.
The hardest part I found to be the partman partitioning layout commands. A small mistake makes it non-functional without a clear error message, as far as I know.

Regards,

Joop


··· On 20-11-2017 19:01, Stephen Nesbitt wrote:
All:

Can anyone provide some guidance or resources on how to configure a
bare metal install to implement a btrfs partitioning setup for an
Ubuntu install? Specifically what I would like to do is the following:

* create a btrfs filesystem using all available drives
* create subvolumes for a defined set of directories (/home, /opt, etc)
* generate a UUID based fstab

I'm assuming that this involves manipulating pressed files and some
aspect of partman, but really don't know for sure.

Any guidance would be much appreciated.

Hello, so can you or someone else share how to implement it. I try to use that with Ubuntu 24.04 and auto install, but it allways falls back to ext4