Disc full during upgrade with / on btrfs fs and using docker (subvolumes)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I experienced a disc full event on a `do-release-
The upgrade crashed while installing packages taking some of my running GUI apps with them and not allowing me to start any new ones. I had to boot into a rescue console and in the end deleted all docker subvolumes in a for loop:
```
$ btrfs subvolume list /
ID 338 gen 94967 top level 5 path var/lib/
ID 339 gen 94969 top level 5 path
[...]
$ # remove the echo...
$ for subvol in $(ls /var/lib/
$ btrfs balance start /
```
Afterwards running `apt install -f` and whatever it asked me to run (some dpkg stuff to finish the installs) got me back into a running system.
-> Please check that a btrfs root partition has enough left space to support a upgrade with e.g. `btrfs fi show /` and warn if a out-of-space situation is likely.