On Thu, 15 Jul 2010, Tim Castle wrote:

j...@opensolaris:~# zpool import -d /dev

...shows nothing after 20 minutes

OK, then one other thing to try is to create a new directory, e.g. /mydev, and create in it symbolic links to only those drives that are part of your pool.

Based on your label output, I see:

path='/dev/ad6'
path='/dev/ad4'
path='/dev/ad16'
path='/dev/ad18'
path='/dev/ad8'
path='/dev/ad10'

I'm guessing /dev has many more entries in, and the zpool import command is hanging in its attempt to open each one of those.

So try doing:

# ln -s /dev/ad6 /mydev/ad6
...
# ln -s /dev/ad10 /mydev/ad10

This way, you can issue "zpool import -d /mydev" and the import code should *only* see the devices that are part of the pool.
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to