From c5bad3ad21bbc5e1dd1423d96d57e128fa975565 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Mon, 22 Feb 2010 16:50:04 -0500 Subject: [PATCH] docs: storage: Document SCSI pools --- docs/formatstorage.html.in | 5 +++++ docs/storage.html.in | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/docs/formatstorage.html.in b/docs/formatstorage.html.in index dc031ad8f9..5c1d36c685 100644 --- a/docs/formatstorage.html.in +++ b/docs/formatstorage.html.in @@ -84,6 +84,11 @@ only occur once. Contains a single attribute path which is the fully qualified path to the block device node. Since 0.4.1 +
adapter
+
Provides the source for pools backed by SCSI adapters. May + only occur once. Contains a single attribute name + which is the SCSI adapter name (ex. "host1"). + Since 0.6.2
host
Provides the source for pools backed by storage from a remote server. Will be used in combination with a directory diff --git a/docs/storage.html.in b/docs/storage.html.in index 904fc7ce8a..211e687b00 100644 --- a/docs/storage.html.in +++ b/docs/storage.html.in @@ -25,6 +25,9 @@ libvirt.
  • iSCSI backend
  • +
  • + SCSI backend +
  • Directory pool

    @@ -344,5 +347,39 @@ libvirt.

    The iSCSI volume pool does not use the volume format type element.

    + +

    SCSI volume pools

    +

    + 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 /dev/disk/by-path or /dev/disk/by-id + for the target path. These provide persistent stable naming for LUNs + Since 0.6.2

    +

    + +

    Example pool input

    +
    +      <pool type="scsi">
    +        <name>virtimages</name>
    +        <source>
    +          <adapter name="host0"/>
    +        </source>
    +        <target>
    +          <path>/dev/disk/by-path</path>
    +        </target>
    +      </pool>
    + +

    Valid pool format types

    +

    + The SCSI volume pool does not use the pool format type element. +

    + +

    Valid volume format types

    +

    + The SCSI volume pool does not use the volume format type element. +

    + + -- GitLab