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

Reply via email to