From owner-freebsd-questions@FreeBSD.ORG Wed Dec 29 14:46:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82899106566B for ; Wed, 29 Dec 2010 14:46:55 +0000 (UTC) (envelope-from charlie.mas@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4A14D8FC0A for ; Wed, 29 Dec 2010 14:46:55 +0000 (UTC) Received: by iwn39 with SMTP id 39so10349992iwn.13 for ; Wed, 29 Dec 2010 06:46:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=gbWepMOKccXEygH8Wfg9D+vBvj101itefUVv2BTCCZw=; b=HOGAqYEcvBMmvV6QGtqSiKlFt1Oy+lTmYOxW3JPSykLOpqPAj+L2zSYEfqP16DNYM7 yykt9IfHlqgLFs/5qViu+jvjAO4gSCWLsVLwMNP+mVzU5nGVC0x7/UTYBZUCVAKtJQgx tmlH4FLItfGOW8VOEk3yYg+a0QzPlMCYL1O9k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=naowGiwbJlzYEptEEoZYGJK2tPRuwvZwPbjQjvoLxGY9/9+gXVOS6ukrnkxRgcCgP+ /uRXjC3zyRMyYVNenZK2VxTRCQrJcASHxHantv5EekJszQ6eYtbsNKM2lcr1GCoQGD64 pNjwiaH1mJ8DIej4nKIOK4G6bw6RiQH072e34= MIME-Version: 1.0 Received: by 10.42.229.6 with SMTP id jg6mr14954793icb.141.1293634014258; Wed, 29 Dec 2010 06:46:54 -0800 (PST) Received: by 10.42.218.200 with HTTP; Wed, 29 Dec 2010 06:46:54 -0800 (PST) In-Reply-To: <4D1B2EB2.9010002@pdconsec.net> References: <4D1B2EB2.9010002@pdconsec.net> Date: Wed, 29 Dec 2010 14:46:54 +0000 Message-ID: From: Charlie Mason To: David Rawling Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: ZFS RAIDZ Controller Disk Order X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: charlie.mas@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2010 14:46:55 -0000 On Wed, Dec 29, 2010 at 12:50 PM, David Rawling wrote: > On 29/12/2010 11:08 PM, Charlie Mason wrote: > > Is it perhaps possible to disconnect the disks again, boot the system, and > remove the ZFS pool cache (which location escapes me for the moment). Then > you should be able to import the pool again using the -f switch (force). I > think if you are using the cache, the order matters. If you're importing a > fresh pool, the system simply needs to find enough member disks. > > I'm not a ZFS expert though... Thanks for the info Dave. I managed to find the cache file. On my install its under /boot/zfs/zpool.cache. I have also seen reports of it under /etc/zfs whilst googling (I think that was Solaris though). For safety's sake I backed it up and rebooted the server. Zpool then lost all trace of the old array. Then I used the zpool import command which was able to automatically locate the array then I simply imported it by its name. Magically all is working agian! So I can now get my photos off the old array and on to the new one. Thanks again for the info, its been really useful. Charlie