mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-02 18:05:20 +00:00
docs: storage: Document SCSI pools
This commit is contained in:
parent
e563b3b326
commit
c5bad3ad21
@ -84,6 +84,11 @@
|
|||||||
only occur once. Contains a single attribute <code>path</code>
|
only occur once. Contains a single attribute <code>path</code>
|
||||||
which is the fully qualified path to the block device node.
|
which is the fully qualified path to the block device node.
|
||||||
<span class="since">Since 0.4.1</span></dd>
|
<span class="since">Since 0.4.1</span></dd>
|
||||||
|
<dt><code>adapter</code></dt>
|
||||||
|
<dd>Provides the source for pools backed by SCSI adapters. May
|
||||||
|
only occur once. Contains a single attribute <code>name</code>
|
||||||
|
which is the SCSI adapter name (ex. "host1").
|
||||||
|
<span class="since">Since 0.6.2</span></dd>
|
||||||
<dt><code>host</code></dt>
|
<dt><code>host</code></dt>
|
||||||
<dd>Provides the source for pools backed by storage from a
|
<dd>Provides the source for pools backed by storage from a
|
||||||
remote server. Will be used in combination with a <code>directory</code>
|
remote server. Will be used in combination with a <code>directory</code>
|
||||||
|
@ -25,6 +25,9 @@ libvirt.
|
|||||||
<li>
|
<li>
|
||||||
<a href="#StorageBackendISCSI">iSCSI backend</a>
|
<a href="#StorageBackendISCSI">iSCSI backend</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#StorageBackendSCSI">SCSI backend</a>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h2><a name="StorageBackendDir" id="StorageBackendDir">Directory pool</a></h2>
|
<h2><a name="StorageBackendDir" id="StorageBackendDir">Directory pool</a></h2>
|
||||||
@ -344,5 +347,39 @@ libvirt.
|
|||||||
<p>
|
<p>
|
||||||
The iSCSI volume pool does not use the volume format type element.
|
The iSCSI volume pool does not use the volume format type element.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<h2><a name="StorageBackendSCSI" id="StorageBackendSCSI">SCSI volume pools</a></h2>
|
||||||
|
<p>
|
||||||
|
This provides a pool based on a SCSI HBA. Volumes are preexisting SCSI
|
||||||
|
LUNs, and cannot be created via the libvirt APIs. Since /dev/XXX names
|
||||||
|
aren't generally stable, it is recommended to configure the pool
|
||||||
|
to use <code>/dev/disk/by-path</code> or <code>/dev/disk/by-id</code>
|
||||||
|
for the target path. These provide persistent stable naming for LUNs
|
||||||
|
<span class="since">Since 0.6.2</span></dd>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h3>Example pool input</h3>
|
||||||
|
<pre>
|
||||||
|
<pool type="scsi">
|
||||||
|
<name>virtimages</name>
|
||||||
|
<source>
|
||||||
|
<adapter name="host0"/>
|
||||||
|
</source>
|
||||||
|
<target>
|
||||||
|
<path>/dev/disk/by-path</path>
|
||||||
|
</target>
|
||||||
|
</pool></pre>
|
||||||
|
|
||||||
|
<h3>Valid pool format types</h3>
|
||||||
|
<p>
|
||||||
|
The SCSI volume pool does not use the pool format type element.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h3>Valid volume format types</h3>
|
||||||
|
<p>
|
||||||
|
The SCSI volume pool does not use the volume format type element.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user