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 159r8N-0001L9-00 for ; Tue, 12 Jun 2001 17:35:15 +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 SAA12319 for ; Tue, 12 Jun 2001 18:40:44 +0200 (CEST) Message-ID: <3B26459F.1F275CB1@inventel.fr> Date: Tue, 12 Jun 2001 18:38:55 +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: <3B26429A.5686E897@inventel.fr> <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> <7905.992363355@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 : > > xde@inventel.fr said: > > 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 > > Looks like your filesystem is too full. You need at least 5 erase blocks > free. How big was the jffs2 image you put on it? > > -- > dwmw2 In my last email : 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 So if you say that it needs at least 5 free blocks, it means that I need 5 blocks of 128KB, so at least 650KB free!!! Is it necessary ? In fact if this is true, a 2MB partition is to short... Xavier