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

Re: [Xen-users] making scsi disks visible to RHEL 5 guest



Simon.. thanks for your reply.

The problem is that scsi commands are failing on xvd devices.
Few hours ago i renamed xvd devices are sd* devices in vm config file.
 scsi inquiry, TUR and few other commands are working on those sd*
devices in the guest. However, scsi reservation  commands (executed
using sg util) are failing with error "bad field in cdb including
unsupported service action".

Are some additional steps required to make scsi3 disks visible as
scsi3 in the guest. Or we just need to include line like this
->'phy:/dev/mapper/360060e80056509000000650900000260,xvdf,w!'     in
the config file for each scsi3 disk..????

(I replaced xvdf with sdf in the above line and few commands {scsi
inquiry/tur/read capacity} worked)


On Mon, Jan 16, 2012 at 2:53 PM, Simon Hobson <linux@xxxxxxxxxxxxxxxx> wrote:
> K Mehta wrote:
>
>>      I created an HVM type virtual machine and installed RHEL5U7
>> guest in it. I have assigned 7 scsi disks to the virtual machine in
>> physical mode (using phy:), however, I see those disks are xvd and not
>> as scsi.
>>      Is anyone aware what the problem might be ?
>
>
> There isn't one. All guest disks appear to the guest as xvd devices
> regardless of the underlying disk type. I believe this is done to avoid
> potential conflicts with real devices.
> --
> Simon Hobson
>
> Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
> author Gladys Hobson. Novels - poetry - short stories - ideal as
> Christmas stocking fillers. Some available as e-books.
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.