From owner-freebsd-stable@FreeBSD.ORG Fri Aug 30 08:17:15 2013 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 ESMTP id E007081A for ; Fri, 30 Aug 2013 08:17:15 +0000 (UTC) (envelope-from maurizio.vairani@cloverinformatica.it) Received: from smtpdg8.aruba.it (smtpdg226.aruba.it [62.149.158.226]) by mx1.freebsd.org (Postfix) with ESMTP id 447C5207E for ; Fri, 30 Aug 2013 08:17:14 +0000 (UTC) Received: from cloverinformatica.it ([188.10.129.202]) by smtpcmd03.ad.aruba.it with bizsmtp id JwHB1m01N4N8xN401wHCpk; Fri, 30 Aug 2013 10:17:12 +0200 Received: from [192.168.0.81] (ASUS-TERMINATOR [192.168.0.81]) by cloverinformatica.it (Postfix) with ESMTP id 449A113914; Fri, 30 Aug 2013 10:17:12 +0200 (CEST) Message-ID: <52205507.4030802@cloverinformatica.it> Date: Fri, 30 Aug 2013 10:17:11 +0200 From: Maurizio Vairani User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: Andriy Gapon Subject: Re: Boot problem if a ZFS log device is missing References: <521F05F0.4090607@cloverinformatica.it> <521F0DEB.20408@FreeBSD.org> In-Reply-To: <521F0DEB.20408@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org, freebsd-stable@FreeBSD.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Aug 2013 08:17:15 -0000 On 29/08/2013 11.01, Andriy Gapon wrote: > on 29/08/2013 11:27 Maurizio Vairani said the following: >> I am able to boot the PC without a cache device but not without a log device. Why ? > The log could potentially contain uncommitted entries. Without the log device > there is no knowing if it did or did not. And if it did then the pool is > inconsistent state without the log device and so it can not be imported. > > The cache is not persistent and so there is nothing needed from it upon a boot. > Thank you for the clear and concise reply. Yesterday I have done some test. If I remove the stick from the USB port, before the shutdown the PC, it don't crash but continues to works. Then I am able to reboot the laptop without inserting the stick with a pool that works in degraded mode. From the end user point of view a PC should always boot, even with a missing ZFS log device. Regards Maurizio