On Wed, Sep 27, 2006 at 09:53:32AM -0700, Neelakanth Nadgir wrote:
> Is it possible to destroy a pool by ID? I created two pools with the 
> same name, and want to destroy one of them

How do you manage to do that?  This should be impossible, and is a bug
in ZFS somewhere.  The internal AVL tree is keyed off of the pool name,
so something must be very screwed up - I'm surprised the machine hasn't
panicked.  Can you run '::spa -ve' from 'mdb -k' on this machine?

You can try to export both pools one by one, and then import back the
one you want.  Not sure how it will work, since you are in undefined bug
territory here...

- Eric

--
Eric Schrock, Solaris Kernel Development       http://blogs.sun.com/eschrock
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to