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

Wed Mar 14 23:28:40 UTC 2007
Leonardo Vilela Pinheiro <leopinheiro at gmail.com>

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


Please help.

Thanks
Leonardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20070314/9092e1f9/attachment-0004.html>