Re: Fun with df

From: Peter Holm <peter_at_holm.cc>
Date: Wed, 29 Mar 2006 19:27:12 +0200
On Wed, Mar 29, 2006 at 03:37:10PM +0200, Suleiman Souhlal wrote:
> Kris Kennaway wrote:
> >On Tue, Mar 28, 2006 at 05:53:16PM +0200, Peter Holm wrote:
> >
> >>I've seen this problem on both RELENG_6 from Mar 27 19:37 UTC and HEAD:
> >
> >
> >Have you figured out how to cause it?  I and others see it
> >occasionally (also things like this at reboot:
> >
> >/c: unmount pending error: blocks -68512 files 0
> >
> >which dates back at least to 5.3).  But I haven't been able to figure
> >out how to trigger it on demand.
> 
> IIRC it's pretty easy to trigger: delete a lot of files, and unmount 
> right after as rm is done.
> umount -f in the middle of the rm might also work.
> 

Yes!

I created a few hundred thousand empty files, umount + fsck + mount
without any problems.

The df corruption started the moment I began deleting the files.

The following umount gave this warning:
/tmp: unmount pending error: blocks 4137248 files 0

- Peter


> -- Suleiman
Received on Wed Mar 29 2006 - 15:27:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:54 UTC