Libvirt-iscsi: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „=create a file= /etc/libvirt/storage/isci.xml <pool type='iscsi'> <name>iscsi</name> <source> <host name='192.168.240.1'/> <device path='iqn.2…“) |
Thomas (Diskussion | Beiträge) |
||
| (2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
=create a file= | =create a file= | ||
| − | /etc/libvirt/storage/ | + | /etc/libvirt/storage/iscsi.xml |
<pool type='iscsi'> | <pool type='iscsi'> | ||
<name>iscsi</name> | <name>iscsi</name> | ||
| Zeile 11: | Zeile 11: | ||
</target> | </target> | ||
</pool> | </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 | ||
Aktuelle Version vom 8. September 2014, 12:49 Uhr
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