>>That is because drive-mirror checks the whole disk for allocated areas.
Oh, ok, that's why I'm seeing a lot of lseek in strace lseek(21, 1447493632, 0x4 /* SEEK_??? */) = 107374182400 lseek(21, 1447559168, 0x3 /* SEEK_??? */) = 1447559168 lseek(21, 1447559168, 0x4 /* SEEK_??? */) = 107374182400 lseek(21, 1447624704, 0x3 /* SEEK_??? */) = 1447624704 lseek(21, 1447624704, 0x4 /* SEEK_??? */) = 107374182400 lseek(21, 1447690240, 0x3 /* SEEK_??? */) = 1447690240 lseek(21, 1447690240, 0x4 /* SEEK_??? */) = 107374182400 ... >>We are aware of that and Fam (CCed) is working on it. Thanks for the >>report nevertheless! Ok, thanks ! ----- Mail original ----- De: "pbonzini" <pbonz...@redhat.com> À: "aderumier" <aderum...@odiso.com>, "qemu-devel" <qemu-devel@nongnu.org>, "Fam Zheng" <f...@redhat.com> Envoyé: Lundi 11 Mai 2015 13:46:54 Objet: Re: qmp block-mirror hang, lots of nfs op/s on nfs source disk On 11/05/2015 13:38, Alexandre DERUMIER wrote: > Hi, > > I'm currently playing with drive-mirror, (qemu 2.2) > > and I have qmp hang when drive-mirror is starting. > > just after qmp "drive-mirror" exec, qmp socket or hmp are not > responding. > > After some times it's working again, and I can see result of > query-block-jobs. > > > The source volume is on nfs (v4), and it seem that the bigger the > volume is, the bigger I need to wait before the mirror begin. That is because drive-mirror checks the whole disk for allocated areas. We are aware of that and Fam (CCed) is working on it. Thanks for the report nevertheless! Paolo