17.04 free -g is not showing swap space for btrfs filesystem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Release Notes for Ubuntu |
Fix Released
|
Undecided
|
Dimitri John Ledkov | ||
debian-installer (Ubuntu) |
Opinion
|
Undecided
|
Taco Screen team |
Bug Description
== Comment: #0 - PAVAMAN SUBRAMANIYAM - 2017-01-16 03:58:57 ==
---Problem Description---
free -g is not showing swap space for btrfs filesystem installed as Guided Partitioning of Ubuntu 17.04
---uname output---
Linux ltc-garri2 4.9.0-11-generic #12-Ubuntu SMP Mon Dec 12 16:16:45 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = P8
---Steps to Reproduce---
Install a P8 8335-GTB Hardware with Ubuntu17.04 OS.
Then check if the swap space is shown using free command.
root@ltc-garri2:~# free -g
total used free shared buff/cache available
Mem: 127 1 125 0 0 124
Swap: 0 0 0
I have selected Guided - use entire disk in Partition disks Menu while installing Ubuntu 17.04.
Then selected the Partition to modify its filesystem settings to btrfs journaling file system and created the same.
== Comment: #8 - Kevin W. Rudd - 2017-01-16 12:12:04 ==
Hello Canonical.
We had a couple of new bugs opened up recently (including this one) that are related to the 17.04 change to using swapfiles instead of swap partitions in certain cases. This is generating some confusion and questions.
? Do you have a current release note document for 17.04 that outlines this change and the various scenarios where a swap partition or volume might still be needed?
Related to the above question, it appears that btrfs needs a special mention for Zesty installs:
In the past, btrfs has been used for testing by simply changing the filesystem chosen as part of the "Guided partitioning" option. This will no longer work as a swap partition is not automatically created for this option, and btrfs does not currently support swapfiles:
https:/
An entry documenting the need for manual partitioning (including a swap partition) or recommending an LVM configuration for btrfs would probably be helpful in this case.
tags: |
added: severity-medium removed: severity-high |
Default Comment by Bridge