Maurilio Longo
2009-Jul-09 07:33 UTC
[zfs-discuss] zpool replace leaves pool degraded after resilvering
Hi, I have a pc where a pool suffered a disk failure, I did replace the failed disk and the pool resilvered but, after resilvering, it was in this state maurilio at biscotto:~# zpool status iscsi pool: iscsi 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: resilver completed after 12h33m with 0 errors on Thu Jul 9 00:07:12 2009 config: NAME STATE READ WRITE CKSUM iscsi DEGRADED 0 0 0 mirror ONLINE 0 0 0 c2t0d0 ONLINE 0 0 0 c2t5d0 ONLINE 0 0 0 mirror ONLINE 0 0 0 c2t6d0 ONLINE 0 0 0 c2t8d0 ONLINE 0 0 0 mirror ONLINE 0 0 0 c11t0d0 ONLINE 0 0 0 c11t1d0 ONLINE 0 0 0 mirror DEGRADED 0 0 0 c11t2d0 ONLINE 0 0 0 c11t3d0 DEGRADED 0 0 23,0M too many errors cache c1t4d0 ONLINE 0 0 0 errors: No known data errors It says it resilvered ok and that there are no known data errors, but pool is still marked as degraded. I did a zpool clear and now it says it is ok maurilio at biscotto:~# zpool status pool: iscsi state: ONLINE scrub: resilver completed after 12h33m with 0 errors on Thu Jul 9 00:07:12 2009 config: NAME STATE READ WRITE CKSUM iscsi ONLINE 0 0 0 mirror ONLINE 0 0 0 c2t0d0 ONLINE 0 0 0 c2t5d0 ONLINE 0 0 0 mirror ONLINE 0 0 0 c2t6d0 ONLINE 0 0 0 c2t8d0 ONLINE 0 0 0 mirror ONLINE 0 0 0 c11t0d0 ONLINE 0 0 0 c11t1d0 ONLINE 0 0 0 mirror ONLINE 0 0 0 c11t2d0 ONLINE 0 0 0 c11t3d0 ONLINE 0 0 0 326G resilvered cache c1t4d0 ONLINE 0 0 0 errors: No known data errors Look at c11t3d0 which now reads 326G resilvered; my question is: is the pool ok? Why had I to issue a zpool clear if the resilvering process completed without problems? Best regards. Maurilio. -- This message posted from opensolaris.org
Maurilio Longo
2009-Jul-09 07:51 UTC
[zfs-discuss] zpool replace leaves pool degraded after resilvering
I forgot to mention this is a SunOS biscotto 5.11 snv_111a i86pc i386 i86pc version. Maurilio. -- This message posted from opensolaris.org