From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chao Yu Subject: Re: Out of inodes on my f2fs partition Date: Thu, 30 Aug 2018 23:39:55 +0800 Message-ID: References: <5adf6554-6881-1bd6-3be2-28ae6c72f794@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1fvP3P-00064y-8c for linux-f2fs-devel@lists.sourceforge.net; Thu, 30 Aug 2018 15:40:15 +0000 Received: from mail.kernel.org ([198.145.29.99]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) id 1fvP3J-003sAf-HT for linux-f2fs-devel@lists.sourceforge.net; Thu, 30 Aug 2018 15:40:15 +0000 In-Reply-To: Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net To: Patrick Doyle Cc: linux-f2fs-devel@lists.sourceforge.net Hi Patrick, On 2018/8/30 23:30, Patrick Doyle wrote: > On Thu, Aug 30, 2018 at 11:22 AM Chao Yu wrote: >> >> Hi Patrick, >> >> Can you try -i option? Sorry, I mean mkfs.f2fs -i /dev/xxx; And you can use stat -f /your_mount_option to see whether largest number of inode support in new image increased. Inodes: Total: 719360 Free: 719357 ^^^^^^^^^^^^^ Thanks, >> > Hello Chao, > Thank you for your reply. For which command should I try the -i > option? I presume you mean df: > > $ df -i /home/wpd/src/ > Filesystem Inodes IUsed IFree IUse% Mounted on > /dev/nvme0n1 9784317 9410039 374278 97% /home/wpd/src > > And, for reference: > $ df /home/wpd/src > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/nvme0n1 1000202584 324990344 671159248 33% /home/wpd/src > > My f2fs partition is only 33% full, but I can no longer build on it, > as I keep getting "device out of space" errors. > > I don't see any mechanism to tune (dynamically) or fix (at mkfs.f2fs > time) the number of inodes. I am desperately looking for a clue now > :-) > > --wpd > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot