From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 20 07:20:15 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 05D411065670 for ; Thu, 20 Sep 2012 07:20:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E5D088FC19 for ; Thu, 20 Sep 2012 07:20:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q8K7KEuH062703 for ; Thu, 20 Sep 2012 07:20:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q8K7KEeb062702; Thu, 20 Sep 2012 07:20:14 GMT (envelope-from gnats) Date: Thu, 20 Sep 2012 07:20:14 GMT Message-Id: <201209200720.q8K7KEeb062702@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Andrey V. Elsukov" Cc: Subject: Re: misc/171805: Delay during gptzfsboot X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Andrey V. Elsukov" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Sep 2012 07:20:15 -0000 The following reply was made to PR misc/171805; it has been noted by GNATS. From: "Andrey V. Elsukov" To: =?KOI8-R?Q?Karli_Sj=F6berg?= Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/171805: Delay during gptzfsboot Date: Thu, 20 Sep 2012 11:17:46 +0400 On 20.09.2012 10:50, Karli Sjöberg wrote: > For me, this changed the time to reboot a server to up to 20mins, while the normal time after the > fix is more like 2mins. Other users at FreeBSD forums have reported delays over 10+mins as well: > https://forums.freebsd.org/showthread.php?t=31902 > >> How-To-Repeat: > Install FreeBSD-9.0-RELEASE with boot on ZFS >> Fix: > So, to change back this behavior: > > Phase 1. # sed -i '' 's/128/4/' /sys/boot/zfs/zfs.c > > Phase 2. Rebuild kernel/world > > Phase 3. Profit! > > And booting is back to normal. This is something I always have to do with newly installed storage > servers with FreeBSD-9.0-RELEASE to get back to a normal reboot time. Can you try the zfsloader from the 10.0-CURRENT instead? For example, this one: https://pub.allbsd.org/FreeBSD-snapshots/i386-i386/10.0-HEAD-20120919-JPSNAP/stage/trees/boot/zfsloader -- WBR, Andrey V. Elsukov