On 06/11/10 22:07, zfsnoob4 wrote:
Hey,

I'm running some test right now before setting up my server. I'm running 
Nexenta Core 3.02 (RC2, based on opensolaris build 134 I believe) in Virtualbox.

To do the test, I'm creating three empty files and then making a raidz mirror:
mkfile -n 1g /foo
mkfile -n 1g /foo1
mkfile -n 1g /foo2

Then I make a zpool:
zpool create testpool raidz /foo /foo1 /foo2

Now I destroy the pool and attempt to restore it:
zpool destroy testpool

But when I try to list available imports, the list is empty:
zpool import -D
return nothing.

zpool import testpool
also return nothing.

Even if I try to export the pool (so before destroying it):
zpool export testpool

I see it disappear from the zpool list, but I can't import it (commands return 
nothing).

Is this due to the fact that I'm using test files instead of real drives?

- Yes.

"zpool import" will by default look in "/dev/dsk".
You need to specify the directory (using -d <dir>) if your pool devices are
located elsewhere. See "man zpool".

Neil.
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to