On Thu, Aug 04, 2011 at 11:58:47PM +0200, Eugen Leitl wrote:
> On Thu, Aug 04, 2011 at 02:43:30PM -0700, Larry Liu wrote:
> >
> >> root@nexenta:/export/home/eugen# zpool add tank log /dev/dsk/c3d1p0
> >
> > You should use c3d1s0 here.
> >
> >> Th
> >> root@nexenta:/export/home/eugen# zpool add tank cache /dev/dsk/c3d1p1
> >
> > Use c3d1s1.
> 
> Thanks, that did the trick!
> 
> root@nexenta:/export/home/eugen# zpool status tank
>   pool: tank
>  state: ONLINE
>  scan: scrub repaired 0 in 0h0m with 0 errors on Fri Aug  5 03:04:57 2011
> config:
> 
>         NAME        STATE     READ WRITE CKSUM
>         tank        ONLINE       0     0     0
>           raidz2-0  ONLINE       0     0     0
>             c0t0d0  ONLINE       0     0     0
>             c0t1d0  ONLINE       0     0     0
>             c0t2d0  ONLINE       0     0     0
>             c0t3d0  ONLINE       0     0     0
>         logs
>           c3d1s0    ONLINE       0     0     0
>         cache
>           c3d1s1    ONLINE       0     0     0
> 
> errors: No known data errors

Hmm, it doesn't seem to last more than a couple hours
under test load (mapped as a CIFS share receiving a
bittorrent download with 10 k small files in it at
about 10 MByte/s) before falling from the pool:

root@nexenta:/export/home/eugen# zpool status tank
  pool: tank
 state: DEGRADED
status: One or more devices are faulted in response to persistent errors.
        Sufficient replicas exist for the pool to continue functioning in a
        degraded state.
action: Replace the faulted device, or use 'zpool clear' to mark the device
        repaired.
 scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        tank        DEGRADED     0     0     0
          raidz2-0  ONLINE       0     0     0
            c0t0d0  ONLINE       0     0     0
            c0t1d0  ONLINE       0     0     0
            c0t2d0  ONLINE       0     0     0
            c0t3d0  ONLINE       0     0     0
        logs
          c3d1s0    FAULTED      0     4     0  too many errors
        cache
          c3d1s1    FAULTED     13 7.68K     0  too many errors

errors: No known data errors

dmesg sez

Aug  5 05:53:26 nexenta EVENT-TIME: Fri Aug  5 05:53:26 CEST 2011
Aug  5 05:53:26 nexenta PLATFORM: ProLiant-MicroServer, CSN: CN7051P024, 
HOSTNAME: nexenta
Aug  5 05:53:26 nexenta SOURCE: zfs-diagnosis, REV: 1.0
Aug  5 05:53:26 nexenta EVENT-ID: 516e9c7c-9e29-c504-a422-db37838fa676
Aug  5 05:53:26 nexenta DESC: A ZFS device failed.  Refer to 
http://sun.com/msg/ZFS-8000-D3 for more information.
Aug  5 05:53:26 nexenta AUTO-RESPONSE: No automated response will occur.
Aug  5 05:53:26 nexenta IMPACT: Fault tolerance of the pool may be compromised.
Aug  5 05:53:26 nexenta REC-ACTION: Run 'zpool status -x' and replace the bad 
device.
Aug  5 05:53:39 nexenta fmd: [ID 377184 daemon.error] SUNW-MSG-ID: ZFS-8000-FD, 
TYPE: Fault, VER: 1, SEVERITY: Major
Aug  5 05:53:39 nexenta EVENT-TIME: Fri Aug  5 05:53:39 CEST 2011
Aug  5 05:53:39 nexenta PLATFORM: ProLiant-MicroServer, CSN: CN7051P024, 
HOSTNAME: nexenta
Aug  5 05:53:39 nexenta SOURCE: zfs-diagnosis, REV: 1.0
Aug  5 05:53:39 nexenta EVENT-ID: 3319749a-b6f7-c305-ec86-d94897dde85b
Aug  5 05:53:39 nexenta DESC: The number of I/O errors associated with a ZFS 
device exceeded
Aug  5 05:53:39 nexenta              acceptable levels.  Refer to 
http://sun.com/msg/ZFS-8000-FD for more information.
Aug  5 05:53:39 nexenta AUTO-RESPONSE: The device has been offlined and marked 
as faulted.  An attempt
Aug  5 05:53:39 nexenta              will be made to activate a hot spare if 
available.
Aug  5 05:53:39 nexenta IMPACT: Fault tolerance of the pool may be compromised.
Aug  5 05:53:39 nexenta REC-ACTION: Run 'zpool status -x' and replace the bad 
device.

-- 
Eugen* Leitl <a href="http://leitl.org";>leitl</a> http://leitl.org
______________________________________________________________
ICBM: 48.07100, 11.36820 http://www.ativel.com http://postbiota.org
8B29F6BE: 099D 78BA 2FD3 B014 B08A  7779 75B0 2443 8B29 F6BE
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to