Virsh Isci Pool: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
Thomas (Diskussion | Beiträge) |
||
| Zeile 26: | Zeile 26: | ||
qemu active yes | qemu active yes | ||
virtimages inactive no | virtimages inactive no | ||
| + | =Pool aktivieren= | ||
| + | *virsh pool-start virtimages | ||
| + | =Pool für den Autostart markieren= | ||
| + | *virsh pool-autostart virtimages | ||
Version vom 2. April 2017, 16:40 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
Pool aktivieren
- virsh pool-start virtimages
Pool für den Autostart markieren
- virsh pool-autostart virtimages