Results 1 to 10 of 10

Thread: Which partition is used for hibernate in 11.4?

  1. #1
    Join Date
    May 2011
    Location
    BMore City
    Posts
    36

    Default Which partition is used for hibernate in 11.4?

    I've checked absolutely every .conf file listed in pm-utils & suspend packages. They don't appear to be used. I just want to check that s2disk on 11.4 isn't trying to use the swap partition. If it is, I need to make it larger. If not, I would like to try to force it onto the root partition.

  2. #2
    Join Date
    May 2011
    Location
    BMore City
    Posts
    36

    Default Re: Which partition is used for hibernate in 11.4?

    After further research, it appears to be controlled by /boot/grub/menu.lst The resume=/dev/sda3 (in my case) tells me that it's using the swap partition. If that's wrong, give me a holler.

  3. #3
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,671
    Blog Entries
    3

    Default Re: Which partition is used for hibernate in 11.4?

    I am pretty sure that is correct. The hibernate data is saved to swap, and resume recovers it before "swapon" on the next boot. So yes, if you plan to rely on hibernation, you will need swap to be large enough.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  4. #4
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Which partition is used for hibernate in 11.4?

    On 05/29/2011 10:06 PM, nrickert wrote:
    >
    > you will need swap to be large enough.


    and, i believe the current thinking is that you need to have something
    like a "little" more than half the installed RAM....now, you probably
    remember the (windows? and OS/2?) old rule of thumb was to have about
    twice as much swap space as you had RAM (iirc)..

    but folks with (say) 10GB RAM do not need 20GB of swap, instead they
    need (say) 6GB if they plan to hibernate....because it is compacted as
    it goes into swap..

    --
    dd CAVEAT: http://is.gd/bpoMD
    [NNTP via openSUSE 11.4 [2.6.37.6-0.5] + KDE 4.6.0 + Thunderbird 3.1.10]
    Dual booting with Sluggish Loser7 on Acer Aspire One D255

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Which partition is used for hibernate in 11.4?

    On 2011-05-29 22:32, DenverD wrote:

    > but folks with (say) 10GB RAM do not need 20GB of swap, instead they need
    > (say) 6GB if they plan to hibernate....because it is compacted as it goes
    > into swap..


    I'd put at least 12 GiB to be safe :-)

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Which partition is used for hibernate in 11.4?

    On 2011-05-29 20:06, X61 usr wrote:
    >
    > I've checked absolutely every .conf file listed in pm-utils & suspend
    > packages.


    menu.lst

    > They don't appear to be used. I just want to check that
    > s2disk on 11.4 isn't trying to use the swap partition.


    Of course it is.

    > If it is, I need
    > to make it larger. If not, I would like to try to force it onto the
    > root partition.


    No way.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  7. #7
    Join Date
    May 2011
    Location
    BMore City
    Posts
    36

    Default Re: Which partition is used for hibernate in 11.4?

    I wish I had 10GB of ram. I'm going to (God help me) add, delete, shrink & move partitions to get a little more swap space and to recover some /usr space from my / partition (which is why I wanted to force things on to /). Shouldn't be a problem.

  8. #8
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Which partition is used for hibernate in 11.4?

    On 05/30/2011 03:50 AM, Carlos E. R. wrote:

    > I'd put at least 12 GiB to be safe :-)



    ok, teach me, please

    (by the way, my swap is double my ram--hard drive space is cheap)

    --
    dd CAVEAT: http://is.gd/bpoMD
    [NNTP via openSUSE 11.4 [2.6.37.6-0.5] + KDE 4.6.0 + Thunderbird 3.1.10]
    Dual booting with Sluggish Loser7 on Acer Aspire One D255

  9. #9
    Join Date
    May 2011
    Location
    BMore City
    Posts
    36

    Default Re: Which partition is used for hibernate in 11.4?

    Let's not start a swap religious war here.

    The rule used to be 2x swap over ram. I used to set it up that way on shared systems. But this is my laptop, so, I'll just have to remember not to fill my swap space then try to hibernate. My initial testing w/ 11.4 let me hibernate w/ 0.5x swap to ram, but, I'm going to increase this to equal swap to ram just to be safe.

    Also, I have too much wasted space on one of my partitions which I'm going to recover by splitting the / partition into / and swap. But thanks for the advice.

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Which partition is used for hibernate in 11.4?

    On 2011-05-30 09:18, DenverD wrote:
    > On 05/30/2011 03:50 AM, Carlos E. R. wrote:
    >
    >> I'd put at least 12 GiB to be safe :-)

    >
    >
    > ok, teach me, please


    Memory can be compressed when swapping, true, but I don't trust that to
    work always. I don't think it is possible to guarantee a compression ratio,
    so to be safe, at least as much as ram. And a bit more just in case some
    swap was already used.

    There is no exact rule, just some rule of (thick) thumb :-)


    > (by the way, my swap is double my ram--hard drive space is cheap)


    Ha, the double-the-ram rule was a windows rule :-P

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •