From owner-freebsd-current@FreeBSD.ORG Mon Jun 4 15:27:06 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CE8FC16A400 for ; Mon, 4 Jun 2007 15:27:06 +0000 (UTC) (envelope-from gerrit@pmp.uni-hannover.de) Received: from mrelay1.uni-hannover.de (mrelay1.uni-hannover.de [130.75.2.106]) by mx1.freebsd.org (Postfix) with ESMTP id 62A1B13C447 for ; Mon, 4 Jun 2007 15:27:06 +0000 (UTC) (envelope-from gerrit@pmp.uni-hannover.de) Received: from www.pmp.uni-hannover.de (www.pmp.uni-hannover.de [130.75.117.2]) by mrelay1.uni-hannover.de (8.13.8/8.13.8) with ESMTP id l54FR3Tu003170; Mon, 4 Jun 2007 17:27:04 +0200 Received: from pmp.uni-hannover.de (arc.pmp.uni-hannover.de [130.75.117.1]) by www.pmp.uni-hannover.de (Postfix) with SMTP id 902FB637; Mon, 4 Jun 2007 17:27:03 +0200 (CEST) Date: Mon, 4 Jun 2007 17:27:03 +0200 From: Gerrit =?ISO-8859-1?Q?K=FChn?= To: Message-Id: <20070604172703.25370453.gerrit@pmp.uni-hannover.de> In-Reply-To: <20070531120255.GA23146@mime.TechFak.Uni-Bielefeld.DE> References: <20070530174944.31966e57.gerrit@pmp.uni-hannover.de> <20070531072541.GA22936@mime.TechFak.Uni-Bielefeld.DE> <20070531093222.25fde006.gerrit@pmp.uni-hannover.de> <20070531120255.GA23146@mime.TechFak.Uni-Bielefeld.DE> Organization: Albert-Einstein-Institut (MPI =?ISO-8859-1?Q?f=FCr?= Gravitationsphysik & IGP =?ISO-8859-1?Q?Universit=E4t?= Hannover) X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.12; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.0.289146 Cc: current@freebsd.org Subject: Re: ZFS does not load and mount at boot time X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 15:27:06 -0000 On Thu, 31 May 2007 14:02:55 +0200 wrote about Re: ZFS does not load and mount at boot time: OUBD> If the ZFS module is loaded by the loader the symlinking trick will OUBD> not work. The module tries to load /boot/zfs/zpool.cache or expects OUBD> zpool.cache preloaded from the loader. However, I could not teach OUBD> the loader to load zpool.cache from the nanobsd configuration slice. OUBD> If the module is loaded by /etc/rc.d/zfs, the symlinking works, OUBD> because the module will try then try to load /boot/zfs/zpool.cache OUBD> (which points to /etc/zfs/zpool.cache) wich was initialized by OUBD> rc.initdiskless. I have now moved zfs.cache to /etc/zfs and load the module via rc.conf. I have also included the saving of zfs.cache on /cfg in "zfs stop" and set KEYWORD: shutdown for zfs. However, I still get ZFS: WARNING: pool 'tank' could not be loaded as it was last accessed by another system (host: eclipse.aei.uni-hannover.de hostid: 0xf7ab4bd6). See: http://www.sun.com/msg/ZFS-8000-EY when booting. Any further ideas? cu Gerrit