From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:33082 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753124AbdHQQry (ORCPT ); Thu, 17 Aug 2017 12:47:54 -0400 Date: Thu, 17 Aug 2017 12:47:52 -0400 From: Brian Foster Subject: Re: Issue with "no space left on device" Message-ID: <20170817164751.GA62570@bfoster.bfoster> References: <1502981688167.22881@true.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1502981688167.22881@true.nl> Sender: linux-xfs-owner@vger.kernel.org List-ID: List-Id: xfs To: Sander van Schie / True Cc: "linux-xfs@vger.kernel.org" On Thu, Aug 17, 2017 at 02:54:48PM +0000, Sander van Schie / True wrote: > Hello, > > I have a 35 GB XFS partition with both plenty of free space and inodes, but I'm still getting the error "No space left on device" when trying to create new files. > > Mount options: > > # mount | grep vdc1 > /dev/vdc1 on /mnt type xfs (rw,relatime,attr2,inode64,noquota) > > Used disk space: > > # df /dev/vdc1 > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/vdc1 36681200 16066576 20614624 44% /mnt > > Used inodes: > > # df -i /dev/vdc1 > Filesystem Inodes IUsed IFree IUse% Mounted on > /dev/vdc1 917440 199616 717824 22% /mnt > > xfs info: > > # xfs_info /dev/vdc1 > meta-data=/dev/vdc1 isize=2048 agcount=4, agsize=2293695 blks With 2k sized inodes, the most likely cause is free space fragmentation. What does 'xfs_db -c "freesp -s" ' print for this fs? Brian > = sectsz=512 attr=2, projid32bit=1 > = crc=1 finobt=1 spinodes=0 > data = bsize=4096 blocks=9174779, imaxpct=5 > = sunit=0 swidth=0 blks > naming =version 2 bsize=4096 ascii-ci=0 ftype=1 > log =internal bsize=4096 blocks=4479, version=2 > = sectsz=512 sunit=0 blks, lazy-count=1 > realtime =none extsz=4096 blocks=0, rtextents=0 > > > I've already tried repairing and rebooting, which unfortunately didn't help. > > Any idea what's wrong? > > Thanks! > > - Sander-- > To unsubscribe from this list: send the line "unsubscribe linux-xfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html