User Tools

Site Tools


disk:error_no_space_left_on_device

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
disk:error_no_space_left_on_device [2016/12/07 16:28] peterdisk:error_no_space_left_on_device [2019/11/26 18:23] (current) – removed peter
Line 1: Line 1:
-====== Disk - Error No space left on device ====== 
  
-If an error message is received informing **No space left on device**. 
- 
-<code> 
-mkdir: cannot create directory `folder’: No space left on device 
-</code> 
- 
-To clean the disk, one suggestion is to hunt for big files. 
- 
-This command searches for files larger than 50 MB under your current directory: 
- 
-<code> 
-find . -type f -size +50000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }' 
-</code> 
- 
- 
-Check at least under the following directories: 
- 
-<code> 
-/root/ 
-/home/ 
-/opt/ 
-/tmp/ 
-</code> 
- 
-<WRAP tip> 
-If you see a lots of temporary files under /tmp/, it is time to check how often the system cleans this folder.  Usually the directory is cleared by default at every boot.  If you don't reboot that often, change the value of TMPTIME in /etc/default/rcS.  The default value is 0, meaning only at reboot.  Use 7 if you, for example, want the system to delete temp files once they turn one week old. 
-</WRAP> 
disk/error_no_space_left_on_device.1481128092.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki