[xen-discuss] iSCSI and migrations
James C. McPherson
James.McPherson at Sun.COM
Thu Sep 25 08:11:19 PDT 2008
John Levon wrote:
> On Wed, Sep 24, 2008 at 12:45:31PM -0700, Joseph Mocker wrote:
>
>> The problem I see is that you cannot be guaranteed that the device name
>> that the iSCSI target gets mapped to on each system will be the same. In
>> my test rig, for example, I see:
>>
>>
>> on host1: /dev/rdsk/c2t010000144F40979800002A0048D97F70d0s2
>> on host2: /dev/rdsk/c4t010000144F40979800002A0048D97F70d0s2
>>
>> (Notice the controller number differs.)
>>
>> For now, I have worked around this with the use of symlinks to the
>> devices which are then specified in the domain config rather than these
>> dev links above.
>
> Seems like a reasonable work around.
>
> It would be nice to be able to open by a meaningful Device ID such as
> the Alias value, but iSCSI on Solaris falls far short here.
Hi John,
surely the ldi_open_by_devid function would be useful here?
The devid really shouldn't be changing, not even with iSCSI.
James C. McPherson
--
Senior Kernel Software Engineer, Solaris
Sun Microsystems
http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog
More information about the xen-discuss
mailing list