Re: Hibernate: not enough swap space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 22, 2012 at 7:41 AM, Geoffrey Leach <geoff@xxxxxxxxxx> wrote:
> On 02/22/2012 01:36:32 AM, T.C. Hollingsworth wrote:
>> On Wed, Feb 22, 2012 at 2:22 AM, Tim <ignored_mailbox@xxxxxxxxxxxx>
>> wrote:
>> > On Tue, 2012-02-21 at 21:33 -0800, Geoffrey Leach wrote:
>> >> This is a fresh install of Fedora 16 on a new laptop with 8GB
>> memory.
>> >> When I attempt to hibernate from the Session Menu I get a popup
>> with
>> >> the message:
>> >>
>> >> 10      484GB   493GB   9437MB  logical   linux-swap(v1)
>> >>
>> >> As you can see, I've allocated 9GB for swap.
>> >>
>> >> Any suggestions?
>> >
>> > Not willing to do the math at the moment, but is it a rounding
>> issue?
>> > Are memory stick gigabytes the same as disk gigabytes?  Is your
>> swap
>> > space sufficiently large enough to avoid the difference?  (I recall
>> > reading it needed to be at least as large as your RAM, but not how
>> much
>> > more would be a good idea.)
>> --
>> > Is your swap space active and is the kernel
>> > set to use it?
>>
>> `cat /proc/swaps` to check this.  IIRC one of my boxes didn't enable
>> swap till I fiddled with it a bit a few months ago (albeit w/F15).
>> Maybe the same thing happened to you.
>
> Hmmmm ... this doesn't look good ....
>
> root@puget[2]->cat /proc/swaps
> Filename                                Type            Size    Used
> Priority
> root@puget[3]
>
> Do you recall the nature of the "fiddling" ?

`swapon /dev/sda10` will fix the problem immediately, but that won't
survive a reboot.

Likely something is wrong with the fstab entry for it.  It should look like:
/dev/sda10    swap    swap    defaults    0 0

(The device might be different; can't remember if swap devices have
UUIDs or not.  I've been using LVM2 for ages now.)

Failing that, what does `systemctl show swap.target` say?

-T.C.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux