User Tools

Site Tools


ubuntu:disk:error_no_space_left_on_device

Differences

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

Link to this comparison view

Next revision
Previous revision
ubuntu:disk:error_no_space_left_on_device [2019/11/26 18:23] – created peterubuntu:disk:error_no_space_left_on_device [2020/07/15 09:30] (current) – external edit 127.0.0.1
Line 3: Line 3:
 If an error message is received informing **No space left on device**. If an error message is received informing **No space left on device**.
  
-<code>+<code bash>
 mkdir: cannot create directory `folder’: No space left on device mkdir: cannot create directory `folder’: No space left on device
 </code> </code>
Line 11: Line 11:
 This command searches for files larger than 50 MB under your current directory: This command searches for files larger than 50 MB under your current directory:
  
-<code>+<code bash>
 find . -type f -size +50000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }' find . -type f -size +50000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
 </code> </code>
Line 18: Line 18:
 Check at least under the following directories: Check at least under the following directories:
  
-<code>+<code bash>
 /root/ /root/
 /home/ /home/
Line 26: Line 26:
  
 <WRAP tip> <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.+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> </WRAP>
ubuntu/disk/error_no_space_left_on_device.1574792606.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki