General partitions will have 5% of pre-reserved space when creating a file system. You can try to adjust it to 1% or other. tune2fs -m 1 /dev/sdxx
sdxx: Your partition 1: Reserve 1%
If the memory is large enough, you can decompress it to /run/shm This directory is usually half the size of the memory
The other way is to decompress to other large partitions
The problem of storage space can only be solved by increasing the storage space. Either add space, or delete some unnecessary files to free up some space.
If conditions permit, you can temporarily alleviate the problem by connecting an external hard disk/U disk, or you can use NFS to make a partition using the storage space on another server.
Note, if you choose tune2fs or other ways to reduce swap (not very recommended), be sure to back up important files/data before doing it to avoid mistakes.
General partitions will have 5% of pre-reserved space when creating a file system. You can try to adjust it to 1% or other.
tune2fs -m 1 /dev/sdxx
sdxx: Your partition 1: Reserve 1%
If the memory is large enough, you can decompress it to
/run/shm
This directory is usually half the size of the memoryThe other way is to decompress to other large partitions
It should be that the partition space is insufficient. Delete useless files to free up space, or extract to a partition/device with enough space.
The problem of storage space can only be solved by increasing the storage space. Either add space, or delete some unnecessary files to free up some space.
If conditions permit, you can temporarily alleviate the problem by connecting an external hard disk/U disk, or you can use NFS to make a partition using the storage space on another server.
Note, if you choose tune2fs or other ways to reduce swap (not very recommended), be sure to back up important files/data before doing it to avoid mistakes.