当前位置:网站首页>“date: write error: No space left on device”解决
“date: write error: No space left on device”解决
2022-07-27 01:05:00 【乐大师】
今天在一台服务器上做文件方面的操作。
突然提示“date: write error: No space left on device”
本来心情极佳,迎头来了一闷棍。
缓了10秒,开始捉摸这是个啥问题。
从提示上看到是写入错误,给出的提示是No space,没有空间。
这服务器上硬盘有多块。输入入如下命令查下:
df -h

输出结果发现是系统盘空间用尽了。
按照经验,先看了看看/var和/tmp两个目录。这两个最容易出问题,短时间内占用大量空间。
结果这次居然不是。
还是老老实实都查一下吧,输入如下命令:
du -h --max-depth=1
结果发现是/home/下面占用了30多G。
再进入/home/下检查,是一个用户目录内文件超大。本来这些文件应该在另一个目录生成的,不知为何在这里生成了。将文件删除,修改生成文件脚本,重新生成文件,这次正确了。
边栏推荐
- day6
- 商城小程序项目完整源码(微信小程序)
- 196. Delete duplicate email addresses
- Single case mode (double check lock)
- 2649: 段位计算
- Integrated water conservancy video monitoring station telemetry terminal video image water level water quality water quantity flow velocity monitoring
- CAS deployment and successful login jump address
- Bulk copy baby upload prompt garbled, how to solve?
- {“errcode“:44001,“errmsg“:“empty media data, hint: [1655962096234893527769663], from ip: 222.72.xxx.
- 智能指针shared_ptr、unique_ptr、weak_ptr
猜你喜欢

易灵思T35 FPGA驱动LVDS显示屏

浅浅梳理一下双轴快排(DualPivotQuickSort)

一道数学题,让芯片巨头亏了5亿美金!

商城小程序项目完整源码(微信小程序)

制作ppt时间轴

Worth more than 100 million! The 86 version of "red boy" refuses to be a Daocheng Xueba. He is already a doctor of the Chinese Academy of Sciences and has 52 companies under his name

单例模式(双检锁)

Ten thousand words long text, take you to understand the kubernetes network model

使用 WebSocket 实现一个网页版的聊天室(摸鱼更隐蔽)

Favicon web page collection icon online production PHP website source code /ico image online generation / support multiple image format conversion
随机推荐
177. 第N高的薪水(简单)
杀毒软件 clamav 的安装和使用
Time module: acquisition and mutual transformation of timestamp, structured time and formatted time
关于url编解码应该选用的函数
浅浅梳理一下双轴快排(DualPivotQuickSort)
175. 组合两个表(非常简单)
一体式水利视频监控站 遥测终端视频图像水位水质水量流速监测
Go to export excel form
Worth more than 100 million! The 86 version of "red boy" refuses to be a Daocheng Xueba. He is already a doctor of the Chinese Academy of Sciences and has 52 companies under his name
仿知乎论坛社区社交微信小程序
制作ppt时间轴
Debezium series: pull historical data based on debezium offset to ensure that data is not lost
[二分查找中等题] LeetCode 34. 在排序数组中查找元素的第一个和最后一个位置
My crawler notes (VII) blog traffic +1 through Crawlers
ZJCTF_login
Use the most primitive method to manually implement the common 20 array methods
localStorage与sessionStorage
八皇后编程实现
周全的照护 解析LYRIQ锐歌电池安全设计
2513: Xiao Yong's academic score (common divisor problem)