jffs2-No space left on device
Nethra
nethra_gmit at yahoo.co.in
Wed Mar 14 17:41:33 EST 2007
hi..
I m using custom board same as MPC8272ADS board,
linux is montavista 2.6.10
boot loader is u-boot-1.1.2.
I m getting jffs2 mounting on PQ2FADS-ZU board.
Through nfs mounting of root file system.I m trying jffs2 mounting without
any image( with empty patition).. it is giving 100% of space is used.I m
getting same output with jffs2 image also.
what is the actual problem?
Here is the output...
root at cashel:/# od -x /dev/mtd2 | less
0000000 ffff ffff ffff ffff ffff ffff ffff ffff
*
14000000
root at cashel:/# mount -t jffs2 /dev/mtdblock2 /mnt
root at cashel:/# dfErase at 0x002c0000 failed immediately: -EROFS. Is the
sector l
ocked?
Erase at 0x002a0000 failed immediately: -EROFS. Is the sector locked?
Erase at 0x00280000 failed immediately: -EROFS. Is the sector locked?
Erase at 0x00260000 failed immediately: -EROFS. Is the sector locked?
Erase at 0x00240000 failed immediately: -EROFS. Is the sector locked?
Erase at 0x00220000 failed immediately: -EROFS. Is the sector locked?
Erase at 0x00200000 failed immediately: -EROFS. Is the sector locked?
Erase at 0x001e0000 failed immediately: -EROFS. Is the sector locked?
Erase at 0x001c0000 failed immediately: -EROFS. Is the sector locked?
Erase at 0x001a0000 failed immediately: -EROFS. Is the sector locked?
Erase at 0x00180000 failed immediately: -EROFS. Is the sector locked?
Erase at 0x00160000 failed immediately: -EROFS. Is the sector locked?
Erase at 0x00140000 failed immediately: -EROFS. Is the sector locked?
Erase at 0x00120000 failed immediately: -EROFS. Is the sector locked?
Erase at 0x00100000 failed immediately: -EROFS. Is the sector locked?
Erase at 0x000e0000 failed immediately: -EROFS. Is the sector locked?
Erase at 0x000c0000 failed immediately: -EROFS. Is the sector locked?
Erase at 0x000a0000 failed immediately: -EROFS. Is the sector locked?
Erase at 0x00080000 failed immediately: -EROFS. Is the sector locked?
Erase at 0x00060000 failed immediately: -EROFS. Is the sector locked?
Erase at 0x00040000 failed immediately: -EROFS. Is the sector locked?
Erase at 0x00020000 failed immediately: -EROFS. Is the sector locked?
Erase at 0x00000000 failed immediately: -EROFS. Is the sector locked?
Erase at 0x002e0000 failed immediately: -EROFS. Is the sector locked?
root at cashel:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 74393444 60054060 10499452 86% /
/dev/root 74393444 60054060 10499452 86% /
tmpfs 6952 0 6952 0% /tmp
/dev/root 74393444 60054060 10499452 86% /dev/.static/dev
none 10240 2172 8068 22% /dev
tmpfs 6952 0 6952 0% /dev/shm
/dev/mtdblock2 3072 3072 0 100% /mnt
root at cashel:/# mount
rootfs on / type rootfs (rw)
/dev/root on / type nfs
(rw,v2,rsize=4096,wsize=4096,hard,udp,nolock,addr=192.16
8.178.110)
proc on /proc type proc (rw,nodiratime)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw)
/dev/root on /dev/.static/dev type nfs
(rw,v2,rsize=4096,wsize=4096,hard,udp,nol
ock,addr=192.168.178.110)
none on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw)
/dev/mtdblock2 on /mnt type jffs2 (rw,noatime)
root at cashel:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 74393444 60054060 10499452 86% /
/dev/root 74393444 60054060 10499452 86% /
tmpfs 6952 0 6952 0% /tmp
/dev/root 74393444 60054060 10499452 86% /dev/.static/dev
none 10240 2172 8068 22% /dev
tmpfs 6952 0 6952 0% /dev/shm
/dev/mtdblock2 3072 3072 0 100% /mnt
root at cashel:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 74393444 60054060 10499452 86% /
/dev/root 74393444 60054060 10499452 86% /
tmpfs 6952 0 6952 0% /tmp
/dev/root 74393444 60054060 10499452 86% /dev/.static/dev
none 10240 2172 8068 22% /dev
tmpfs 6952 0 6952 0% /dev/shm
/dev/mtdblock2 3072 3072 0 100% /mnt
root at cashel:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 74393444 60054060 10499452 86% /
/dev/root 74393444 60054060 10499452 86% /
tmpfs 6952 0 6952 0% /tmp
/dev/root 74393444 60054060 10499452 86% /dev/.static/dev
none 10240 2172 8068 22% /dev
tmpfs 6952 0 6952 0% /dev/shm
/dev/mtdblock2 3072 3072 0 100% /mnt
After mounting also mtd2 device is empty..
root at cashel:/# od -x /dev/mtd2 | less
0000000 ffff ffff ffff ffff ffff ffff ffff ffff
*
14000000
root at cashel:/# cat /proc/mtd
dev: size erasesize name
mtd0: 00020000 00020000 "HRCW"
mtd1: 00060000 00020000 "bootloader"
mtd2: 00300000 00020000 "User fs"
root at cashel:/#
root at cashel:/# cd /mnt
root at cashel:/mnt# ls
root at cashel:/mnt# touch nethra
touch: cannot touch `nethra': No space left on device
root at cashel:/mnt#
thanks in advance..
Nethra
--
View this message in context: http://www.nabble.com/jffs2-No-space-left-on-device-tf3400453.html#a9469217
Sent from the linuxppc-embedded mailing list archive at Nabble.com.
More information about the Linuxppc-embedded
mailing list