10 Oct 10:59
why jffs2 complain no space left on device while there is some space left ?
huzhibin <huzhibin <at> routerd.com>
2006-10-10 08:59:47 GMT
2006-10-10 08:59:47 GMT
Hi: all i have a strange problem with the jffs2 system: when i use df to check the space: # df Filesystem 1k-blocks Used Available Use% Mounted on /dev/mtdblock2 4032 3972 60 99% / but it complain that no space left on device when i try to write on it: # echo "hi" >hi.txt cannot create hi.txt: No space left on device there is more strange that the available space is not certain when it start complaining, sometime is 98, or values less than 98. my system kernel is linux 2.4.17, filesystem is jffs2, run with 8M Flash. following is some system infomation: # cat /proc/mtd dev: size erasesize name mtd0: 00020000 00010000 "Boot loader" mtd1: 00100000 00010000 "Kernel" mtd2: 003f0000 00010000 "Root File System" mtd3: 002d0000 00010000 "Application File System" mtd4: 00002000 00002000 "Partition Table" mtd5: 00002000 00002000 "Factory default" mtd6: 00008000 00002000 "Runtime NVRAM-T" mtd7: 00008000 # mount /dev/mtdblock2 on / type jffs2 (rw)(Continue reading)
RSS Feed