Hi Kent, This is what I do in similar situations:
1. Import the pool to be destroyed by using the ID. In your case, like this: # zpool import 3280066346390919920 If tank already exists you can also rename it: # zpool import 3280066346390919920 tank2 Then destroy it: # zpool destroy tank2 I wish we had a zpool destroy option like this: # zpool destroy -really_dead tank2 Cindy ----- Original Message ----- From: Kent Watsen <k...@watsen.net> Date: Saturday, June 20, 2009 3:02 pm Subject: [zfs-discuss] how to destroy a pool by id? To: zfs-discuss@opensolaris.org > Over the course of multiple OpenSolaris installs , I first created a > pool called "tank" and then, later and resusing some of the same > drives, I created another pool called tank. I can `zpool export tank`, > but when I `zpool import tank`, I get: > > > > bash-3.2# zpool import tank > > cannot import 'tank': more than one matching pool > > import by numeric ID instead > > > > > Then, using just `zpool import` I see the IDs: > > > > bash-3.2# zpool import > > pool: tank > > id: 15608629750614119537 > > state: ONLINE > > action: The pool can be imported using its name or numeric > identifier. > > config: > > > > tank ONLINE > > raidz2 ONLINE > > c3t0d0 ONLINE > > c3t4d0 ONLINE > > c4t0d0 ONLINE > > c4t4d0 ONLINE > > c5t0d0 ONLINE > > c5t4d0 ONLINE > > raidz2 ONLINE > > c3t1d0 ONLINE > > c3t5d0 ONLINE > > c4t1d0 ONLINE > > c4t5d0 ONLINE > > c5t1d0 ONLINE > > c5t5d0 ONLINE > > > > pool: tank > > id: 3280066346390919920 > > state: ONLINE > > status: The pool was last accessed by another system. > > action: The pool can be imported using its name or numeric > identifier and > > the '-f' flag. > > see: http://www.sun.com/msg/ZFS-8000-EY > > config: > > > > tank ONLINE > > raidz2 ONLINE > > c4t1d0p0 ONLINE > > c3t1d0p0 ONLINE > > c4t4d0p0 ONLINE > > c3t4d0p0 ONLINE > > c3t5d0p0 ONLINE > > c3t0d0p0 ONLINE > > > > > How can I destroy the pool 3280066346390919920 so I do have to > specify the ID to import tank in the future? > > > > Thanks, > > kent > > > > > > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss