[zfs-discuss] destroy pool by id?

2006-09-27 Thread Neelakanth Nadgir
Is it possible to destroy a pool by ID? I created two pools with the same name, and want to destroy one of them -neel ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Re: [zfs-discuss] destroy pool by id?

2006-09-27 Thread Neelakanth Nadgir
Sorry, But i was able to dd zero's to the devices zpool status gave for the incorrect zpool, and made it disappear. There are two possible cases that could have made this happen 1. When I first created the zpool (zpool create zfsdata ...) I control-c'd the command. I ran it to completion the

Re: [zfs-discuss] destroy pool by id?

2006-09-27 Thread Darren Dunham
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

Re: [zfs-discuss] destroy pool by id?

2006-09-27 Thread Neelakanth Nadgir
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