Subject: kern/9032: softdeps filesystem full
To: None <>
From: Wolfgang Rupprecht <>
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
>Originator:     Wolfgang Rupprecht
W S Rupprecht Computer Consulting, Fremont CA
>Release:        <NetBSD-current Dec 15 1999>
System: NetBSD 1.4P NetBSD 1.4P (WSRCC) #0: Sat Dec 18 10:45:09 PST 1999 i386

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

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
	hack: run sync/update in a tight loop?