Red Hat Training

A Red Hat training course is available for Red Hat Virtualization

12.5. Storage Types

12.5.1. Storage Types

The storage element contains a type element, which is an enumerated value found under the capabilities collection.
The storage element also contains additional elements specific to each storage type. The next few sections examine these additional storage type elements.

12.5.2. NFS Storage

The following table contains nfs specific elements in a storage description.

Table 12.2. NFS specific elements

Element Type Description Properties
address string The host name or IP address of the NFS server.
path string The path of NFS mountable directory on the server.

12.5.3. PosixFS Storage

The following table contains posixfs specific elements in a storage description.

Table 12.3. PosixFS specific elements

Element Type Description Properties
address string The host name or IP address of the PosixFS server.
path string The path of PosixFS mountable directory on the server.
vfs_type string The Linux-supported file system type of the PosixFS share.
mount_options string The options for mounting the PosixFS share.

12.5.4. iSCSI and FCP Storage

The following table contains iscsi and fcp specific elements in a storage description.

Table 12.4. iSCSI and FCP specific elements

Element Type Description Properties
logical_unit id= complex The id of the logical unit. A storage domain also accepts multiple iSCSI or FCP logical units.
override_luns Boolean Defines whether to replace all logical unit settings with new settings. Set to true to override.
The logical_unit contains a set of sub-elements.

Table 12.5. Logical unit elements

Element Type Description Properties
address string The address of the server containing the storage device.
port integer The port number of the server.
target string The target IQN for the storage device.
username string A CHAP user name for logging into a target.
password string A CHAP password for logging into a target.
serial string The serial ID for the target.
vendor_id string The vendor name for the target.
product_id string The product code for the target.
lun_mapping integer The Logical Unit Number device mapping for the target.
In the case of iSCSI, if a logical_unit description also contains details of the iSCSI target with the LUN in question, the target performs an automatic login when the storage domain is created.

12.5.5. LocalFS Storage

The localfs specific elements in a storage description are:

Table 12.6. Localfs specific elements

Element Type Description Properties
path string The path of local storage domain on the host.
A localfs storage domain requires a data center with storage_type set to localfs. This data center only contains a single host cluster, and the host cluster only contains a single host.