Hi,

I'm running snv_90 and created a Solaris 10 u4 HVM (solarisHVM1) guest domain.   I'm following this procedure to add a block device to my guest domain:

# xm block-list solarisHVM1
Vdev  BE handle state evt-ch ring-ref BE-path
768    0    0     1      -1     -1    /local/domain/0/backend/vbd/9/768

Create the image file
#dd if=/dev/zero of=/dom1/disk1.img bs=1024k seek=8192 count=1

Add block device
#xm block-attach solarisHVM1 file:/dom1/disk1.img 2 w

List block devices
#xm block-list solarisHVM1
Vdev  BE handle state evt-ch ring-ref BE-path
768    0    0     1      -1     -1    /local/domain/0/backend/vbd/10/768
2      0    0     1      -1     -1    /local/domain/0/backend/vbd/10/2

some output from
#xm list solarisHVM1 -l
(device
        (vbd
            (uname file:/domains/solarisHVM1/root.img)
            (uuid d843dcb0-3a20-ef2d-919d-6247a7a9dd21)
            (mode w)
            (dev hda:disk)
            (backend 0)
            (bootable 1)
        )
    )
    (device
        (vbd
            (uname file:/dom1/disk1.img)
            (uuid 6347a698-d345-0dba-709e-5155a0e60c4c)
            (mode w)
            (dev 2:disk)
            (backend 0)
            (bootable 0)
        )



After running devfsadm in my guest domain, the new device does not show up
# ls /dev/dsk
c0d0p0     c0d0s1     c0d0s15    c0d0s7     c1t0d0p3   c1t0d0s12  c1t0d0s4
c0d0p1     c0d0s10    c0d0s2     c0d0s8     c1t0d0p4   c1t0d0s13  c1t0d0s5
c0d0p2     c0d0s11    c0d0s3     c0d0s9     c1t0d0s0   c1t0d0s14  c1t0d0s6
c0d0p3     c0d0s12    c0d0s4     c1t0d0p0   c1t0d0s1   c1t0d0s15  c1t0d0s7
c0d0p4     c0d0s13    c0d0s5     c1t0d0p1   c1t0d0s10  c1t0d0s2   c1t0d0s8
c0d0s0     c0d0s14    c0d0s6     c1t0d0p2   c1t0d0s11  c1t0d0s3   c1t0d0s9

I tried different options, including adding the device while the domain was down and rebooting the solarisHVM1 domain, but nothing seem to work.  Previous to running snv_90 I was running svn_82 and that I was being affected by bug 6656611, which was fixed in snv_85.  However, I can not get it to work.

Any ideas,hints, suggestions, or corrections (if I'm doing something wrong) on how to solve this issue are much appreciated.

Thanks,


Jairo Cardozo
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to