I just attached an unused ZFS (version 14) disk to another (version 13) to form a mirror, supposedly destroying the old disk. However, zpool resilver went bidirectionally, and reported incorrect time both during and after completion: $ zpool status pool: mypool state: ONLINE scrub: resilver completed after 307445734561825858h7m with 0 errors on Sun Jul 11 05:44:51 2010 config: NAME STATE READ WRITE CKSUM mypool ONLINE 0 0 0 mirror ONLINE 0 0 0 ad4 ONLINE 0 0 0 528M resilvered ad6 ONLINE 0 0 0 1.11T resilvered errors: No known data errors $ 1. Resilver time should not be 307445734561825858h7m 2. zpool resilver should be unidirectional (from "master" to "slave"), why did it resilvered both ways (528M and 1.11T)?
Responsible Changed From-To: freebsd-bugs->freebsd-fs reassign to zfs team
The fix for this problem is part of the upcoming upgrade of ZFS to v15. A patch for 8-STABLE and 8.1-RELEASE users will be provided.
Thanks Martin for the info. I'm just wondering... does this problem affect the integrity of the data = on the mirror at all? I mean... did it actually perform a = bi-directional resilvering? Could it have corrupted my data? Alvin On 12 Jul 2010, at 5:11 AM, Martin Matuska wrote: > The fix for this problem is part of the upcoming upgrade of ZFS to = v15. > A patch for 8-STABLE and 8.1-RELEASE users will be provided. Alvin Poon aspoon@gmail.com
No, there is no data corruption. Just some data is read from the source drive and then written to both drives instead only to the resilvering drive (this is actually a waste of resources). DÅa 14. 7. 2010 17:41, Alvin Poon wrote / napÃsal(a): > Thanks Martin for the info. > > I'm just wondering... does this problem affect the integrity of the data on the mirror at all? I mean... did it actually perform a bi-directional resilvering? Could it have corrupted my data? > > Alvin > > On 12 Jul 2010, at 5:11 AM, Martin Matuska wrote: > > >> The fix for this problem is part of the upcoming upgrade of ZFS to v15. >> A patch for 8-STABLE and 8.1-RELEASE users will be provided. >> > Alvin Poon > aspoon@gmail.com > > > >
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
I don't know how to test this easily, but given Martin's comment, the problem has been fixed long time ago.
^Triage: I'm sorry that this PR did not get addressed in a timely fashion. By now, the version that it was created against is long out of support. As well, many newer versions of ZFS have been imported. Please re-open if it is still a problem on a supported version.