Ceri Davies wrote:
On Thu, Oct 12, 2006 at 02:06:15PM +0100, Dick Davies wrote:
On 12/10/06, Ceri Davies <[EMAIL PROTECTED]> wrote:
On Wed, Oct 11, 2006 at 11:49:48PM -0700, Matthew Ahrens wrote:
FYI, /etc/zfs/zpool.cache just tells us what pools to open when you boot
up.  Everything else (mountpoints, filesystems, etc) is stored in the
pool itself.
What happens if the file does not exist?  Are the devices searched for
metadata?
My understanding (I'll be delighted if I'm wrong) is that you would be stuffed.

I'd expect:

zpool import -f

(see the manpage)
to probe /dev/dsk/ and rebuild the zpool.cache file,
but my understanding is that this a) doesn't work yet or b) does
horrible things to your chances of surviving a reboot [0].

So how do I import a pool created on a different host for the first
time?

zpool import [ -f ]

(provided it's not in use *at the same time* by another host)

--
Michael Schuster                  +49 89 46008-2974 / x62974
visit the online support center:  http://www.sun.com/osc/

Recursion, n.: see 'Recursion'
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to