From owner-freebsd-fs@FreeBSD.ORG Tue May 14 22:04:54 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B4454697 for ; Tue, 14 May 2013 22:04:54 +0000 (UTC) (envelope-from prvs=18460eef42=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 578F216D for ; Tue, 14 May 2013 22:04:54 +0000 (UTC) Received: from r2d2 ([46.65.172.4]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50003806770.msg for ; Tue, 14 May 2013 23:04:53 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Tue, 14 May 2013 23:04:53 +0100 (not processed: message from valid local sender) X-MDDKIM-Result: neutral (mail1.multiplay.co.uk) X-MDRemoteIP: 46.65.172.4 X-Return-Path: prvs=18460eef42=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-fs@freebsd.org Message-ID: <53B9B2FF12A44757A8254C6DDD08829D@multiplay.co.uk> From: "Steven Hartland" To: "Henner Heck" References: <968416157.282645.1368232366317.JavaMail.root@erie.cs.uoguelph.ca> <518EFE05.8010100@hub.org> <518F4130.6080201@hub.org> <518F4307.3060908@hub.org> <519285C9.8000306@web.de> <5192AD94.5020707@web.de> Subject: Re: Long delays during boot and zpool/zfs commands on 9.1-RELEASE (possibly because of unavailable pool?) Date: Tue, 14 May 2013 23:04:49 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Cc: freebsd-fs@freebsd.org 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: Tue, 14 May 2013 22:04:54 -0000 ----- Original Message ----- From: "Henner Heck" To: "Steven Hartland" > Am 14.05.2013 21:22, schrieb Steven Hartland: >> ----- Original Message ----- From: "Henner Heck" >>> Hello all, >>> >>> i set up a PC with FreeBSD 9.1-Release and 2 zfs pools. >>> One is a mirror from which FreeBSD is booting >>> (tough enough without getting "error 2"), >>> the other one a raidz2 for data. >>> The disks for the raidz2 are encrypted with geli and attached manually. >>> >>> I noticed that a "zpool status" or a "zfs list" before attaching >>> the encrypted disks waits for about one minute before showing output. >>> When they finally do, the output is as expected, the raidz2 pool is >>> shown as >>> UNAVAIL and its datasets are not listed. >>> When all the disks are attached with geli, the outputs are given >>> immediately. >>> >>> On boot there are 2 delays. >>> One of about 1 minute after the output >>> "Setting hostid: 0x........" >>> and one of 2 minutes after >>> "Mounting local file systems:.". >>> Both these outputs don't show up in dmesg, which ends with >>> "Trying to mount root from zfs:zroot/ROOT []..." shortly before. >>> >>> I suspect that the boot delays too are because of the encrypted pool. >>> >>> A different machine running FreeBSD 8.3-RELEASE has a delay of only >>> about 3 seconds on "zpool status" with an encrypted pool >>> and also the boot shows no annoying anomalies. >>> >>> Any idea how to get rid of these really long delays? >> >> Try the attached patch see if that helps? Looks like 9.1 has been significantly changed from when I created that patch and isn't needed any more, so not going to be that. Should have checked, sorry for the noise. ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.