2GB swap partition limit?

Émeric Maschino emeric.maschino at jouy.inra.fr
Sun Mar 5 13:39:33 UTC 2006


Thanks for your report.

I'm wondering if there's not something wrong with my LVM volume. anaconda
created a 4GB swap partition, but cat /proc/meminfo and cat /proc/swaps all
report it's in fact 2GB. Furthermore, I'm getting "Incorrect metadata area
header checksum" when my LV are mounted or when I enter lvdisplay at the lvm>
prompt.

   Émeric

> Weird,
>
> The "new swap" type (mkswap -v1, default) which came in kernel v2.2 (?)
> fixed the 2GB limit on swap space that came with the "old swap" type.
> (mkswap -v0).
>
> E.g. (my workstation; FC4/64)
> [gilboa at gilboa-home-dev ~]$ cat /proc/meminfo
> MemTotal:      2048624 kB
> MemFree:         21516 kB
> Buffers:        125596 kB
> Cached:        1029680 kB
> SwapCached:          0 kB
> Active:        1397408 kB
> Inactive:       301004 kB
> HighTotal:           0 kB
> HighFree:            0 kB
> LowTotal:      2048624 kB
> LowFree:         21516 kB
> SwapTotal:     4063224 kB
> SwapFree:      4062868 kB
> Dirty:            1360 kB
> Writeback:           0 kB
> Mapped:         721168 kB
> Slab:           230228 kB
> CommitLimit:   5087536 kB
> Committed_AS:  1664788 kB
> PageTables:      17560 kB
> VmallocTotal: 34359738367 kB
> VmallocUsed:     38064 kB
> VmallocChunk: 34359696379 kB
> HugePages_Total:     0
> HugePages_Free:      0
> Hugepagesize:     2048 kB
> [gilboa at gilboa-home-dev ~]$ cat /proc/swaps
> Filename                                Type            Size    Used
> Priority
> /dev/mapper/VolMD-LogSwap               partition       4063224 356
> -1




More information about the fedora-devel-list mailing list