Virsh Isci Pool: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
Thomas (Diskussion | Beiträge) |
||
| Zeile 2: | Zeile 2: | ||
*[[Iscsi]] | *[[Iscsi]] | ||
=Virsh XML Definition= | =Virsh XML Definition= | ||
| + | *cat virsh-scsi.xml | ||
<pre> | <pre> | ||
<pool type="iscsi"> | <pool type="iscsi"> | ||
| Zeile 14: | Zeile 15: | ||
</pool> | </pool> | ||
</pre> | </pre> | ||
| + | =Pool definieren= | ||
| + | *virsh pool-define virsh-scsi.xml | ||
| + | =Pools listen= | ||
| + | *virsh pool-list --all | ||
| + | Name State Autostart | ||
| + | ------------------------------------------- | ||
| + | default active yes | ||
| + | ISO active yes | ||
| + | media active yes | ||
| + | qemu active yes | ||
| + | virtimages inactive no | ||
Version vom 2. April 2017, 16:39 Uhr
Linux Isci
Virsh XML Definition
- cat virsh-scsi.xml
<pool type="iscsi">
<name>virtimages</name>
<source>
<host name="doom.xinux.lan"/>
<device path="iqn.2020-12.org.xinux.doom:storage"/>
</source>
<target>
<path>/dev/disk/by-path</path>
</target>
</pool>
Pool definieren
- virsh pool-define virsh-scsi.xml
Pools listen
- virsh pool-list --all
Name State Autostart ------------------------------------------- default active yes ISO active yes media active yes qemu active yes virtimages inactive no