From owner-freebsd-arm@freebsd.org Wed Dec 16 17:17:23 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B03CAA49A32 for ; Wed, 16 Dec 2015 17:17:23 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [69.239.235.194]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B34D1EC1 for ; Wed, 16 Dec 2015 17:17:23 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.14.9/8.14.5) with ESMTP id tBGHHL6O037582; Wed, 16 Dec 2015 09:17:21 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.14.9/8.14.5/Submit) id tBGHHLjB037581; Wed, 16 Dec 2015 09:17:21 -0800 (PST) (envelope-from fbsd) Date: Wed, 16 Dec 2015 09:17:21 -0800 From: bob prohaska To: Konstantin Belousov Cc: freebsd-arm@freebsd.org Subject: Re: No space left in lost+found Message-ID: <20151216171721.GC29187@www.zefox.net> References: <20151215181047.GA29187@www.zefox.net> <1450204738.4176380.468287977.048387B9@webmail.messagingengine.com> <20151215191845.GB29187@www.zefox.net> <1450209274.4299.468358681.22757635@webmail.messagingengine.com> <1450211241.25138.75.camel@freebsd.org> <20151216074321.GO3625@kib.kiev.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151216074321.GO3625@kib.kiev.ua> User-Agent: Mutt/1.4.2.3i X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2015 17:17:23 -0000 Hi Konstantin, On Wed, Dec 16, 2015 at 09:43:21AM +0200, Konstantin Belousov wrote: > > Returning to the OP problem, please show the output of > ls -ld your/lost+found After a fresh rebuild and two passes of fsck -fy the system reports root@www:~ # ls -ld /tmp drwxrwxrwt 15 root wheel 3584 Dec 16 08:13 /tmp and root@www:~ # ls -ld /tmp/lost+found drwx------ 547 bob wheel 364544 Sep 1 20:10 /tmp/lost+found root@www:~ # df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/mmcsd0s2a 7031260 2327656 4141104 36% / devfs 1 1 0 100% /dev /dev/mmcsd0s1 51128 7332 43796 14% /boot/msdos /dev/da0p4 1279260 35500 1141420 3% /tmp /dev/da0p3 29442460 18778412 8308652 69% /usr /dev/da0p1 4053308 156140 3572904 4% /var so the filesystem does not appear full. However, fsck still reports messages of the form UNREF DIR I=82723 OWNER=bob MODE=40777 SIZE=512 MTIME=Dec 10 10:43 2015 RECONNECT? yes SORRY. NO SPACE IN lost+found DIRECTORY UNEXPECTED SOFT UPDATE INCONSISTENCY It turns out that /tmp/lost+found contains many files: root@www:/tmp/lost+found # ls | wc -w 22782 Seems like most of them should have been cleaned up automatically at some point in the past. That by itself appears odd, if not wrong. There have been no "out of inodes" messages. Journaling was turned off before the last OS build/install cycle. Build time remains about 16 hours, no other obvious effects. Thanks for reading! bob prohaska