Evening,

I would like to report a problem regarding zfs mirror when using USB WD 
passports drives.
I have 2 x 500 GB WD Passport drives and Im trying to use them as a zone pool 
where
some zones are created. Everything is fine except when Im trying to disconnect 
a member
of a mirror. Somehow the ordering of the members changes and Im not able to 
reconnect
them and be discovered by ZFS unless I do export/import them again.

Below details:

0. Hdw:
Acer Ferrari 4000

1. OS:
# cat /etc/release
                  Solaris Express Community Edition snv_103 X86
           Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                           Assembled 17 November 2008


2. zpool import
# zpool status zones
  pool: zones
 state: ONLINE
 scrub: none requested
config:

        NAME          STATE     READ WRITE CKSUM
        zones         ONLINE       0     0     0
          mirror      ONLINE       0     0     0
            c7t0d0p0  ONLINE       0     0     0
            c8t0d0p0  ONLINE       0     0     0

errors: No known data errors


3. Disconnecting one disk, say c7t0d0p0. Looks good the results:
# zpool status zones                
  pool: zones
 state: DEGRADED
status: One or more devices has experienced an unrecoverable error.  An
        attempt was made to correct the error.  Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
        using 'zpool clear' or replace the device with 'zpool replace'.
   see: http://www.sun.com/msg/ZFS-8000-9P
 scrub: none requested
config:

        NAME          STATE     READ WRITE CKSUM
        zones         DEGRADED     0     0     0
          mirror      DEGRADED     0     0     0
            c7t0d0p0  REMOVED      0   167     0
            c8t0d0p0  ONLINE       0     0     0

errors: No known data errors


4. Reconnecting. Everything fine.
# zpool status zones                
  pool: zones
 state: ONLINE
status: One or more devices has experienced an unrecoverable error.  An
        attempt was made to correct the error.  Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
        using 'zpool clear' or replace the device with 'zpool replace'.
   see: http://www.sun.com/msg/ZFS-8000-9P
 scrub: none requested
config:

        NAME          STATE     READ WRITE CKSUM
        zones         ONLINE       0     0     0
          mirror      ONLINE       0     0     0
            c7t0d0p0  ONLINE       0   167     0
            c8t0d0p0  ONLINE       0     0     0

errors: No known data errors


5. Disconnecting the other disk. Problems occur:
# zpool status zones                
  pool: zones
 state: ONLINE
status: One or more devices has experienced an unrecoverable error.  An
        attempt was made to correct the error.  Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
        using 'zpool clear' or replace the device with 'zpool replace'.
   see: http://www.sun.com/msg/ZFS-8000-9P
 scrub: resilver completed after 0h0m with 0 errors on Sun Sep 13 20:58:02 2009
config:

        NAME          STATE     READ WRITE CKSUM
        zones         ONLINE       0     0     0
          mirror      ONLINE       0     0     0
            c7t0d0p0  ONLINE       0   167     0  294K resilvered
            c7t0d0p0  ONLINE       0     0     0  208K resilvered

errors: No known data errors


# zpool status zones                
  pool: zones
 state: DEGRADED
status: One or more devices could not be used because the label is missing or
        invalid.  Sufficient replicas exist for the pool to continue
        functioning in a degraded state.
action: Replace the device using 'zpool replace'.
   see: http://www.sun.com/msg/ZFS-8000-4J
 scrub: resilver completed after 0h0m with 0 errors on Sun Sep 13 20:58:02 2009
config:

        NAME          STATE     READ WRITE CKSUM
        zones         DEGRADED     0     0     0
          mirror      DEGRADED     0     0     0
            c7t0d0p0  ONLINE       0   167     0  294K resilvered
            c7t0d0p0  FAULTED      0   113     0  corrupted data

errors: No known data errors


I have disconnected c8t0d0p0 but zfs reports that c7t0d0p0 has been faulty !?
Any ideas what this is about ? The bug is related with kernel/zfs, or 
kernel/usb ?

Thanks,
Stefan
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to