ubuntu – / tmp只安装1MB空间,100%使用,作为文件系统“溢出”

前端之家收集整理的这篇文章主要介绍了ubuntu – / tmp只安装1MB空间,100%使用,作为文件系统“溢出”前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
由于某种原因,我/ tmp据说是100%使用.
root$df 
Filesystem         1K-blocks        Used  Available Use% Mounted on
overflow                1024        1024          0 100% /tmp
... other stuff ...

输出运行df -h

$df -h
Filesystem        Size  Used Avail Use% Mounted on
/dev/sda1         102G   72G   25G  75% /
none              4.0K     0  4.0K   0% /sys/fs/cgroup
udev              7.8G  4.0K  7.8G   1% /dev
tmpfs             1.6G  844K  1.6G   1% /run
none              5.0M     0  5.0M   0% /run/lock
none              7.8G  240K  7.8G   1% /run/shm
none              100M   16K  100M   1% /run/user
overflow          1.0M  1.0M     0 100% /tmp

有没有办法安全地删除/ tmp中的未使用的东西?

谢谢

这是奇怪的,你应该有一个分区名称,如“/ dev / sda4”,而不是在/ tmp相关联的df输出的第一列中的“overflow”,或者根本没有任何条目….我从未见过这个“溢出”之前.

谷歌“文件系统溢出tmp”发现了一堆类似的情况.

第一个链接http://jarrodoverson.com/blog/overflow-filesystem-in-linux/

If your “/tmp” mount on a linux filesystem is mounted as overflow
(often sized at 1MB),this is likely due to you not specifying “/tmp”
as its own partition and your root filesystem filled up and “/tmp” was
remounted as a fallback. To fix this after you’ve cleared space,just
unmount the fallback and it should remount at its original point:

sudo umount overflow

原文链接:https://www.f2er.com/ubuntu/347240.html

猜你在找的Ubuntu相关文章