How Do I Fix No Space Left on Device Linux?
Contents What Do You Do When There Is No Space Left on Your Device? No Space Left on Device Error Often Means You Are over Quota in the Directory You’re Trying...
Contents
What do you do when there is no space left on your device?
No space left on device error often means you are over quota in the directory you’re trying to create or move files to. 1. If you are trying to move a file from another location, change the group ownership of the file before moving it or use the copy command instead.
Must Read
How do I free up space on Linux?
Freeing disk space on your Linux server
- Get to the root of your machine by running cd /
- Run sudo du -h –max-depth=1.
- Note which directories are using a lot of disk space.
- cd into one of the big directories.
- Run ls -l to see which files are using a lot of space. Delete any you don’t need.
- Repeat steps 2 to 5.