How to assign two disks to different targets with virtio-scsi
Hi,
I creates a VM with two virtio-scsi disk attached with the help of the yaml script. The content looks like as below:
OMU:
type: OS::Nova::Server
properties:
name: OMU
image: { get_param: ipxe_image_name }
flavor: { get_param: flavor_omu }
block_device_mapping_v2:
- { "boot_index": 1, "disk_bus": scsi, "device_name": sda, "volume_id": { get_param: disk0} }
- { "boot_index": 2, "disk_bus": scsi, "device_name": sdb, "volume_id": { get_param: disk1} }
networks: { get_attr: [OMU_ports, port-map] }
Then the two disks are always attached to the same target. Is it possible to assign two disks to different targets?
Thanks
Br. Yafeng