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@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list