public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Jffs2 space problem
@ 2005-07-25 12:42 Calò Massimo
  2005-07-26 10:05 ` Artem B. Bityuckiy
  0 siblings, 1 reply; 2+ messages in thread
From: Calò Massimo @ 2005-07-25 12:42 UTC (permalink / raw)
  To: ucLinux-Mtd@Lists. Infradead. Org

Hi all,

	I have a problem with my jffs2 partition.
I'm using mtd5 (size = 64 x 8 = 512kb).
I eraseall the partition but if I do the df command I see that it is 100%
used ...?!?!?

/>
/> cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00010000 00008000 "boot loader (64K)"
mtd1: 00010000 00010000 "boot data (64K)"
mtd2: 000c0000 00010000 "kernel (768K)"
mtd3: 00020000 00010000 "user data 00 (128K)"
mtd4: 00080000 00010000 "root fs (512K)"
mtd5: 00080000 00010000 "user Jffs2 (512K)"
/> eraseall /dev/mtd5
MTD_open
MTD_ioctl
Erasing 64 Kibyte @ 0 --  0 % complete.MTD_ioctl
Erasing 64 Kibyte @ 10000 -- 12 % complete.MTD_ioctl
Erasing 64 Kibyte @ 20000 -- 25 % complete.MTD_ioctl
Erasing 64 Kibyte @ 30000 -- 37 % complete.MTD_ioctl
Erasing 64 Kibyte @ 40000 -- 50 % complete.MTD_ioctl
Erasing 64 Kibyte @ 50000 -- 62 % complete.MTD_ioctl
Erasing 64 Kibyte @ 60000 -- 75 % complete.MTD_ioctl
Erasing 64 Kibyte @ 70000 -- 87 % complete.MTD_ioctl
Erased 512 Kibyte @ 0 -- 100% complete.
MTD_close
/> df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/rom4                  512       512         0 100% /
/dev/ram0                  987         7       980   1% /var
/dev/mtdblock5             512       512         0 100% /mnt
/>



Any Help?

	Thanks!

Massimo.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Jffs2 space problem
  2005-07-25 12:42 Jffs2 space problem Calò Massimo
@ 2005-07-26 10:05 ` Artem B. Bityuckiy
  0 siblings, 0 replies; 2+ messages in thread
From: Artem B. Bityuckiy @ 2005-07-26 10:05 UTC (permalink / raw)
  To: Calò Massimo; +Cc: ucLinux-Mtd@Lists. Infradead. Org

Calò Massimo wrote:
> Hi all,
> 
> 	I have a problem with my jffs2 partition.
> I'm using mtd5 (size = 64 x 8 = 512kb).
> I eraseall the partition but if I do the df command I see that it is 100%
> used ...?!?!?

Pardon, do you unmount JFFS2 before the erase :-) ?

-- 
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-26 10:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-25 12:42 Jffs2 space problem Calò Massimo
2005-07-26 10:05 ` Artem B. Bityuckiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox