Re: [Qemu-devel] [Qemu/Virtio-scsi]The feature of 'raw device mapping' cannot isolate the LUN to the owning virtual machine

2014-01-27 Thread Paolo Bonzini
Il 27/01/2014 03:50, Qixiaozhen ha scritto: A scsi report command was executed in the instance, for example “sg_luns /dev/vdb”. However, It returned the list of the Luns in the SAN. This is a known problem in virtio-blk's SCSI emulation. Just don't use it, use virtio-scsi or another SCSI

Re: [Qemu-devel] [Qemu/Virtio-scsi]The feature of 'raw device mapping' cannot isolate the LUN to the owning virtual machine

2014-01-27 Thread Qixiaozhen
Il 27/01/2014 03:50, Qixiaozhen ha scritto: A scsi report command was executed in the instance, for example sg_luns /dev/vdb. However, It returned the list of the Luns in the SAN. This is a known problem in virtio-blk's SCSI emulation. Just don't use it, use virtio-scsi or another

Re: [Qemu-devel] [Qemu/Virtio-scsi]The feature of 'raw device mapping' cannot isolate the LUN to the owning virtual machine

2014-01-27 Thread Paolo Bonzini
Il 27/01/2014 13:22, Qixiaozhen ha scritto: !-- #Raw Device Mapping with virtio-scsi## -- disk type='block' device='lun' driver name='qemu' type='raw' cache='none'/ source dev='/dev/mapper/360022a11ecba5db427db0023'/ target dev='vdb'

Re: [Qemu-devel] [Qemu/Virtio-scsi]The feature of 'raw device mapping' cannot isolate the LUN to the owning virtual machine

2014-01-27 Thread Stefan Hajnoczi
On Mon, Jan 27, 2014 at 02:50:04AM +, Qixiaozhen wrote: A instance was created by virsh command in the CentOS 6.4. The LUN in the Storage Array Network(SAN) was attached to the instance with the following xml. disk type='block' device='lun' driver name='qemu' type='raw'

Re: [Qemu-devel] [Qemu/Virtio-scsi]The feature of 'raw device mapping' cannot isolate the LUN to the owning virtual machine

2014-01-27 Thread Qixiaozhen
On Mon, Jan 27, 2014 at 02:50:04AM +, Qixiaozhen wrote: A instance was created by virsh command in the CentOS 6.4. The LUN in the Storage Array Network(SAN) was attached to the instance with the following xml. disk type='block' device='lun' driver name='qemu' type='raw'

[Qemu-devel] [Qemu/Virtio-scsi]The feature of 'raw device mapping' cannot isolate the LUN to the owning virtual machine

2014-01-26 Thread Qixiaozhen
Hi,all A instance was created by virsh command in the CentOS 6.4. The LUN in the Storage Array Network(SAN) was attached to the instance with the following xml. disk type='block' device='lun' driver name='qemu' type='raw' cache='none'/ source