Feature changed by: Philippe Baril Lecavalier (p_barill) Feature #312339, revision 8 Title: YaST should warn during install if swap partition is too small for suspending openSUSE Distribution: New Priority Requester: Important Requested by: Andreas Jaeger (a_jaeger) Partner organization: openSUSE.org Description: I made the mistake and installed just 2 GB swap on a laptop with 4 GB ram. I just forgot to think about suspending the computer will need an suitable swap partition. Now it's sometimes working an sometimes not... It would be nice and helpful if YaST would warn the user about that problem during the install process. Relations: - bugreport (novell/bugzilla/id: 675394) https://bugzilla.novell.com/show_bug.cgi?id=675394 Discussion: #1: Robert Davies (robopensuse) (2011-05-29 01:49:04) Why not just add a swap file or additional swap partition for reliable suspend post-install now you're done? If you're over-riding default recommendations, the sane presumption is that you know what you're doing. If this small swap was suggested to you by YaST then, I think that's a bug. At times for example, I've installed on tight RAM machines, with swap on a small USB stick, if YaST were to nag about every potential issue, over-riding the defaults would result in many annoying warnings that slow install down unecessarily. #2: Holger Macht (hmacht) (2012-06-05 11:17:25) Picking up the "add a swap file idea", I think the most sane solution without involving manual user action would be to just create a swap file if an existing one is too small. This could be handled by the pm- utils/suspend infrastructure. This would also eliminate the use case where systems don't have a swap partition at all, which seems to be more and more common due to large RAM these days. #3: Frederic Crozat (fcrozat) (2012-06-05 11:21:30) (reply to #2) not really possible if used by btrfs, since swap on file isn't supported by btrfs + #4: Philippe Baril Lecavalier (p_barill) (2012-07-30 04:58:59) + Speaking of large RAM, if you got 8GB+ RAM, the installer would then + tell you that you need a swap even bigger than this. Wasteful for + anyone with no intention of hibernating. Again, if you got this + partition scheme from "expert custom partitioning" option, I think you + get a warning just for selecting custom partitioning. I think that too + many warnings would need to be implemented for non-experts venturing in + expert mode to make it completely fail-safe. -- openSUSE Feature: https://features.opensuse.org/312339