Virtio scsi assign cinder volumes to different targets

asked 2017-09-21 22:10:21 -0500

yafeng gravatar image

Hi,

Two disks are configured and attached to on SCSI controller, but two disks are attached to one target. Is it possible to attach two disks to different targets?

</disk> <disk type="block" device="disk"> <driver name="qemu" type="raw" cache="none" io="native"/> <source dev="/dev/disk/by-path/ip-192.168.13.7:3260-iscsi-iqn.2010-10.org.openstack:volume-7b894c9d-fe25-4ee4-96fa-2b5947f7758f-lun-0"/> <target dev="sda" bus="scsi"/> <serial>7b894c9d-fe25-4ee4-96fa-2b5947f7758f</serial>

</disk> <disk type="block" device="disk"> <driver name="qemu" type="raw" cache="none" io="native"/> <source dev="/dev/disk/by-path/ip-192.168.13.7:3260-iscsi-iqn.2010-10.org.openstack:volume-6d75e7b8-39b2-4209-9fe9-b2de953a7e01-lun-0"/> <target dev="sdb" bus="scsi"/> <serial>6d75e7b8-39b2-4209-9fe9-b2de953a7e01</serial>
</disk> <controller type="usb" index="0">
</controller> <controller type="pci" index="0" model="pci-root"/> <controller type="scsi" index="0">
</controller>

Could you help check it?

Thanks in advance.

BR. Yafeng

edit retag flag offensive close merge delete