Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

8.15. Storage Devices

You can install Red Hat Enterprise Linux on a large variety of storage devices. You can see basic, locally accessible, storage devices in the Installation Destination page, as described in Section 8.14, “Installation Destination”. To add a specialized storage device, click the Add a disk button in the Specialized & Network Disks section of the screen.
Storage Space Overview

Figure 8.28. Storage Space Overview

Note

Monitoring of LVM and software RAID devices by the dmeventd daemon is not performed during installation.

8.15.1. The Storage Devices Selection Screen

The storage device selection screen displays all storage devices to which the Anaconda installation program has access.
The devices are grouped under the following tabs:
Multipath Devices
Storage devices accessible through more than one path, such as through multiple SCSI controllers or Fiber Channel ports on the same system.
The installation program only detects multipath storage devices with serial numbers that are 16 or 32 characters long.
Other SAN Devices
Devices available on a Storage Area Network (SAN).
NVDIMM Devices
Non-Volatile Dual In-line Memory Module (NVDIMM) storage devices on the machine.
Tabbed Overview of Specialized Storage Devices

Figure 8.29. Tabbed Overview of Specialized Storage Devices

A set of buttons is available in the bottom right corner of the screen. Use these buttons to add additional storage devices. The available buttons are:
The overview page also contains the Search tab that allows you to filter storage devices either by their World Wide Identifier (WWID) or by the port, target, or logical unit number (LUN) at which they are accessed.
The Storage Devices Search Tab

Figure 8.30. The Storage Devices Search Tab

The Search tab contains the Search By drop-down menu to select searching by port, target, LUN, or WWID. Searching by WWID or LUN requires additional values in the corresponding input text fields. Click the Find button to start the search.
Each device is presented on a separate row, with a check box to its left. Click the check box to make the device available during the installation process. Later in the installation process, you can choose to install Red Hat Enterprise Linux onto any of the devices selected here, and can choose to automatically mount any of the other devices selected here as part of the installed system.
Note that the devices that you select here are not automatically erased by the installation process. Selecting a device on this screen does not, in itself, place data stored on the device at risk. Also note that any devices that you do not select here to form part of the installed system can be added to the system after installation by modifying the /etc/fstab file.

Important

Any storage devices that you do not select on this screen are hidden from Anaconda entirely. To chain load the Red Hat Enterprise Linux boot loader from a different boot loader, select all the devices presented in this screen.
When you have selected the storage devices to make available during installation, click Done to return to the Installation Destination screen.

8.15.1.1. Advanced Storage Options

To use an advanced storage device, you can configure a SCSI over TCP/IP (iSCSI) target, Fibre Channel over Ethernet (FCoE) Storage Area Network (SAN), or Non-Volatile Dual In-line Memory Module (NVDIMM) device by clicking the appropriate button in the lower right corner of the Installation Destination screen. For an introduction to iSCSI, see Appendix B, iSCSI Disks.
Advanced Storage Options

Figure 8.31. Advanced Storage Options

8.15.1.1.1. Configuring iSCSI Parameters
When you click the Add iSCSI target... button, the Add iSCSI Storage Target dialog appears.
The iSCSI Discovery Details Dialog

Figure 8.32. The iSCSI Discovery Details Dialog

To use iSCSI storage devices for the installation, Anaconda must be able to discover them as iSCSI targets and be able to create an iSCSI session to access them. Each of these steps might require a user name and password for CHAP (Challenge Handshake Authentication Protocol) authentication. Additionally, you can configure an iSCSI target to authenticate the iSCSI initiator on the system to which the target is attached (reverse CHAP), both for discovery and for the session. Used together, CHAP and reverse CHAP are called mutual CHAP or two-way CHAP. Mutual CHAP provides the greatest level of security for iSCSI connections, particularly if the user name and password are different for CHAP authentication and reverse CHAP authentication.

Note

Repeat the iSCSI discovery and iSCSI login steps as many times as necessary to add all required iSCSI storage. However, you cannot change the name of the iSCSI initiator after you attempt discovery for the first time. To change the iSCSI initiator name, you must restart the installation.

Procedure 8.1. iSCSI Discovery and Starting an iSCSI Session

