Emmabuntüs Forum
Collectif pour le réemploi des ordinateurs et distribution Linux basée sur Debian

  Accueil -  Tutoriels -  Téléchargements -  Vidéos -  Interviews -  Qui sommes-nous -  Nous contacter -  Soutenir

My 4gb partition is recognized like 2gb

0 Membres et 1 Invité sur ce sujet


  • Newbie
  • *
    • Messages: 8
Thanks Patrick.  In this message, the first, I was explain my configuration.  On the other hand my computer hangs several times when it does not have the swap partition working. Now the computer not hangs but my problem is the explained here. In the last post I find that the problematic command apparently is swapon because not recognize the entire dedicated partition (4g) or the entire swap file (4g).

This image shows the data (gparted shows only 3.75g).

Good day for all:

I was installed EM DE4 (Bullseyes), initally the swap isn't mounted. I put this on fstab and recognize only 2gb from 4gb of partition. A temporal solution that I find is to create a swap file but I have 2gb of space without use.

Here are info about my system
Filename Type Size Used Priority
/dev/sda2                              partition 2097148 1721892 -2
/dev/zram0                              partition 262140 262140 100
/home/luis/swap                        file    2097148 0 -3
sda      8:0    0 232,9G  0 disk
├─sda1   8:1    0 122,5G  0 part /home
├─sda2   8:2    0   3,7G  0 part [SWAP]
├─sda3   8:3    0  27,9G  0 part /
└─sda4   8:4    0  78,7G  0 part
sr0     11:0    1  1024M  0 rom 
zram0  253:0    0   256M  0 disk [SWAP]
Now the zram don't work I see.

Somebody can help me about?

« Modifié: novembre 14, 2021, 10:52:17 pm par lusi »


  • Administrator
  • Hero Member
  • *****
    • Messages: 971
    • Emmabuntüs The distribution sleek, accessible, equitable
Sorry, but I don't have any others besides what I posted here:

I think you have two 2GB swap files and that HTOP see only one swap area because it assembles both files simply.

If you want to see if you use more than 2 GB swap open a lot of windows and applications and look in HTOP if you exceed 2 GB use swap. If so, you have more than 2 GB of swap.

Do not worry about the swap one can operate operating systems without swap, and the main thing is that the PC does not hang.


  • Newbie
  • *
    • Messages: 8
Thanks Patrick. This problem is really estrange, but I do not understand What could be the cause of this. I can see that in your systems the partition is recognized correctly. I believe that I have to live with this problem at least to when I can make a backup of all the files and format newly the disk making new partitions.

Thanks again for your support.