No space left on device errors

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

No space left on device errors

Jump to solution
4,354 Views
neo1
Contributor II

cp: writing `/mnt/rwfs/var/lib/rpm/Filemd5s': No space left on device

cp: writing `/mnt/rwfs/var/lib/rpm/Installtid': No space left on device

cp: writing `/mnt/rwfs/var/lib/rpm/Basenames': No space left on device

cp: writing `/mnt/rwfs/var/lib/rpm/Group': No space left on device

cp: writing `/mnt/rwfs/var/lib/rpm/Sha1header': No space left on device

cp: writing `/mnt/rwfs/var/lib/rpm/Triggername': No space left on device

cp: writing `/mnt/rwfs/var/lib/rpm/Packages': No space left on device

cp: writing `/mnt/rwfs/var/lib/rpm/Conflictname': No space left on device

cp: writing `/mnt/rwfs/var/lib/rpm/Providename': No space left on device

cp: writing `/mnt/rwfs/var/lib/rpm/Sigmd5': No space left on device

cp: writing `/mnt/rwfs/var/state/dhcp/dhcpd.leases': No space left on device

cp: writing `/mnt/rwfs/var/state/dhcp/dhclient.leases': No space left on device

cp: writing `/mnt/rwfs/var/www/cgi-bin/test_cgi': No space left on device

cp: writing `/mnt/rwfs/var/www/html/index.html': No space left on device

cp: writing `/mnt/rwfs/var/run/utmp': No space left on device

cp: writing `/mnt/rwfs/var/log/wtmp': No space left on device

.

.

.

rebuilding rpm database

rpmdb: write: 0xbee8f524, 8192: No space left on device

error: db4 error(28) from dbenv->open: No space left on device

error: cannot open Packages index

I get these errors in the bootup logs. My SD card has lots of free space but these messages come up everytime on boot up. Any idea why?

Im using im35 based custom board running  Linux-2.6.31

$ uname -a

Linux freescale 2.6.31-207-g7286c01-svn1013 #66 Tue May 28 10:56:29 PDT 2013 armv6l GNU/Linux

Labels (1)
Tags (1)
1 Solution
2,266 Views
neo1
Contributor II

Solution:

In /etc/rc.d/rc.conf

change the following line:

export TMPFS_SIZE="512k" to export TMPFS_SIZE="4m"

View solution in original post

2 Replies
2,266 Views
LeonardoSandova
Specialist I

Perhaps the folder /mnt/rwfs is not mounted so you get those errors. Try creating a partition on your SD and mount this folder on this new partition.

Leo

0 Kudos
Reply
2,267 Views
neo1
Contributor II

Solution:

In /etc/rc.d/rc.conf

change the following line:

export TMPFS_SIZE="512k" to export TMPFS_SIZE="4m"