Hi,
I have created my swap file using the command:
dd if=/dev/zero of=/fedora.swap bs=1M count=12288 status=progress
So this should produce a 12 GB file right ?
I can confirm it does:
$ ls -lh /fedora.swap
-rw-------. 1 root root 12G Nov 27 20:23 /fedora.swap
So why is the swap memory in my system reported as 11 GB by the free
command ?
$ free -h
total used free shared
buff/cache available
Mem: 7.7Gi 1.4Gi 4.5Gi 394Mi 1.8Gi
5.6Gi
Swap: 11Gi 0B 11Gi
Why is it 11 GB ? Shouldn't it be 12 GB ?
Am I missing something?
What is the reason for this?
--
Regards,
Sreyan Chakravarty