On Fri, 01 May 2015 14:11:18 -0600
jd1008 <jd1...@gmail.com> wrote:

> 
> 
> On 05/01/2015 01:10 PM, Manfred Lotz wrote:
> > On Fri, 17 Apr 2015 13:55:19 -0600
> > jd1008 <jd1...@gmail.com> wrote:
> >
> >> Would appreciate some timelines on this problem.
> > I had the same problem for quite some time (don't know exactly when
> > it started).
> >
> > After some google-searching today I found an advice to add resume
> > parameter in /etc/defaults/grub.
> >
> > It should be appended in the line starting with GRUB_CMDLINE_LINUX
> >
> >
> > Here an example how it is on my system:
> >
> > GRUB_CMDLINE_LINUX="rd.md=0
> > rd.luks.uuid=luks-4561626f-0890-441b-9afb-8947e6f39b24
> > rd.lvm.lv=vg2/swap rd.dm=0 rd.lvm.lv=rootvg/root
> > $([ -x /usr/sbin/rhcrashkernel-param ]
> > && /usr/sbin/rhcrashkernel-param || :) vconsole.keymap=en-latin9
> > rhgb quiet resume=/dev/vg2/swap"
> >
> >
> > Then sudo grub2-mkconfig > /boot/grub2/grub.cfg and reboot.
> >
> > I did only 1 test but it worked whereas before it did *not* work
> > each time I tried.
> >
> >
> >
> I did add
> resume=/dev/sda4 resume=/dev/sdb4
> 

The funny thing is that for me hibernation worked for quite a long
time without resume=.


> but it did not work.
> Someone told me that if I have 2 swap devices I have
> to specify them in the correct order.
> It is not clear to me what order that is, nor
> have I seen an example where the swap space is on
> 2 devices.
> I have :
> $ swapon -s
> Filename                                Type            Size Used    
> Priority
> /dev/sda4                               partition       8388308
> 0       -1 /dev/sdb4                               partition
> 8370244 0       -2
> 
> I have 8GB RAM.
> So, when I S2D (hibernate), which swap device ends up
> being used for the full RAM image?
> One of them?
> Both of them?
> 
> If both, how do I specify that on the GRUB_CMDLINE_LINUX ?
> 

In your case the question indeed is if hibernation is supported when
having 2 swap devices.

Did hibernation work with your setup (having 2 swap devices)  at some
time in the past? If yes then we know it should be possible.


Could you try out hibernation when having one swap device only?
If this works we would know that in principal hibernation isn't broken.



-- 
Manfred




-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to