No Space Left On Device Error (Linux) - xvda1 is 100% full, What is it? how to fix?
--
FILE SIZE COMMANDS --
--
SOLUTION --
--
TELEGRAPH --
Use
You are on a Xen VPS(or virtual machine); xvd* are simply the Xen disk storage devices (Xen Virtual block
Device). They appear instead of sda, etc. when you are using the more efficient paravirtualized Xen disk
drivers instead of straight-up SCSI disk emulation. If you list the installed modules (drivers) on a Xen
HVM, this driver will show as blkfront (or xen_blk if you are running on a very old Xen version--pretty
rare).
How to View Free Disk Space and Disk Usage From the Linux Terminal
- $ df
- $ df -BM (K, M, G, T, P, E, Z or Y - Block sizes )
- $ df -h (Human readable)
Find Which File cause this size issue
- $ df -h - (filesystem with sapce used and avilable)
- $ sudo du -shx /* | sort -h (to find which file is large)
- $ sudo du -shx /usr/* | sort -h
Delete Log files
- sudo -i
- echo "" > /var/log/kern.log
- echo "" > /var/log/syslog
- echo "" > /var/log/debug
- service syslog restart
- journalctl --vacuum-size=50M