From owner-freebsd-stable@FreeBSD.ORG Tue Jul 1 07:57:13 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E6A23FC4 for ; Tue, 1 Jul 2014 07:57:13 +0000 (UTC) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A852F2123 for ; Tue, 1 Jul 2014 07:57:13 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1X1swB-0006VV-LU; Tue, 01 Jul 2014 09:57:11 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: freebsd-stable@freebsd.org, "Dmitry Sivachenko" Subject: Re: 10/stable panic: softdep_deallocate_dependencies: dangling deps References: <021AFCAD-7B0B-47FB-AAFF-8F7085C7E1A6@gmail.com> Date: Tue, 01 Jul 2014 09:57:10 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <021AFCAD-7B0B-47FB-AAFF-8F7085C7E1A6@gmail.com> User-Agent: Opera Mail/12.17 (Win32) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: - X-Spam-Score: -1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED, BAYES_20 autolearn=disabled version=3.3.1 X-Scan-Signature: 4052b6d1c9976086d5ab5ce040fcf5b8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2014 07:57:14 -0000 On Mon, 30 Jun 2014 14:22:02 +0200, Dmitry Sivachenko wrote: > Hello! > > I have several machines with rather fresh FreeBSD-10/stable. > > They all have 4 SATA drives, I have small gmirrored root+var and the > rest of the drive space is mounted as /disk1, /disk2, etc (UFS2+SU). > When a single disk fails, system panics with > "softdep_deallocate_dependencies: dangling deps" message: > http://people.freebsd.org/~demon/softdep.png > > Since all vital data (root+var) are mirrored, I expect OS to stay alive. Hi, So /disk1, /disk2 are not (g)mirrored? In that case the system cannot handle write failure. Because writes are not synchronous (for speed) there is no possibility to return an error to the application. The OS does not have a notion of 'vital data'. Disk1 and disk2 could contain more vital data than root+var as far as the OS knows. I didn't program the filesystems of FreeBSD, so I might be wrong on some reasoning, but this is the idea. Ronald.