[Kernel-packages] [Bug 1818811] Re: The swapfile on the Btrfs file system is not activated

2022-04-29 Thread Andre Ruiz
The problem is that a swapfile in btrfs cannot have CoW activated on the file, and cannot be compressed. Also, you should not leave the file in the root filesystem (even if it would work with the above settings) because it will make snapshots of /@ messy. If you manually do this, it will work: -

[Kernel-packages] [Bug 1818811] Re: The swapfile on the Btrfs file system is not activated

2022-04-09 Thread amano
I can confirm that with the proper Ubuntu 22.04 Beta on baremetal. I get the error message on bootup. Is there a workaround? (output of `swapon -s` is empty). 15:41:11 systemd-oomd: Swap is currently not detected; memory pressure usage will be degraded 15:41:11 systemd: swap.target: Job

[Kernel-packages] [Bug 1818811] Re: The swapfile on the Btrfs file system is not activated

2022-04-08 Thread Erich Eickmeyer 
** Also affects: partman-swapfile (Ubuntu) Importance: Undecided Status: New ** Changed in: ubiquity (Ubuntu) Status: Confirmed => Invalid ** Changed in: partman-swapfile (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of

[Kernel-packages] [Bug 1818811] Re: The swapfile on the Btrfs file system is not activated

2022-04-08 Thread Martin Wimpress 
** No longer affects: ubuntu-mate -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1818811 Title: The swapfile on the Btrfs file system is not activated Status in linux package in

[Kernel-packages] [Bug 1818811] Re: The swapfile on the Btrfs file system is not activated

2022-03-14 Thread Norbert
What do you actually mean by "xubuntu-22.04-core-amd64.iso"? Is it official daily image? ** Tags added: jammy -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1818811 Title: The swapfile

[Kernel-packages] [Bug 1818811] Re: The swapfile on the Btrfs file system is not activated

2022-03-14 Thread Dawid M.
This bug still remains in the latest Xubuntu CORE 22.04 (xubuntu-22.04-core-amd64.iso from the end of Feb 2022). During boot process, I can briefly see "[FAILED] Failed to activate swap /swapfile" and "[DEPEND] Dependency failed for Swaps". When I execute "sudo dmesg | grep -i swap", I get some

[Kernel-packages] [Bug 1818811] Re: The swapfile on the Btrfs file system is not activated

2021-08-12 Thread Norbert
Latest Ubuntu MATE 21.10 20210812 - btrfs rootfs, swapfile is not attached (output of `swapon -s` is empty). ** Also affects: ubuntu-mate Importance: Undecided Status: New ** Tags removed: disco ** Tags added: impish iso-testing -- You received this bug notification because you are a

[Kernel-packages] [Bug 1818811] Re: The swapfile on the Btrfs file system is not activated

2021-08-12 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubiquity (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1818811] Re: The swapfile on the Btrfs file system is not activated

2020-07-16 Thread Kai-Heng Feng
Thanks for your work. Can you please open a merge request at [1]? Thanks! [1]https://salsa.debian.org/installer-team/partman-swapfile -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1818811] Re: The swapfile on the Btrfs file system is not activated

2020-06-21 Thread Emanuele
Hello. I finally managed to work and locate the files and the code to change to make the swapfile work on Btrfs, I have tested it on several installations for a few months and the swapfile is created both if you choose ext4 or btrfs. I'm not a developer, so I don't know if the changes are

[Kernel-packages] [Bug 1818811] Re: The swapfile on the Btrfs file system is not activated

2020-06-21 Thread Emanuele
Hello. I finally managed to work and locate the files and the code to change to make the swapfile work on Btrfs, I have tested it on several installations for a few months and the swapfile is created both if you choose ext4 or btrfs. I'm not a developer, so I don't know if the changes are

[Kernel-packages] [Bug 1818811] Re: The swapfile on the Btrfs file system is not activated

2020-06-21 Thread Emanuele
Hello. I finally managed to work and locate the files and the code to change to make the swapfile work on Btrfs, I have tested it on several installations for a few months and the swapfile is created both if you choose ext4 or btrfs. I'm not a developer, so I don't know if the changes are

[Kernel-packages] [Bug 1818811] Re: The swapfile on the Btrfs file system is not activated

2020-06-21 Thread Emanuele
Hello. I finally managed to work and locate the files and the code to change to make the swapfile work on Btrfs, I have tested it on several installations for a few months and the swapfile is created both if you choose ext4 or btrfs. I'm not a developer, so I don't know if the changes are

[Kernel-packages] [Bug 1818811] Re: The swapfile on the Btrfs file system is not activated

2020-01-21 Thread Emanuele
I tried to make it work, doing a Ubuntu ISO chroot (I used Cubic software), I saw the part where the Btrfs subvolts are created and tried to modify them, obviously not having the skills in an advanced way, I'm not managed to make it work. I ran it manually after installation: mount -t btrfs -o

[Kernel-packages] [Bug 1818811] Re: The swapfile on the Btrfs file system is not activated

2019-12-14 Thread Emanuele
Hello. Are there any news? Will it be correct for the 20.04 LTS release? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1818811 Title: The swapfile on the Btrfs file system is not

[Kernel-packages] [Bug 1818811] Re: The swapfile on the Btrfs file system is not activated

2019-04-01 Thread Emanuele
Now it works, swapfile will activate and work. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1818811 Title: The swapfile on the Btrfs file system is not activated Status in linux

[Kernel-packages] [Bug 1818811] Re: The swapfile on the Btrfs file system is not activated

2019-03-31 Thread Kai-Heng Feng
So the swapfile needs to be NOCOW before allocation [1]: # truncate -s 0 /swapfile # chattr +C /swapfile # fallocate -l 512M /swapfile We should make the installer use these steps instead. [1] https://wiki.archlinux.org/index.php/Swap#Swap_file_creation ** Also affects: ubiquity (Ubuntu)

[Kernel-packages] [Bug 1818811] Re: The swapfile on the Btrfs file system is not activated

2019-03-29 Thread Emanuele
I don't know if it's useful, but I paste my "/etc/fstab" configuration $ cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if

[Kernel-packages] [Bug 1818811] Re: The swapfile on the Btrfs file system is not activated

2019-03-29 Thread Emanuele
Unfortunately it doesn't help. mar 29 12:01:18 notebook-Lenovo-V110 sudo[11977]:emanu : TTY=pts/1 ; PWD=/home/emanu ; USER=root ; COMMAND=/usr/bin/chattr +C /swapfile mar 29 12:02:20 notebook-Lenovo-V110 kernel: BTRFS warning (device sda1): swapfile must not be copy-on-write

[Kernel-packages] [Bug 1818811] Re: The swapfile on the Btrfs file system is not activated

2019-03-28 Thread Kai-Heng Feng
Does "sudo chattr +C /swapfile" help? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1818811 Title: The swapfile on the Btrfs file system is not activated Status in linux package in

[Kernel-packages] [Bug 1818811] Re: The swapfile on the Btrfs file system is not activated

2019-03-06 Thread Emanuele
I forgot to mention that the swapfile was created during the installation of Ubuntu 19.04, not selecting any swap partition, knowing that the swapfile would be activated and that the support would be shortly arrived for the swapfile, on the 5. * kernel -- You received this bug notification