Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Installer needs to make larger bpool size when formatting disk in zfs #2360

Open
laserburn opened this issue Oct 6, 2023 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@laserburn
Copy link

Description

Ubuntu installer currently does not allow any customization when formatting disk using zfs file system. It will create a 2GB bpool, which on first glance seems perfectly adequate for /boot, but trust me, it is NOT. A whole lot of us have this same problem with space running out on bpool, which we usually first encounter when we suddenly can't install updates. If you use Ubuntu on zfs for a long time and keep upgrading to newer versions, a lot of kernel branches are going to accumulate, all of them with two latest versions of kernel, Nvidia graphic drivers will install headers for all of them. Ubuntu updates kernels quite often, so a lot of large snapshots keep being created and before you know it, all the space on bpool is gone and you have to keep manually pruning bpool, which gets really annoying, really fast.

Even if no other option is given to the user for installation on zfs, it should at the very least allow him to increase bpool size, or the installer could make a larger bpool when it detects a disk with plenty of space.

If you are not going to bother with this, at the very least please share with me a way to manually increase bpool for installation, I don't expect that it should be more difficult than changing a variable in some configuration file on the iso.

Additional context

No response

@Mafoelffen1
Copy link

Mafoelffen1 commented Nov 27, 2023

I found my own answers to this manually: https://answers.launchpad.net/ubuntu/+source/subiquity/+question/708132

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants