You are not logged in.
Pages: 1
I am trying to allow suspend-to-disk in my system. The wiki article is very large and I am afraid a little confusing, this is what I did:
Added a swap partition:
% free -hm
total used free shared buffers cached
Mem: 7.7G 2.4G 5.3G 0B 848K 300M
-/+ buffers/cache: 2.1G 5.6G
Swap: 8.0G 0B 8.0GAdded the kernel line resume=UUID=bla bla, this is the kernel line:
options "ro quiet zfs=maindisk resume=UUID=5ef96311-54c3-45b7-a8d9-1cf2482d0ff3 security=tomoyo TOMOYO_trigger=/sbin/init"Added the resume hook to mkinitcpio and the remade the image. This is now the line:
HOOKS="base udev autodetect modconf block resume zfs filesystems keyboard fsck"I reboot and the system starts normally; but when I try to use the xfce's hibernate command the computer hangs. It does not halt as the keyboard still glows, but the screen is black and there is no reaction pressing keys.
What can I try? Any insight?
Offline
The screen go black, in few seconds it returns, and the system becomes unresponsive. Is that possible that zfs volumes do not work well as swap after all?
Last edited by ezzetabi (2013-08-29 16:07:11)
Offline
The screen go black, in few seconds it returns, and the system becomes unresponsive. Is that possible that zfs volumes do not work well as swap after all?
Why are you not using a swap partition for this? It is tried, tested and works most of the time.
EDIT: Here is an article on ZFS AND SWAP VOLUMES
EDIT2: This should make for interesting guidelines as to why one shouldn't use ZFS swap volumes (Yes, it's the BSD forums, but it's a link) http://forums.freebsd.org/showthread.php?t=30298
Last edited by clfarron4 (2013-08-29 18:41:31)
Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository
Offline
Thanks for the help, but your first link is exactly how I made the swap in my system (and even if it has been quite improved I am the original author of that section of the wiki...); but I guess a real partition was a good idea.
Offline
Pages: 1