Sunday, September 6, 2009

Find missing zpool

I replaced my OS disk and now only the rpool was visible using zpool status. In order to see other existing pools run zpool import without options:

# zpool import
  pool: dawpool
    id: 8233866255479348343
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:

        dawpool     ONLINE
          raidz1    ONLINE
            c8t0d0  ONLINE
            c8t1d0  ONLINE
            c8t2d0  ONLINE
        spares
          c8t3d0

There it is again my raidz pool ready to be imported