*.tar.gz 18G,可用硬盘34G,我用tar zxf *.tar.gz
后,硬盘不够,有没有什么方法解决。
曾经蜡笔没有小新2017-04-24 16:01:28
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
伊谢尔伦2017-04-24 16:01:28
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.
習慣沉默2017-04-24 16:01:28
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.