Why does /proc/swaps show incorrect value of size if swap is greater than 4TiB?
Issue
- Why does /proc/swaps show incorrect value of size if swap is greater than 4TiB?
# free
total used free shared buff/cache available
Mem: 65550584 4263592 60050176 21484 1236816 60721832
Swap: 4294971388 0 4294971388
# cat /proc/swaps
Filename Type Size Used Priority
/dev/dm-1 partition 4092 0 -2
Environment
- Any RHEL release.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.