I got 16 disks in total.
4 HDDs connected via Sata, 3 of them are setup in the array, 1 is pass through to Syno.
1 SSD is used as Cache.
Other 11 HDDs are connected via usb adapter.
The issues is with the 11 HDDs connected via usb adapter., not all of them can be recognized.
I can see them in the System Devices.
Also I can pass through them into VM by define the Address as below.
<hostdev mode='subsystem' type='usb' managed='yes'>
<source>
<address bus='2' device='7'/>
</source>
<address type='usb' bus='0' port='2'/>
</hostdev>
<hostdev mode='subsystem' type='usb' managed='yes'>
<source>
<address bus='2' device='8'/>
</source>
<address type='usb' bus='0' port='3'/>
</hostdev>
<hostdev mode='subsystem' type='usb' managed='yes'>
<source>
<address bus='2' device='9'/>
</source>
<address type='usb' bus='0' port='4'/>
</hostdev>
<hostdev mode='subsystem' type='usb' managed='yes'>
<source>
<address bus='2' device='10'/>
</source>
<address type='usb' bus='0' port='5'/>
</hostdev>
<hostdev mode='subsystem' type='usb' managed='yes'>
<source>
<address bus='2' device='11'/>
</source>
<address type='usb' bus='0' port='6'/>
</hostdev>
<hostdev mode='subsystem' type='usb' managed='yes'>
<source>
<address bus='2' device='12'/>
</source>
<address type='usb' bus='0' port='7'/>
</hostdev>
<hostdev mode='subsystem' type='usb' managed='yes'>
<source>
<address bus='2' device='13'/>
</source>
<address type='usb' bus='0' port='8'/>
</hostdev>
<hostdev mode='subsystem' type='usb' managed='yes'>
<source>
<address bus='2' device='14'/>
</source>
<address type='usb' bus='0' port='9'/>
</hostdev>
<hostdev mode='subsystem' type='usb' managed='yes'>
<source>
<address bus='2' device='15'/>
</source>
<address type='usb' bus='0' port='10'/>
</hostdev>
<hostdev mode='subsystem' type='usb' managed='yes'>
<source>
<address bus='2' device='16'/>
</source>
<address type='usb' bus='0' port='11'/>
</hostdev>
<hostdev mode='subsystem' type='usb' managed='yes'>
<source>
<address bus='2' device='17'/>
</source>
<address type='usb' bus='0' port='12'/>
</hostdev>
The problem is: how can I pass through them to a Docker?
I'm not able to define the PATH in docker if UD can't recognize them properly.