I was trying to import the pool, but got an error that there
wee 2 pools with the same name (in exported state) and I had
to import by "id". Thus I wanted to destroy the other pool

-neel

Sometime ago, Darren Dunham said:
> > 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?
> 
> Is this only a concern with *imported* pools?  I was assuming Neelakath
> was trying to destroy exported pools (or at least one of them was
> exported).
> 
> I hope ZFS won't get too worried about them if I do this an they're not
> both imported (thinking about moving LUNs over from a test system that
> had been using the same pool name).
> 


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

Reply via email to