From owner-freebsd-fs@FreeBSD.ORG Sun Sep 23 00:54:11 2012 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 486FE106567E; Sun, 23 Sep 2012 00:54:11 +0000 (UTC) (envelope-from prvs=161333704c=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 A2F9F8FC1E; Sun, 23 Sep 2012 00:54:09 +0000 (UTC) Received: from r2d2 ([188.220.16.49]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50000185122.msg; Sun, 23 Sep 2012 01:53:55 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Sun, 23 Sep 2012 01:53:55 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 188.220.16.49 X-Return-Path: prvs=161333704c=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk Message-ID: <619BCDAEA81C4653B55E700EC31F9CEB@multiplay.co.uk> From: "Steven Hartland" To: "Andriy Gapon" , References: <505DE715.8020806@FreeBSD.org> Date: Sun, 23 Sep 2012 01:53:48 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; 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: Subject: Re: allow to mount root from a pool not in zpool.cache X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Sep 2012 00:54:11 -0000 ----- Original Message ----- From: "Andriy Gapon" > Currently FreeBSD ZFS kernel code doesn't allow to mount root filesystem on a > pool that is not listed in zpool.cache as only pools from the cache are known to > ZFS at that time. > > This patch is an attempt to improve the behavior: > http://people.freebsd.org/~avg/spa_import_rootpool.diff > > This could be useful when importing pools that were exported from other systems. > There is a tunable vfs.zfs.rootpool.prefer_cached_config which is set to 1 by > default. 1 means just use a cached pool config if it's found in the cache, 0 > means to re-probe disks and read supposedly latest/actual config in any case. This sounds like a great idea, thanks for the work will look to test it over the coming weeks. Regards Steve ================================================ 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.