2012-05-12 15:52, Jim Klimov wrote:
2012-05-11 14:22, Jim Klimov wrote:
What conditions can cause the reset of the resilvering
process? My lost-and-found disk can't get back into the
pool because of resilvers restarting...
Guess I must assume that the disk is dying indeed, losing
connection or something like that after a random time (my
resilvers restart after 15min-5hrs), and at least a run of
SMART long diags is in order, while the pool would try to
rebuild onto another disk (the hotspare) instead of trying
to update this one which was in the pool.
Well, I decided to bite the bullet and kick the original
disk from the pool after replacing it with the spare, and
to say the least, speed prognosis looks a lot better now,
about two times better in zpool's resilver progress/estimate
and by up to an order of magnitude better at iostat speeds:
Sat May 12 16:05:44 MSK 2012
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
571.0 5.4 52488.4 5.1 0.5 3.8 0.9 6.6 11 77 c0t1d0
589.4 5.6 52630.5 5.3 1.6 2.2 2.6 3.7 32 75 c4t3d0
562.0 6.2 52552.9 5.8 0.4 4.1 0.8 7.1 9 80 c6t5d0
582.4 6.2 52554.5 5.8 1.5 2.4 2.5 4.0 29 76 c7t6d0
0.0 591.0 0.0 52081.8 1.9 6.1 3.3 10.3 23 91 c5t6d0
Sat May 12 16:10:09 MSK 2012
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
248.4 0.1 14190.5 0.0 0.0 6.9 0.0 27.9 0 87 c0t1d0
247.9 0.1 14188.3 0.0 0.0 6.9 0.0 27.7 0 87 c4t3d0
248.3 0.1 14193.2 0.0 0.0 6.9 0.0 27.7 0 87 c6t5d0
245.1 0.1 14195.4 0.0 0.0 7.1 0.0 28.9 0 88 c7t6d0
0.1 214.4 0.6 13698.7 0.0 9.6 0.0 44.6 0 97 c5t6d0
Disk replacement was as follows: I kicked the hotspare from
the resilvering pool and reattached it, then I kicked the
original disk from the pair and attached it as a new hotspare.
Excerpt from the zpool history follows:
2012-05-12.10:13:03 zpool detach pond c5t6d0 [user root on thumper:global]
2012-05-12.15:58:31 [internal vdev attach txg:91072933] spare in
vdev=/dev/dsk/c5t6d0s0 for vdev=/dev/dsk/c1t2d0s0 [user root on thumper]
2012-05-12.15:59:08 zpool replace pond c1t2d0 c5t6d0 [user root on
thumper:global]
2012-05-12.16:02:06 zpool detach pond c1t2d0 [user root on thumper:global]
2012-05-12.16:04:35 zpool add pond spare c1t2d0 [user root on
thumper:global]
Hope this helps us, thanks for listening,
//Jim Klimov
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss