From owner-freebsd-fs@FreeBSD.ORG Wed Sep 19 23:01:43 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D688316A417; Wed, 19 Sep 2007 23:01:43 +0000 (UTC) (envelope-from acd@acd.homelinux.org) Received: from server0.acapsecurity.com (acapsecurity.com [207.38.28.204]) by mx1.freebsd.org (Postfix) with ESMTP id B2E5813C459; Wed, 19 Sep 2007 23:01:43 +0000 (UTC) (envelope-from acd@acd.homelinux.org) Received: from acd.homelinux.org (unknown [10.0.15.5]) by server0.acapsecurity.com (Postfix) with ESMTP id 63B4822B6E; Wed, 19 Sep 2007 15:44:50 -0700 (PDT) Received: by acd.homelinux.org (Postfix, from userid 500) id C86593051; Wed, 19 Sep 2007 16:44:49 -0600 (MDT) From: Axel To: Adam Jacob Muller References: Date: Wed, 19 Sep 2007 16:44:49 -0600 In-Reply-To: (Adam Jacob Muller's message of "Wed\, 19 Sep 2007 03\:24\:25 -0400") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org Subject: Re: ZFS pool not working on boot 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: Wed, 19 Sep 2007 23:01:44 -0000 Adam Jacob Muller writes: > Hello, > I have a server with two ZFS pools, one is an internal raid0 using 2 > drives connected via ahc. The other is an external storage array with > 11 drives also using ahc, using raidz. (This is a dell 1650 and > pv220s). > On reboot, the pools do not come online on their own. Both pools > consistently show as failed. > > the exact symptoms vary, however I have seen that many drives are > marked as variously "corrupt" or "unavailable" most zpool operations > fail with "pool is unavailable" errors. > > Here is the interesting part. > Consistently, 100% of the time, a zpool export followed by a zpool > import restores the arrays to an ONLINE status. Once the array is > online, it's quite stable (I'm loving ZFS btw, thank you to everyone > for the hard work on this, ZFS is fantastic) and works great. > > Anyone have any ideas why this might occur and what/if the solution is? > > Any additional information can be provided on-request, I am running > current from approximately 1 week ago. > > -Adam > There is a file called /boot/zfs/zpool.cache that is kept in sync and loaded at boot time. If that's not there , e.g. by your /boot pointing to it , you're hosed. -- Axel