cubietruck刷新系统后提示No space left on device
本帖最后由 kevinl 于 2015-4-15 12:07 编辑大概是出现在装完lubuntu之后,安装一些附加软件时出现的,比如一些Python依赖库。
但是nand根本没有满...
root@cubietruck:~# df -m
Filesystem 1M-blocksUsed Available Use% Mounted on
/dev/root 7057 914 584814% /
devtmpfs 889 1 889 1% /dev
none 1 0 1 0% /sys/fs/cgroup
tmpfs 20 2 1910% /tmp
none 197 1 197 1% /run
none 5 0 5 0% /run/lock
none 985 0 985 0% /run/shm
none 100 0 100 0% /run/user
而且INode也没满:
root@cubietruck:~# df -i
Filesystem Inodes IUsedIFree IUse% Mounted on
/dev/root 455168 35581 419587 8% /
devtmpfs 124984 362 124622 1% /dev
none 174192 2 174190 1% /sys/fs/cgroup
tmpfs 174192 23 174169 1% /tmp
none 174192 266 173926 1% /run
none 174192 3 174189 1% /run/lock
none 174192 1 174191 1% /run/shm
none 174192 3 174189 1% /run/user这个具体是什么原因?如何解决?看了一下尝试resizefs也不成功:
root@cubietruck:~# resize2fs /dev/root
resize2fs 1.42.9 (4-Feb-2014)
open: No such file or directory while opening /dev/root
root@cubietruck:~# resize2fs /dev/nand
resize2fs 1.42.9 (4-Feb-2014)
resize2fs: Device or resource busy while trying to open /dev/nand
Couldn't find valid filesystem superblock.
root@cubietruck:~# resize2fs /dev/nanda
resize2fs 1.42.9 (4-Feb-2014)
resize2fs: Bad magic number in super-block while trying to open /dev/nanda
Couldn't find valid filesystem superblock.
root@cubietruck:~# resize2fs /dev/nandb
resize2fs 1.42.9 (4-Feb-2014)
The filesystem is already 1835008 blocks long.Nothing to do!
root@cubietruck:~# resize2fs /dev/nandc
resize2fs 1.42.9 (4-Feb-2014)
resize2fs: Bad magic number in super-block while trying to open /dev/nandc
Couldn't find valid filesystem superblock.
root@cubietruck:~# resize2fs /dev/nandd
resize2fs 1.42.9 (4-Feb-2014)
open: No such file or directory while opening /dev/nandd
跟了一下终于发现是哪个问题了,关键问题是tmp分区太小(20M),一些往tmp分区里写大量内容的操作会报错误。
修改下/etc/fstab文件中的20M成更大的值就好了
页:
[1]