From: Nethra <nethra_gmit@yahoo•co.in>
To: linuxppc-embedded@ozlabs•org
Subject: jffs2-No space left on device
Date: Tue, 13 Mar 2007 23:41:33 -0700 (PDT) [thread overview]
Message-ID: <9469217.post@talk.nabble.com> (raw)
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@cashel:/# od -x /dev/mtd2 | less
0000000 ffff ffff ffff ffff ffff ffff ffff ffff
*
14000000
root@cashel:/# mount -t jffs2 /dev/mtdblock2 /mnt
root@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@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@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@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@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@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@cashel:/# od -x /dev/mtd2 | less
0000000 ffff ffff ffff ffff ffff ffff ffff ffff
*
14000000
root@cashel:/# cat /proc/mtd
dev: size erasesize name
mtd0: 00020000 00020000 "HRCW"
mtd1: 00060000 00020000 "bootloader"
mtd2: 00300000 00020000 "User fs"
root@cashel:/#
root@cashel:/# cd /mnt
root@cashel:/mnt# ls
root@cashel:/mnt# touch nethra
touch: cannot touch `nethra': No space left on device
root@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.
next reply other threads:[~2007-03-14 6:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-14 6:41 Nethra [this message]
2007-03-14 7:50 ` jffs2-No space left on device Wolfgang Denk
2007-03-15 4:08 ` Nethra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9469217.post@talk.nabble.com \
--to=nethra_gmit@yahoo$(echo .)co.in \
--cc=linuxppc-embedded@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox