Ricardo Correia
2006-Jun-09 23:06 UTC
[zfs-code] ztest not resilvering with 20060605 sources?
Hi again,
I think I found another problem in the current (20060605) sources. I was
running ztest for about 2 hours and I started checking the pool layout
with ''zdb -U -s ztest'' at the same time. I noticed that none
of the replacing
vdevs were disappearing, even after an hour.
By the way, I believe ztest was running with the default
''vdev_attach_detach =
rarely''.
Could you try to reproduce this in OpenSolaris? My Nexenta system seems to be
working correctly, but it''s using an old build (OpenSolaris Build #36).
To be sure it wasn''t a Linux port specific bug, I reverted the source
back to
20060519 and now it seems to be working correctly. I haven''t tried to
analyze
the problem.
Here''s an output of the misbehaving test, after about 3 hours of ztest
(with
lots of replacing vdevs):
wizeman at wizy ~ $ /usr/sbin/zdb -U -s ztest
capacity operations bandwidth ---- errors ----
description used avail read write read write read write cksum
ztest 249M 227M 29 0 50.5K 0 0 0 0
mirror 125M 113M 8 0 11.5K 0 0 0 0
raidz1 3 0 6.50K 0 0 0 0
replacing 1 0 1K 0 0 0 0
/tmp/ztest.0a/old 0 0 0 0 0 0 0
/tmp/ztest.0a 514 0 625K 0 0 0 0
/tmp/ztest.1a 258 0 369K 0 0 0 0
replacing 3 0 2.50K 0 0 0 0
/tmp/ztest.2b 516 0 627K 0 0 0 0
/tmp/ztest.2a 325 0 436K 0 0 0 0
/tmp/ztest.3a 335 0 446K 0 0 0 0
raidz1 5 0 5.00K 0 0 0 0
replacing 5 0 3.00K 0 0 0 0
/tmp/ztest.4b 518 0 627K 0 0 0 0
/tmp/ztest.4a 513 0 624K 0 0 0 0
replacing 0 0 0 0 0 0 0
/tmp/ztest.5a 289 0 400K 0 0 0 0
/tmp/ztest.5b 513 0 624K 0 0 0 0
/tmp/ztest.6a 503 0 614K 0 0 0 0
/tmp/ztest.7b 514 0 625K 0 0 0 0
mirror 125M 113M 21 0 39.0K 0 0 0 0
raidz1 9 0 14.0K 0 0 0 0
replacing 1 0 1K 0 0 0 0
/tmp/ztest.8b 514 0 625K 0 0 0 0
/tmp/ztest.8a 300 0 411K 0 0 0 0
replacing 7 0 5.50K 0 0 0 0
/tmp/ztest.9a 408 0 518K 0 0 0 0
/tmp/ztest.9b 513 0 624K 0 0 0 0
/tmp/ztest.10b 517 0 628K 0 0 0 0
/tmp/ztest.11a 320 0 430K 0 0 0 0
raidz1 12 0 25.0K 0 0 0 0
/tmp/ztest.12b 518 0 630K 0 0 0 0
/tmp/ztest.13b 519 0 629K 0 0 0 0
/tmp/ztest.14b 521 0 631K 0 0 0 0
replacing 9 0 8K 0 0 0 0
/tmp/ztest.15b 522 0 632K 0 0 0 0
/tmp/ztest.15a 497 0 608K 0 0 0 0