Results 1 to 3 of 3

Thread: Swap Partition Reporting

  1. #1

    Default Swap Partition Reporting


    I am not sure if this is the correct forum to post my question so please correct me if I am off.
    The question stems from VMWare Workstation reporting issues with the amount of system swap space. When I look at the swap partition, it is ~12Gig in size, but top is reporting ~2Gig as well as /proc/swaps.
    Now, initially that was the size of the swap space, but I used GParted to remove an unused partition and increased the swap to 12Gig. I am guessing I did something wrong with the increasing of the swap space, but I am not sure what I need to change so the kernel sees the full space.



  2. #2

    Default Re: Swap Partition Reporting

    I guess I was able to finally get the system to see the new swap space. I had to actually delete the partition and then create a new partition. I am guess that once I created the new partition...and GUID that the new GUID somehow caused the kernel to see the whole partition.

  3. #3
    Join Date
    Aug 2010
    Chicago suburbs
    Blog Entries

    Default Re: Swap Partition Reporting

    I think if you had just run:
    sudo mkswap /dev/sdaX
    (changing "/dev/sdaX" to the appropriate device)
    that would have been sufficient. There's probably information about the size of swap in the header information that is set by "mkswap", and just resizing the partition didn't alter that. You should disable swap (with "swapoff") before that "mkswap".
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

Posting Permissions

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