Re: Different SAS controller IDs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 12, 2012 at 02:09:12PM +0400, Anton Nikiforov wrote:
> Dear All,
> 
> I have problem with setting up migration on Intel Multi-Flex server.
> The problem is that SAS controller IDs (and volume ids in
> /dev/disk/by-path directory) are different between nodes.
> 
> For example on node0 i have:
> lrwxrwxrwx 1 root root  9 Jun 29 07:20
> pci-0000:04:00.0-sas-0x500015500002040a-lun-0 -> ../../sda
> lrwxrwxrwx 1 root root 10 May 27 09:17
> pci-0000:04:00.0-sas-0x500015500002040a-lun-0-part1 -> ../../sda1
> .......
> 
> On node1 i have:
> lrwxrwxrwx 1 root root  9 Jul 12 21:19
> /dev/disk/by-path/pci-0000:04:00.0-sas-0x5000155000020409-lun-0 ->
> ../../sda
> lrwxrwxrwx 1 root root 10 Jul 12 21:19
> /dev/disk/by-path/pci-0000:04:00.0-sas-0x5000155000020409-lun-0-part1
> -> ../../sda1
> ........
> 
> Difference is in 0x500015500002040a and 0x5000155000020409
> But this is the matter of migration falure because migration script
> cannot find needed volume.
> 
> Is there any chance to fix it somehow?

Have you tried using /dev/disk/by-id/ aliases instead ?  IIRC, those are
based on the SCSI volume WWID which should be stable across any host
seeing the LUN

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux