canonical / ubuntu-desktop-installer

Ubuntu Desktop Installer
GNU General Public License v3.0
536 stars 94 forks source link

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

Open laserburn opened 11 months ago

laserburn commented 11 months ago

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 commented 9 months ago

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