No space left on device
I have a Dell Server with 3 x 73GB SCSI drives configured as RAID 5 by Dell. I'm running a mail server with very weird things happening that seem to indicate a full disk. I tried to mkdir at the root and got a "No space left on device" error. I'm a total linux noob, so any instructions should be very basic.
df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 4.0G 4.0G 0 100% / /dev/sda3 190M 28M 153M 16% /boot none 1014M 0 1014M 0% /dev/shm /dev/mapper/VolGroup00-LogVol05 4.0G 201M 3.6G 6% /home /dev/mapper/VolGroup00-LogVol03 4.0G 41M 3.7G 2% /tmp /dev/mapper/VolGroup00-LogVol02 7.9G 2.8G 4.7G 38% /usr /dev/mapper/VolGroup00-LogVol04 4.0G 1.2G 2.7G 31% /var df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/mapper/VolGroup00-LogVol00 524288 37979 486309 8% / /dev/sda3 50400 56 50344 1% /boot none 223839 1 223838 1% /dev/shm /dev/mapper/VolGroup00-LogVol05 524288 431 523857 1% /home /dev/mapper/VolGroup00-LogVol03 524288 100 524188 1% /tmp /dev/mapper/VolGroup00-LogVol02 1048576 143313 905263 14% /usr /dev/mapper/VolGroup00-LogVol04 524288 4025 520263 1% /var |
There is at least one partition which ran out of space:
Code:
/dev/mapper/VolGroup00-LogVol00 To see which directories take up that space, go to the root directory of that partition and say: Code:
du -h | grep ^[0-9][0-9]*M jlinkels |
What about directories (maybe even files) over a Gig ???
Might do the job well enough in this case, given the root is only 4Gig. I don't use the -h as it messes up sort (try it with K and M and maybe G in the same list). I just use a simple Code:
du -x / | sort -nr | less |
All times are GMT -5. The time now is 06:52 AM. |