[CentOS] Re: "No space left on device" but there is space

Wed Mar 14 23:40:26 UTC 2007
Scott Silva <ssilva at sgvwater.com>

Leonardo Vilela Pinheiro spake the following on 3/14/2007 4:28 PM:
> Hi,
> 
> I've been receiving message "No space left on device" but there is
> space. I've forced fsck on reboot 2 times but did not solve.
> 
> # yum
> rpmdb: /var/lib/rpm/__db.001: No space left on device
> error: db4 error(28) from dbenv->open: No space left on device
> error: cannot open Packages index using db3 - No space left on device (28)
> error: cannot open Packages database in /var/lib/rpm
> Traceback (most recent call last):
> <...>
> 
> 
> # df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/mapper/VolGroup00-LogVol01 5.0G  3.6G  1.2G  76% /var
> /dev/mapper/VolGroup00-LogVol04 1008M  456M  501M  48% /var/log
> /dev/mapper/VolGroup00-web         4.9G  140M  4.5G   3% /var/www
> 
> # mount
> /dev/mapper/VolGroup00-LogVol01 on /var type ext3 (rw)
> /dev/mapper/VolGroup00-LogVol04 on /var/log type ext3 (rw)
> /dev/mapper/VolGroup00-web on /var/www type ext3 (rw)
> 
> # touch /var/test
> touch: cannot touch `/var/test': No space left on device
> 
> # mkdir /var/hello
> mkdir: cannot create directory `/var/hello': No space left on device
> 
Try df -i you might be out of inodes.


-- 

MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!