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 _______________________________________________ xen-discuss mailing list [email protected]
