From owner-freebsd-arm@freebsd.org Tue Dec 15 19:18:48 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 2810BA48828 for ; Tue, 15 Dec 2015 19:18:48 +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 EDEE7158F; Tue, 15 Dec 2015 19:18:47 +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 tBFJIkNP032822; Tue, 15 Dec 2015 11:18:46 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.14.9/8.14.5/Submit) id tBFJIjj2032821; Tue, 15 Dec 2015 11:18:45 -0800 (PST) (envelope-from fbsd) Date: Tue, 15 Dec 2015 11:18:45 -0800 From: bob prohaska To: Mark Felder Cc: freebsd-arm@freebsd.org, bob prohaska Subject: Re: No space left in lost+found Message-ID: <20151215191845.GB29187@www.zefox.net> References: <20151215181047.GA29187@www.zefox.net> <1450204738.4176380.468287977.048387B9@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1450204738.4176380.468287977.048387B9@webmail.messagingengine.com> 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: Tue, 15 Dec 2015 19:18:48 -0000 Hi Mark, Here's what I get, da0p4 is /tmp root@www:/lost+found # tunefs -p /dev/da0p4 tunefs: POSIX.1e ACLs: (-a) disabled tunefs: NFSv4 ACLs: (-N) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) enabled tunefs: soft update journaling: (-j) enabled tunefs: gjournal: (-J) disabled tunefs: trim: (-t) disabled tunefs: maximum blocks per file in a cylinder group: (-e) 4096 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: space to hold for metadata blocks: (-k) 3296 tunefs: optimization preference: (-o) time tunefs: volume label: (-L) root@www:/lost+found # root@www:/lost+found # tunefs -p /dev/mmcsd0s2a tunefs: POSIX.1e ACLs: (-a) disabled tunefs: NFSv4 ACLs: (-N) enabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) enabled tunefs: soft update journaling: (-j) enabled tunefs: gjournal: (-J) disabled tunefs: trim: (-t) disabled tunefs: maximum blocks per file in a cylinder group: (-e) 4096 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: space to hold for metadata blocks: (-k) 6408 tunefs: optimization preference: (-o) time tunefs: volume label: (-L) No intentional changes were made from as-installed defaults. Note that /lost+found resides on the microSD card, with 4 GB free. Here's df: root@www:/lost+found # df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/mmcsd0s2a 7031260 2327652 4141108 36% / devfs 1 1 0 100% /dev /dev/mmcsd0s1 51128 7332 43796 14% /boot/msdos /dev/da0p4 1279260 51568 1125352 4% /tmp /dev/da0p3 29442460 18775576 8311488 69% /usr /dev/da0p1 4053308 156100 3572944 4% /var Thanks for reading! bob prohaska On Tue, Dec 15, 2015 at 12:38:58PM -0600, Mark Felder wrote: > > > On Tue, Dec 15, 2015, at 12:10, bob prohaska wrote: > > Hi all, > > > > Lately I've been seeing "sorry, no space left in lost+found directory" > > during > > routine fsck of my rpi2. The messages seem to be new, in the last few > > weeks. > > The machine has root on the microSD card, but /usr, /tmp, /var and swap > > are > > all on a mechanical USB hard disk. Unrecovered files/directories are in > > /tmp. > > > > The running cycle is typically to build the latest revision of current, > > compile, > > reboot, fsck -fy twice and run stress2 -a till it crashes. Next, reboot, > > run fsck -fy > > three times, update using svnlite and repeat. > > > > After the reboot is complete, /lost+found is empty. > > > > Do I have something misconfigured? > > > > Thanks for reading, > > > > bob prohaska > > > > Can you provide the "tunefs -p" output of the filesystem? eg, tunefs -p > /dev/da0p2 > > > -- > Mark Felder > ports-secteam member > feld@FreeBSD.org