Use the Add iSCSI Storage Target dialog to provide Anaconda with the information necessary to discover the iSCSI target.
  1. Enter the IP address of the iSCSI target in the Target IP Address field.
  2. Provide a name in the iSCSI Initiator Name field for the iSCSI initiator in iSCSI qualified name (IQN) format. A valid IQN entry contains:
    • the string iqn. (note the period)
    • a date code that specifies the year and month in which your organization's Internet domain or subdomain name was registered, represented as four digits for the year, a dash, and two digits for the month, followed by a period. For example, represent September 2010 as 2010-09.
    • your organization's Internet domain or subdomain name, presented in reverse order with the top-level domain first. For example, represent the subdomain storage.example.com as com.example.storage
    • a colon followed by a string that uniquely identifies this particular iSCSI initiator within your domain or subdomain. For example, :diskarrays-sn-a8675309
    A complete IQN can therefore look as follows: iqn.2010-09.storage.example.com:diskarrays-sn-a8675309 . Anaconda prepopulates the iSCSI Initiator Name field with a name in this format to help you with the structure.
    For more information on IQNs , see 3.2.6. iSCSI Names in RFC 3720 - Internet Small Computer Systems Interface (iSCSI) available from http://tools.ietf.org/html/rfc3720#section-3.2.6 and 1. iSCSI Names and Addresses in RFC 3721 - Internet Small Computer Systems Interface (iSCSI) Naming and Discovery available from http://tools.ietf.org/html/rfc3721#section-1.
  3. Use the Discovery Authentication Type drop-down menu to specify the type of authentication to use for iSCSI discovery. The following options are available:
    • no credentials
    • CHAP pair
    • CHAP pair and a reverse pair
    • If you selected CHAP pair as the authentication type, provide the user name and password for the iSCSI target in the CHAP Username and CHAP Password fields.
    • If you selected CHAP pair and a reverse pair as the authentication type, provide the user name and password for the iSCSI target in the CHAP Username and CHAP Password field and the user name and password for the iSCSI initiator in the Reverse CHAP Username and Reverse CHAP Password fields.
  4. Optionally check the box labeled Bind targets to network interfaces.
  5. Click the Start Discovery button. Anaconda attempts to discover an iSCSI target based on the information that you provided. If discovery succeeds, the dialog displays a list of all iSCSI nodes discovered on the target.
  6. Each node is presented with a check box beside it. Click the check boxes to select the nodes to use for installation.
    The Dialog of Discovered iSCSI Nodes

    Figure 8.33. The Dialog of Discovered iSCSI Nodes

  7. The Node login authentication type menu provides the same options as the Discovery Authentication Type menu described in step 3. However, if you needed credentials for discovery authentication, it is typical to use the same credentials to log into a discovered node. To do that, use the additional Use the credentials from discovery option from the menu. When the proper credentials have been provided, the Log In button becomes available.
  8. Click Log In to initiate an iSCSI session.
8.15.1.1.2. Configuring FCoE Parameters
When you click the Add FCoE SAN... button, a dialog appears for you to configure network interfaces for discovering FCoE storage devices.
First, select a network interface that is connected to a FCoE switch in the NIC drop-down menu and click the Add FCoE disk(s) button to scan the network for SAN devices.
Configure FCoE Parameters

Figure 8.34. Configure FCoE Parameters

There are check boxes with additional options to consider:
Use DCB
Data Center Bridging (DCB) is a set of enhancements to the Ethernet protocols designed to increase the efficiency of Ethernet connections in storage networks and clusters. Enable or disable the installation program's awareness of DCB with the check box in this dialog. This option should only be enabled for network interfaces that require a host-based DCBX client. Configurations on interfaces that implement a hardware DCBX client should leave this check box empty.
Use auto vlan
Auto VLAN indicates whether VLAN discovery should be performed. If this box is checked, then the FIP (FCoE Initiation Protocol) VLAN discovery protocol will run on the Ethernet interface once the link configuration has been validated. If they are not already configured, network interfaces for any discovered FCoE VLANs will be automatically created and FCoE instances will be created on the VLAN interfaces. This option is enabled by default.
Discovered FCoE devices will be displayed under the Other SAN Devices tab in the Installation Destination screen.
8.15.1.1.3. Configuring NVDIMM Devices
Click the Reconfigure NVDIMM button to reconfigure the selected NVDIMM device into sector mode and use it as an installation destination. The Sector size drop-down list contains the supported sector sizes of 512 and 4096.
From the Sector size drop-down list, select the sector size and click the Start Reconfiguration button.
Reconfigure NVDIMM

Figure 8.35. Reconfigure NVDIMM

Warning

Reconfiguration of a NVDIMM device process destroys any data stored on the device.
When the device is configured, click the OK button to return to the Installation Destination window.
Successfully reconfigured NVDIMM

Figure 8.36. Successfully reconfigured NVDIMM

NVDIMM devices in sector mode are displayed under the NVDIMM Devices tab in the Installation Destination window and are available for installation.