<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Richard W.M. Jones wrote:
<blockquote cite="mid:471729C5.5020806@redhat.com" type="cite">Jack
Meng wrote:
  <br>
  <blockquote type="cite">Hi Richard,
    <br>
    <br>
Thanks for your reply.
    <br>
Actually I'm thinking about how to recognize the same storage (probably
external), not things on them. Sometimes storages are shared between
hosts but have different paths to access, e.g., for fibre channel
storages. So an update to the conf file is probably needed here to let
the dest attach 'right' storages.
    <br>
    <br>
Mirroring/iSCSI is not the case I'm considering.
    <br>
  </blockquote>
  <br>
I'm still a bit unclear about what you're trying to do.  Is the
external storage mounted on the guest at the point when you're doing
the migration?  If it is connected then you'd need to umount it before
migration and mount it (with a new device name) afterwards.  Possibly
an update to /etc/fstab would be in order too.  This seems to preclude
live migration and requires cooperation from the guest during
migration, so no special support by the HV is required.  You can just
signal to the guest that it is about to be migrated and needs to do the
umount/rename and wait until after it has been migrated to signal it
again to remount.
  <br>
</blockquote>
Will  this hurt applications/services running on the guest?<br>
However, that is not my point. I'm thinking  about if hypervisors see
these external storages with different paths and they are attched to
guest as block devices.<br>
<br>
Best regards,<br>
Jack<br>
<br>
<blockquote cite="mid:471729C5.5020806@redhat.com" type="cite"><br>
If the external storage is actually your root filesystem then you are
probably s.o.l at this point.
  <br>
  <br>
Rich.
  <br>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
--
Libvir-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Libvir-list@redhat.com">Libvir-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/libvir-list">https://www.redhat.com/mailman/listinfo/libvir-list</a>
  </pre>
</blockquote>
<br>
</body>
</html>