Hi,

After a succesful pilot with Logical Domains using 1.0.3 and Solaris 10 update 
5 (127127-11) our company have moved to launch a new project based on this 
technology.  All has been going well, apart from what appears to be a rather 
concerning issue.  After a reboot of the control domain by our tools team, I 
have noticed the following, which I'm sure is "a bad thing"(tm).  

Please can anyone shed light on why I might have the same LDC for 2 separate 
logical domains?  I have had a search through the release notes and bug list, 
but with no luck so far.

Here is the output of "ldm list-bindings -e | grep vdisk | grep primary"

    ldom-01 ldom01-vol at primary-vds0      disk at 0  primary        4
    ldom-02 ldom02-vol at primary-vds0      disk at 0  primary        24
    ldom-03 ldom03-vol at primary-vds0      disk at 0  primary        12
    ldom-04 ldom04-vol at primary-vds0      disk at 0  primary        16
    ldom-05 ldom05-vol at primary-vds0      disk at 0  primary        20
    ldom-06 ldom06-vol at primary-vds0      disk at 0  primary        24

Notice the LDC numbers on the right hand side.  Surely 24 should not be reused 
for 2 different LDOMs?  As I understand it, the LDC channels should be uniquely 
allocated, point-to-point connections.

The vdsdevs are zfs zvols, all in one zpool.

# ldm ls -l | grep zvol
    primary-vds0     ldom01-vol                  
/dev/zvol/dsk/ldom-zpool/ldom01-vol
                     ldom02-vol                  
/dev/zvol/dsk/ldom-zpool/ldom02-vol
                     ldom03-vol                  
/dev/zvol/dsk/ldom-zpool/ldom03-vol
                     ldom04-vol                  
/dev/zvol/dsk/ldom-zpool/ldom04-vol
                     ldom05-vol                  
/dev/zvol/dsk/ldom-zpool/ldom05-vol
                     ldom06-vol                  
/dev/zvol/dsk/ldom-zpool/ldom06-vol

If I stop and unbind all the ldoms, and then rebind them one by one, I get no 
issues, no duplicate LDCs:

    ldom-01 ldom01-vol at primary-vds0      disk at 0  primary        4
    ldom-02 ldom02-vol at primary-vds0      disk at 0  primary        8
    ldom-03 ldom03-vol at primary-vds0      disk at 0  primary        12
    ldom-04 ldom04-vol at primary-vds0      disk at 0  primary        16
    ldom-05 ldom05-vol at primary-vds0      disk at 0  primary        20
    ldom-06 ldom06-vol at primary-vds0      disk at 0  primary        24


As a first pass, is there a bug/patch that I am likely to be missing - has 
anyone seen anything like this before?

Thanks in advance,

Paul.
--
This message posted from opensolaris.org

Reply via email to