From owner-freebsd-fs@FreeBSD.ORG Thu Aug 29 08:27:32 2013 Return-Path: Delivered-To: freebsd-fs@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 00254875 for ; Thu, 29 Aug 2013 08:27:31 +0000 (UTC) (envelope-from maurizio.vairani@cloverinformatica.it) Received: from smtpdg3.aruba.it (smtpdg221.aruba.it [62.149.158.221]) by mx1.freebsd.org (Postfix) with ESMTP id 5CA7A2EC0 for ; Thu, 29 Aug 2013 08:27:31 +0000 (UTC) Received: from cloverinformatica.it ([188.10.129.202]) by smtpcmd01.ad.aruba.it with bizsmtp id JYTT1m01T4N8xN401YTUij; Thu, 29 Aug 2013 10:27:28 +0200 Received: from [192.168.0.81] (ASUS-TERMINATOR [192.168.0.81]) by cloverinformatica.it (Postfix) with ESMTP id 37E729AB4; Thu, 29 Aug 2013 10:27:28 +0200 (CEST) Message-ID: <521F05F0.4090607@cloverinformatica.it> Date: Thu, 29 Aug 2013 10:27:28 +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: freebsd-fs@freebsd.org, freebsd-stable@FreeBSD.org Subject: Boot problem if a ZFS log device is missing Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Aug 2013 08:27:32 -0000 Hi all, I am using an USB memory stick as cache and log devices for a HDD ZFS pool named tank0: $ zpool status -v tank0 pool: tank0 state: ONLINE scan: scrub repaired 0 in 7h19m with 0 errors on Tue Jul 30 06:11:23 2013 config: NAME STATE READ WRITE CKSUM tank0 ONLINE 0 0 0 ada0s1d ONLINE 0 0 0 logs gpt/SLOG ONLINE 0 0 0 cache gpt/L2ARC ONLINE 0 0 0 errors: No known data errors If I remove the stick before booting the laptop (a Compaq Presario) it will not boot with the error message: "Mounting from zfs:tank0 failed with error 6" end the mountroot> prompt is displayed. I need to reinsert the stick to completing the boot process before restarting the laptop. It is possible to boots the laptop without stick if I remove the log device with the command: # zpool remove tank0 gpt/SLOG before switching it off. The pool will works in degraded mode because the cache device is missing, but it works. I am able to boot the PC without a cache device but not without a log device. Why ? The laptop is updated to 9.2-PRERELEASE r254783. Regards Maurizio