Welcome to... ... the GNU Hurd!
<lifeng> I allocated a 5GB partition as swap, but hurd only found 1GB <youpi> use 2GiB swaps only, >2Gib are not supported <youpi> (and apparently it just truncates the size, to be investigated)