On 13/11/2020 18:27, Ed Greshko wrote:
On 13/11/2020 18:18, Sreyan Chakravarty wrote:
On Fri, Nov 13, 2020 at 12:31 PM Samuel Sieb <samuel@xxxxxxxx <mailto:samuel@xxxxxxxx>> wrote:
What do "ls -lh /fedora.swap", "du -h /fedora.swap", and "blkid
/fedora.swap" show?
This is the requested data:
$ ls -lh /fedora.swap
-rw-------. 1 root root 8.0G Nov 13 15:36 /fedora.swap
$ du -h /fedora.swap
8.1G /fedora.swap
$ blkid /fedora.swap
(No Output)
Didn't you have a similar problem a while ago or was that someone else?
I had the same problem with the 5.7 kernel, and my solution was to use the 5.6 kernel.
There was some kernel change that might require you to recreate the swap
file.
I have created the swap but they still get the same error.
Nov 13 15:39:33 localhost.HPNotebook kernel: swapon: swapfile has holes
Anything else I can do ?
Looking at https://bbs.archlinux.org/viewtopic.php?id=256614 and the URL's contained within
it seems doing a
dd if=/dev/zero of=/fedora.swap bs=1M count=2048 status=progress
may cure the w(hole) issue. :-)
Sorry, the count above was for a 2GB swap file. Increase it to cover your 8GB file.
---
The key to getting good answers is to ask good questions.
_______________________________________________
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