Did you guys ever fix this, or get a bug number, or anything?  Should
I avoid that release?  I was about to install b96 for ZFS fixes but
this 'zpool import -f' problem looks bad.

Corey
-----8<-----
pr1# zpool offline tank c5t0d0s0
pr1# zpool status
  pool: rpool
 state: ONLINE
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        rpool       ONLINE       0     0     0
          c3t0d0s0  ONLINE       0     0     0

errors: No known data errors

  pool: tank
 state: DEGRADED
status: One or more devices has been taken offline by the administrator.
        Sufficient replicas exist for the pool to continue functioning
in a
        degraded state.
action: Online the device using 'zpool online' or replace the device
with
        'zpool replace'.
 scrub: none requested
config:

        NAME          STATE     READ WRITE CKSUM
        tank          DEGRADED     0     0     0
          raidz1      DEGRADED     0     0     0
            c5t0d0s0  OFFLINE      0     0     0
            c5t1d0s0  ONLINE       0     0     0
            c5t2d0s0  ONLINE       0     0     0
            c5t3d0s0  ONLINE       0     0     0

errors: No known data errors
pr1# zpool export tank
-------------------------------------------------------

I then disabled SNDR replication.
--------------------------------------------------------
pr1# sndradm -g zfs-tank -d
Disable Remote Mirror? (Y/N) [N]: Y
---------------------------------------------------------

Then I try to import the ZPOOL on the secondary.

------------------------------------------------------
pr2# zpool import
  pool: tank
    id: 9795707198744908806
 state: DEGRADED
status: One or more devices are offlined.
action: The pool can be imported despite missing or damaged devices.
The
        fault tolerance of the pool may be compromised if imported.
config:

        tank          DEGRADED
          raidz1      DEGRADED
            c5t0d0s0  OFFLINE
            c5t1d0s0  ONLINE
            c5t2d0s0  ONLINE
            c5t3d0s0  ONLINE
pr2# zpool import tank
cannot import 'tank': one or more devices is currently unavailable
pr2# zpool import -f tank
cannot import 'tank': one or more devices is currently unavailable
pr2#
-------------------------------------------------------

Importing on the primary gives the same error.
-----8<-----

Michael
-----8<-----
svn97 x86
# zpool import
  pool: tank
    id: 7268271257490786210
 state: DEGRADED
status: The pool was last accessed by another system.
action: The pool can be imported despite missing or damaged devices.  The
        fault tolerance of the pool may be compromised if imported.
   see: http://www.sun.com/msg/ZFS-8000-EY
config:

        tank        DEGRADED
          raidz1    DEGRADED
            c0d0s4  UNAVAIL  cannot open
            c0d1s4  ONLINE
            c2t1d0  ONLINE
            c4t1d0  ONLINE
            c3t0d0  ONLINE
            c1t0d0  ONLINE
            c1t1d0  ONLINE
            c2t0d0  ONLINE
          raidz1    ONLINE
            c3t1d0  ONLINE
            c4t3d0  ONLINE
            c4t2d0  ONLINE
            c4t0d0  ONLINE
            c4t4d0  ONLINE
            c4t5d0  ONLINE
            c4t6d0  ONLINE
            c4t7d0  ONLINE

----------------------- SNIP ----------------------------

# zpool import tank
cannot import 'tank': pool may be in use from other system, it was last 
accessed by  (hostid: 0x985b235) on Sat Sep  6 12:04:16 2008
use '-f' to import anyway
# zpool import -f tank
cannot import 'tank': one or more devices is currently unavailable
#
-----8<-----

Attachment: pgp9SzsknGdCY.pgp
Description: PGP signature

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to