I don't think it would be safe at any rate to have the ISO images be
written to while kvm is reading them. Would it be ok to work around
this another way?
This way you can still minimize network traffic, while syncing to a
temporary copy. After the 'rm orig.iso', libvirt and kvm will
continue to use the original, deleted file, until they close it.
Then, the next time they open 'orig.iso', they'll get the new file.
Would that be conceivable with your mirroring setup?
I don't think it would be safe at any rate to have the ISO images be
written to while kvm is reading them. Would it be ok to work around
this another way?
Perhaps the right way to update the ISOs is:
cp orig.iso new.iso //updated_ iso.iso new.iso
rsync -Pv mirror:
rm orig.iso
mv new.iso orig.iso
This way you can still minimize network traffic, while syncing to a
temporary copy. After the 'rm orig.iso', libvirt and kvm will
continue to use the original, deleted file, until they close it.
Then, the next time they open 'orig.iso', they'll get the new file.
Would that be conceivable with your mirroring setup?