Subject: kern/9032: softdeps filesystem full
To: None <gnats-bugs@gnats.netbsd.org>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: netbsd-bugs
Date: 12/19/1999 23:24:36
>Number:         9032
>Category:       kern
>Synopsis:       softdeps with major updates causes filesystem full errors
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 19 23:24:00 1999
>Last-Modified:
>Originator:     Wolfgang Rupprecht
>Organization:
W S Rupprecht Computer Consulting, Fremont CA
>Release:        <NetBSD-current Dec 15 1999>
>Environment:
	
System: NetBSD pasillo.wsrcc.com 1.4P NetBSD 1.4P (WSRCC) #0: Sat Dec 18 10:45:09 PST 1999 wolfgang@capsicum.wsrcc.com:/v/src/netbsd/NetBSD-current/usr/src/sys/arch/i386/compile/WSRCC i386


>Description:
	Updating a large percentage of the data on a filesystem that
	is running softdeps causes the filesystem to temporarily overflow.

>How-To-Repeat:
rebuild the OS on a remote machine and rdist / and
	/usr to the victim machine. The filesystem code will gripe
	about the fs being full and quite a few of the rsh-ed files
	will be damaged.  Since this can effect critical utilities not
	being copied, all bets are now off.

	A contributing factor is no doubt that there was not enough spare 
	room for a second copy of all the files.

	Filesystem           1K-blocks     Used    Avail Capacity  Mounted on
	/dev/wd0a                27405    18664     7370    71%    /
	/dev/wd0f               137021   101755    28414    78%    /usr
	
>Fix:
	hack: run sync/update in a tight loop?

>Audit-Trail:
>Unformatted: