[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2020-11-16 Thread Peter Passchier
Is there any hope that a swap on zvol with sync=standard at least doesn't hang/deadlock? Like: zfs create rpool/swap -V 2G -b $(getconf PAGESIZE) -o logbias=throughput -o sync=always -o primarycache=metadata -o secondarycache=none In my testing this didn't hang when swap got hit. -- You

[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2020-03-10 Thread Colin Ian King
** Changed in: zfs-linux (Ubuntu) Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1847628 Title: When using swap in ZFS, system stops when you start using swap To

[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2020-02-08 Thread Bug Watch Updater
** Changed in: zfs Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1847628 Title: When using swap in ZFS, system stops when you start using swap To manage notifications

[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2019-12-07 Thread Jean-Baptiste Lallement
Yes this is confirmed, there is currently no way to use swap on zvol without a deadlock. The only solution at the moment is to create a swap partition. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2019-12-07 Thread hackel
@jibel unfortunately that doesn't help, still stalling when writing to swap, even without compression. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1847628 Title: When using swap in ZFS, system

[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2019-11-07 Thread Jean-Baptiste Lallement
upstream proposal is to force everything through ZIL by creating the swap like this: zfs create -o sync=always -o primarycache=metadata -o secondarycache=none -o logbias=throughput -b 4K -V 8G rpool/swap I'll test with our setup on Ubuntu. ** Changed in: zfs-linux (Ubuntu) Assignee:

[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2019-10-28 Thread Jean-Baptiste Lallement
** Changed in: zfs-linux (Ubuntu) Importance: Undecided => Critical ** Tags removed: rls-ee-incoming ** Tags added: rls-ff-incoming ** Changed in: zfs-linux (Ubuntu) Importance: Critical => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2019-10-16 Thread Launchpad Bug Tracker
This bug was fixed in the package ubiquity - 19.10.21 --- ubiquity (19.10.21) eoan; urgency=medium [ Dimitri John Ledkov ] * scripts/plugininstall.py: skip installing extras with multiarch dependencies in the first pass. [ Mathieu Trudel-Lapierre ] * Updated translations

[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2019-10-16 Thread Brian Murray
** Changed in: ubuntu-release-notes Status: New => Fix Released ** Changed in: ubiquity (Ubuntu) Status: Incomplete => Triaged ** Changed in: zfs-linux (Ubuntu) Status: Incomplete => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2019-10-15 Thread Michael Ralston
> Or are you saying, that zfs zvol swap shouldn't be created either, > since that is known to cause lockups? That is correct. As per the thread at the attached github zfsonlinux bug report, zfs zvol swap causes system freezes for minutes at a time, and under enough memory pressure will lock up

[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2019-10-15 Thread Richard Laager
> "com.sun:auto-snapshot=false" do we need to add that or does our zfs not support it? You do not need that. That is used by some snapshot tools, but Ubuntu is doing its own zsys thing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2019-10-15 Thread Dimitri John Ledkov
partman-swapfile does not create swapfiles on neither btrfs nor zfs. when using desktop installer and choosing zfs a zfs zvol is created for swap. it uses all the settings seen in the guide, but the "com.sun:auto- snapshot=false" do we need to add that or does our zfs not support it? Or are you

[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2019-10-15 Thread Brian Murray
** Also affects: ubuntu-release-notes Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1847628 Title: When using swap in ZFS, system stops when you start

[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2019-10-15 Thread Jean-Baptiste Lallement
** Bug watch added: Github Issue Tracker for ZFS #7734 https://github.com/zfsonlinux/zfs/issues/7734 ** Also affects: zfs via https://github.com/zfsonlinux/zfs/issues/7734 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of

[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2019-10-15 Thread Brian Murray
** Tags added: rls-ee-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1847628 Title: When using swap in ZFS, system stops when you start using swap To manage notifications about this bug go

[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2019-10-15 Thread Colin Ian King
** Changed in: ubiquity (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1847628 Title: When using swap in ZFS, system stops when you start using swap To

[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2019-10-14 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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1847628 Title:

[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2019-10-14 Thread Richard Laager
** Also affects: ubiquity (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1847628 Title: When using swap in ZFS, system stops when you start using

[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2019-10-14 Thread Michael Ralston
Confirmed this affects me. 16gig of ram, and a swap ZVOL. When memory gets low the system freezes for several minutes. Also reported this bug here: https://bugs.launchpad.net/ubuntu/+source /zfs-linux/+bug/1848102 As I believe ubiquity shouldn't be creating a ZVOL for swap when this is a known

[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2019-10-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: zfs-linux (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1847628 Title:

[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2019-10-10 Thread Sung Jeho
I did the same test for USB flash memory and it works normally. try create a swap on zvol, it's definitely not working well.. === jehos@MacBuntu:~$ sudo fdisk -l /dev/sdc Disk /dev/sdc: 7.46 GiB, 8002732032 bytes, 15630336 sectors

[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2019-10-10 Thread Sung Jeho
@colin-king > A swapfile on ZFS is a bad idea. Swapped out pages get pushed through the vfs into zfs and each page of swap will be magnified in the number of free pages required to get this page out to disk. currently, swap uses zvol in default. not a swapfile. (actually I also thinking swapfile

[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2019-10-10 Thread Colin Ian King
https://github.com/zfsonlinux/pkg-zfs/wiki/HOWTO-use-a-zvol-as-a-swap- device ..there are known issues with swap on ZFS not working well on heavily memory loaded systems. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1847628] Re: When using swap in ZFS, system stops when you start using swap

2019-10-10 Thread Colin Ian King
A swapfile on ZFS is a bad idea. Swapped out pages get pushed through the vfs into zfs and each page of swap will be magnified in the number of free pages required to get this page out to disk. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to