Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 2010 14:46:54 +0000
From:      Charlie Mason <charlie.mas@gmail.com>
To:        David Rawling <djr@pdconsec.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ZFS RAIDZ Controller Disk Order
Message-ID:  <AANLkTiks19qm5K1P2kgNs-LuTxeRGW9g_jMrwdLqackU@mail.gmail.com>
In-Reply-To: <4D1B2EB2.9010002@pdconsec.net>
References:  <AANLkTikzp42h3aHWvtBrz=o8Z%2B9gf=cv3fiwLzXUTwHG@mail.gmail.com> <4D1B2EB2.9010002@pdconsec.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 29, 2010 at 12:50 PM, David Rawling <djr@pdconsec.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTiks19qm5K1P2kgNs-LuTxeRGW9g_jMrwdLqackU>