On December 14, 2018 3:19:33 AM UTC, Pariksheet Nanda <pariksheet.na...@gmail.com> wrote: >Thanks, Roger and Joost! > >The problem was my failed attempt at hibernation. I'm using >cryptsetup for full disk encryption and there's a limitation of not >being able to hibernate without creating a separate partition - which >I don't intend to do. >I see /dev/zvol/rpool/swap is available now after commenting out >SLEEP_MODULE="kernel" in /etc/pm/config.d/gentoo and removing >resume=/dev/zvol/rpool/swap from GRUB_CMDLINE_LINUX in >/etc/default/grub and updating grub.cfg > > >On Mon, Nov 26, 2018 at 1:04 AM Roger J. H. Welsh <rjhwe...@gmail.com> >wrote: >> >> If it exists on `zfs list`, your swap partition is in there >somewhere. >> >> Roger Welsh > >Yes, it would always show as existing with `zfs list` even when it did >not appear in /dev > > >On Sun, Nov 25, 2018 at 11:00 PM J. Roeleveld <jo...@antarean.org> >wrote: >> >> Did you enable all ZFS services into the correct runlevels? >> >> Joost > >Yes: > >$ rc-status -a | grep -e zfs -e '^[^ ]' >Runlevel: sysinit >Runlevel: boot >zfs-import [ >started ] >zfs-mount [ >started ] >Runlevel: default >zfs-zed [ >started ] >zfs-share [ >started ] >--snip-- > > >Thanks again! <3 >Pariksheet
Hibernation may work when building your own initramfs. Not sure if dracut and the likes have support for it themselves. -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.