Ubuntu 20.04 daily - Root-on-ZFS broken after install
I've noticed this weird issue after installing Root-on-ZFS option with daily image of Focal where /var/lib directories aren't properly mounted. I'm not doing any advanced partitioning except selecting ZFS option in installer. This issue is repeatable via virtual machine as well as the real hardware.
Root pool mountpoints when installation has been started
| NAME | MOUNTPOINT |
| rpool | /target |
| rpool/ROOT | none |
| rpool/ROOT/
| rpool/ROOT/
| rpool/ROOT/
| rpool/ROOT/
| rpool/ROOT/
| rpool/ROOT/
| rpool/ROOT/
| rpool/ROOT/
| rpool/ROOT/
| rpool/ROOT/
| rpool/ROOT/
| rpool/ROOT/
| rpool/ROOT/
| rpool/ROOT/
| rpool/ROOT/
| rpool/ROOT/
| rpool/USERDATA | /target |
During installation:
$ zfs get mounted -H rpool/ROOT/
rpool/ROOT/
$ zfs get mounted -H rpool/ROOT/
rpool/ROOT/
But after the installation /var/lib dataset doesn't get mounted and with it AccountServices, NetworkManager, apt, and dpkg don't get mounted as well. This causes system to save those folders directly in parent dataset and those won't be auto-mounted later which results in somewhat broken install.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Ivan Tomica for more information if necessary.