From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from casablanca.magic.fr ([195.154.101.81]) by pentafluge.infradead.org with esmtp (Exim 3.22 #1 (Red Hat Linux)) id 159qvt-0001Jz-00 for ; Tue, 12 Jun 2001 17:22:21 +0100 Received: from serveur.inventel.fr (ppp-146.net-1002.magic.fr [195.115.184.146]) by casablanca.magic.fr (8.9.3/8.9.3) with ESMTP id SAA11764 for ; Tue, 12 Jun 2001 18:27:50 +0200 (CEST) Message-ID: <3B26429A.5686E897@inventel.fr> Date: Tue, 12 Jun 2001 18:26:02 +0200 From: Xavier DEBREUIL MIME-Version: 1.0 To: David Woodhouse CC: Martin Gadbois , linux-mtd@lists.infradead.org Subject: Re: unable to modify jffs2 References: <3B2635B4.63D6D647@colubris.com> <3B260CB7.E1513BBD@inventel.fr> <3B25FEB8.A00FCE03@inventel.fr> <3B24EC1B.7F920021@inventel.fr> <991934470.27485.0.camel@timmy> <20010607114319.A23641@crystal.2d3d.co.za> <20010607110359.A22278@crystal.2d3d.co.za> <19468.991906514@redhat.com> <23825.991907052@redhat.com> <9968.991944081@redhat.com> <2667.992333648@redhat.com> <3B25DE97.D2041C9@inventel.fr> <3161.992348379@redhat.com> <5586.992349315@redhat.com> <3B261F73.BF7325E1@inventel.fr> <3B2632EA.B38B039C@inventel.fr> <1776.992360814@redhat.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-mtd-admin@lists.infradead.org Errors-To: linux-mtd-admin@lists.infradead.org List-Help: List-Post: List-Subscribe: , List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: David Woodhouse a écrit : > > martin.gadbois@colubris.com said: > > Your df command says that the filesystem is full to capacity... how > > many files do you have in there? What is the result of the du command > > on /mnt? > > Compile with CONFIG_JFFS2_FS_DEBUG=1. Run 'dmesg'. What does it say? > > -- > dwmw2 I just try to erase the link lib in the following directory /mnt/jffs2/jffs2_1/usr/arm/arm-linux # rm lib dmesg returns : jffs2_reserve_space(): Requested 0x2c bytes jffs2_reserve_space(): alloc sem got Short on space, but total dirty size 0x0000002c < sector size 0x00020000, so -ENOSPC the jffs2 fs is mounted rw : /mnt/jffs2/jffs2_1/usr/arm/arm-linux # mount /dev/ram0 on / type ext2 (rw) none on /proc type proc (rw) none on /dev/pts type devpts (rw) /dev/ram1 on /mnt/ramdisk/rd1 type ext2 (rw) /dev/mtdblock1 on /mnt/jffs2/jffs2_1 type jffs2 (rw) but something is strange since df indicates that there is no space left on that fs ; but the file I have written on my 2Meg partition was only 1.5Meg /mnt/jffs2/jffs2_1/usr/arm/arm-linux # df Filesystem 1k-blocks Used Available Use% Mounted on /dev/ram0 3963 2997 966 76% / /dev/mtdblock1 2048 2048 0 100% /mnt/jffs2/jffs2_1 /dev/ram1 2011 13 1998 1% /mnt/ramdisk/rd1 Xavier