Skip to contentSkip to conversation

swapon: swap partition/volume size capped at 32G?

problem? Raymond Jennings 1 participant 2 messages Jul 3, 2013 – Jul 4, 2013

lore
Share & tools
lore
#0 lore raw

Ok, so I just upgraded to 3.10.0 (gentoo system) and made a nice big 64GiB swap volume on lvm as usual.

Suddenly, swapon doesn't recognize more than 32GiB, as top lists only that much swap space.

swapon using *two* separate 32GiB partitions works fine, but for some reason a swap partition bigger than 32GiB isn't fully recognized.

Previous kernel versions IIRC recognized the entire swap partition.

Is something wrong or is this new behavior standard?

#1 lore raw
Quoted 6 lines · Raymond Jennings

Ok, so I just upgraded to 3.10.0 (gentoo system) and made a nice big 64GiB swap volume on lvm as usual.

Suddenly, swapon doesn't recognize more than 32GiB, as top lists only that much swap space.

Quoted 7 lines

swapon using *two* separate 32GiB partitions works fine, but for some reason a swap partition bigger than 32GiB isn't fully recognized.

Previous kernel versions IIRC recognized the entire swap partition.

Is something wrong or is this new behavior standard?

Hold on a minute, I just found out something ate my kernel config and turned off PAE when I upgraded.

This in turn shrunk my pte's from 64 bits to 32 bits and is probably what killed >32G swap extents.