Try checking with `swapon`, I guess the 4G zram swap makes the difference. Sreyan Chakravarty <sreyan32@xxxxxxxxx> 于2020年12月4日周五 下午5:45写道: > > Hi, > > Migrated to BTRFS on Fedora 33. > > How do I get hibernate to work with swap files ? > > I did: > touch /fedora.swap > chattr +C /fedora.swap > dd if=/dev/zero of=/fedora.swap bs=1M count=14336 status=progress > chmod 600 /fedora.swap > mkswap /fedora.swap > > /etc/fstab entry: > > /fedora.swap none swap defaults 0 2 > > swap is mounted but is behaving weirdly since I have more swap than I actually allocated: > > total used free shared buff/cache available > Mem: 7.7Gi 1.5Gi 4.2Gi 407Mi 2.0Gi 5.6Gi > Swap: 17Gi 0B 17Gi > > Don't have any idea where 17 GiB is coming from. > > Using the --giga option I get: > > total used free shared buff/cache available > Mem: 8 1 4 0 2 5 > Swap: 19 0 19 > > I have no idea what is happening. > > What is going on? > -- > Regards, > Sreyan Chakravarty > _______________________________________________ > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx