btrfs root / swapfile issues
Bug #1750657 reported by
Michael Hudson-Doyle
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Confirmed
|
Medium
|
Unassigned | ||
subiquity |
Fix Released
|
High
|
Unassigned |
Bug Description
From a testing report:
- I first went with the default partitioning and a btrfs root volume. On boot, I see warnings about swap:
Feb 20 02:11:41 localhost.
...
Feb 20 02:11:59 djavm swapon[394]: swapon: /swap.img: swapon failed: Invalid argument
Curtin probably shouldn't create swapfiles on btrfs /, and probably subiquity shouldn't let you install with btrfs / unless you have a swap partition, or a least not without a "are you sure?" option
summary: |
- installing with btrfs / fails when creating swapfile + btrfs root / swapfile issues |
Changed in subiquity: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: id-5a9fa534c1bfb6845a68093e |
Changed in subiquity: | |
status: | Triaged → In Progress |
Changed in subiquity: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
https:/ /btrfs. wiki.kernel. org/index. php/FAQ# Does_btrfs_ support_ swap_files. 3F
Yeah, so that's a no-no. I think curtin can reject, and subiquity shouldn't allow the config.