Libvirt-iscsi
Zur Navigation springen
Zur Suche springen
create a file
/etc/libvirt/storage/iscsi.xml
<pool type='iscsi'> <name>iscsi</name>
<host name='192.168.240.1'/>
<device path='iqn.2018-09.org.xinux:mordor-target'/> <target>
<path>/dev/disk/by-path</path>
</target>
</pool>
define the pool
virsh pool-define iscsi.xml
list pools
virsh pool-list
start pool
virsh pool-start iscsi
auto-start pools
virsh pool-autostart iscsi