i removed the files that were corrupted,scrubbed the datatank mirror and the 
did status -v datatank and i got this :

 pool: datatank
 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: scrub completed after 0h4m with 0 errors on Tue Jul  8 22:17:26 2008
config:

        NAME        STATE     READ WRITE CKSUM
        datatank    DEGRADED     0     0     4
          mirror    DEGRADED     0     0     4
            c5d0    DEGRADED     0     0     8  too many errors
            c7d0    DEGRADED     0     0     8  too many errors

errors: No known data errors
then i used the zpool clear command
zpool clear datatank :
and this it the output :
 pool: datatank
 state: ONLINE
 scrub: scrub completed after 0h4m with 0 errors on Tue Jul  8 22:17:26 2008
config:

        NAME        STATE     READ WRITE CKSUM
        datatank    ONLINE       0     0     0
          mirror    ONLINE       0     0     0
            c5d0    ONLINE       0     0     0
            c7d0    ONLINE       0     0     0

errors: No known data errors

But is this really ok ? because everytime i got a file corruption i can't do 
these steps. Btw the files aren't corrupt on my macbook so how come they get 
corrupted during the transport or on the mirror ?
and the error i mentioned on my boot disk is that of some vallue, i searched on 
the net and found the the package is related with iscsi but i have only sata 
and ata so.
 
 
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