No space left on device errors

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

No space left on device errors

跳至解决方案
4,265 次查看
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

标签 (1)
标记 (1)
1 解答
2,177 次查看
neo1
Contributor II

Solution:

In /etc/rc.d/rc.conf

change the following line:

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

在原帖中查看解决方案

2 回复数
2,177 次查看
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 项奖励
回复
2,178 次查看
neo1
Contributor II

Solution:

In /etc/rc.d/rc.conf

change the following line:

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