
Hi Dan, Thanks for the info, /Jack
-----邮件原件----- 发件人: libvir-list-bounces@redhat.com [mailto:libvir-list-bounces@redhat.com] 代表 Daniel P. Berrange 发送时间: 2007年10月18日 23:28 收件人: Jack Meng 抄送: libvir-list@redhat.com; mengran@tsinghua.org.cn 主题: Re: [Libvir] Is it possible to add an interface to intercept themigration process?
On Thu, Oct 18, 2007 at 05:29:53PM +0800, Jack Meng wrote:
Thanks for your reply. 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.
Frankly this is a a solved problem already. If you need persistent device names, don't use /dev/sdN.
With SAN you can use device mapper multipath to make your devices appear as /dev/mpath/<WWN> where WWN is the world world name for the LUN. Or you can setup udev rules to give a similar persistent name. 'man scsi_id'
Re-writing config files in Xen or libvir is just the wrong place todo this.
Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
-- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list