Zpool import – cannot import: one or more devices is currently unavailable

solariszfs

I have moved a ZFS pool from one SunFire server running some pre-release of Solaris 11 to another server running latest Solaris 10 and now can't import it. It was properly zfs export from the old one. At the same time I migrated one another zpool (extpool2) and it imported just fine. Here is what I get on the new server:

root@kria ~ # zpool import
  pool: extpool
    id: 8401594403030600070
 state: ONLINE
status: The pool is formatted using an older on-disk version.
action: The pool can be imported using its name or numeric identifier, though
        some features will not be available without an explicit 'zpool upgrade'.
config:

        extpool      ONLINE
          raidz1-0   ONLINE
            c2t8d0   ONLINE
            c2t10d0  ONLINE
            c2t12d0  ONLINE
            c2t14d0  ONLINE

root@kria ~ # zpool import -f extpool
cannot import 'extpool': one or more devices is currently unavailable

But they are available – all 4 are online, /dev/ entries are there and they show up in format device list. The extpool zfs version is 31 (I checked that before moving it) and the host supports at least ver 32 (checked its rpool version).

I also did zdb -l and got this failure:

root@kria ~ # zdb -l /dev/dsk/c2t8d0
------------------------------------------
LABEL 0
------------------------------------------
------------------------------------------
LABEL 1
------------------------------------------
failed to unpack label 1
------------------------------------------
LABEL 2
------------------------------------------
------------------------------------------
LABEL 3 - CONFIG MATCHES LABEL 2
------------------------------------------

Any idea what to do?

Best Answer

Apparently there is incompatibility between Solaris 11 and Solaris 10 - ZFS Encryption and ZFS Deduplication. Although they are supported from ZFS version 31 and 21 respectively on Solaris 11 they aren't supported on Solaris 10 at all even though it supports up to version 32 :(

Hint: zpool upgrade -v for a list of supported features.

Related Question