On Wed, Jan 27, 2016 at 09:53:52AM +0200, Nir Soffer wrote:
>
> Also we should get rid of '/rhev/' in start of mount points IMO. How
> about '/var/lib/ovirt-hostd/mounts/' or something like that?
We want to use /run/ovirt-host/storage/ for that, but this is hard change,
since it breaks migration to from hosts using different vdsm versions.
New vms expect the disks at /rhev/data-center and old vms at /rhev/data-center/
Maybe we can change disks path during migartion on the destination, but
migrating vms to older hosts will be impossible, as the vdsm on the older
machine does not support such manipulation.
This may be costly, but we can have have a libvirt migration hook run on
the source AND the destination hosts. The source hook would convert
everything to /rhev/data-center/ to fit old hosts; new hosts would
re-convert it to /var/run/ovirt-hostd.