Candid photograph of a Linux server terminal with a soft olive-green glow against a dark slate background, conveying a calm technical atmosphere.

Step-by-step guides for system administrators — covering command-line basics, web server setup, and preparation material for technical interviews.

Browse Tutorials

Setting up multipath I/O for storage redundancy on RHEL

Multipath I/O gives RHEL a single, stable device for a storage LUN reached over several independent paths. If one link, switch, port or controller path fails, I/O can continue through another route without changing application mount paths.

RHEL 8 and RHEL 9 implement this with device-mapper-multipath and iscsi-initiator-utils. Correct configuration depends on SAN zoning, path priorities and array ownership, so seeing /dev/sdb and /dev/sdc alone does not prove redundancy.

Australian administrators commonly operate RHEL storage in Sydney, Melbourne and Brisbane data centres. The local enterprise market includes NetApp, Dell PowerScale, HPE and IBM platforms, with iSCSI over Ethernet or dual-path Fibre Channel fabrics.

Replacement hardware may also involve Australian Border Force customs clearance, while business buyers account for GST. Those realities affect spares and maintenance windows, but the core Linux workflow remains consistent across Australian sites.

Plan the storage paths

Start by mapping the intended LUN and its initiators. Record target IQN, portal addresses, LUN IDs, WWIDs, array ownership and the RHEL host’s network interfaces. A lab host created with this virtual machine guide is useful for command practice, but a virtual disk normally exposes only one path and cannot reproduce genuine SAN failover.

On each host, use iscsiadm -m session, lsblk -o NAME,TYPE,TRAN,SERIAL,MODEL and multipath -ll to distinguish a local disk from the same LUN reached twice. Never treat two different WWIDs as alternate paths to one filesystem.

Storage arrangement Device view in RHEL Failure behaviour
One iSCSI session to a LUN One /dev/sdX path Session loss removes access
Two paths to the same LUN A /dev/mapper/mpathX device Traffic can continue on a surviving path
Local or virtual disk No multipath map No storage-array path failover

Prepare the RHEL initiator

Install the required packages with dnf install -y device-mapper-multipath iscsi-initiator-utils. For iSCSI, discover only approved storage portals, then create persistent node records; for Fibre Channel, confirm that zoning exposes the same LUN through both fabrics.

Each path should traverse independent switches, HBAs or NICs, and ideally separate power and cable routes. Sharing one patch lead or uplink can turn a path redundancy design into a common failure, a risk familiar in regional Australian data centres.

Permit outbound TCP 3260 to the iSCSI portals and permit matching return traffic, preferably through firewalld rules limited to storage networks. Confirm CHAP credentials where required and test discovery from RHEL before configuring multipath.

Enable and configure multipath

Place verified device definitions in /etc/multipath.conf. A minimal starting point uses find_multipaths yes, user_friendly_names yes, path_grouping_policy group_by_prio and an array-supported path selector. Production hosts should use explicit vendor, product and revision sections after testing.

Start the daemon after the file is valid, using systemctl enable --now multipathd; the systemctl service guide explains persistent service management. Restart it after configuration changes, then review multipath -ll and the multipathd journal for rejected or ambiguous devices.

Do not copy an ALUA or Active/Active policy blindly. An ALUA array may leave only the preferred controller’s paths active, while an Active/Active design can distribute I/O across controllers. Align path_grouping_policy, path_checker, priority and failover settings with the SAN vendor’s support guidance.

Test path failure safely

Use multipath -ll to confirm each path’s status, and use dmsetup status to see whether the mapped device has a working path group. A healthy map should show ready or active paths and no unexpected dead or offline path.

Test failover during a planned window by asking the array fabric team to disable one path or port. Keep an active shell session and application I/O running, observe recovery with iostat -xz 1, and restore the path before closing the test.

Mount the multipath device by its stable filesystem UUID, never the transient /dev/sdX name. Include _netdev and consider nofail in /etc/fstab; separately test boot ordering so multipathd and the iSCSI or FC services start before the filesystem.

Operational recommendations for RHEL storage teams

On mixed RHEL servers, storage changes occur below the application layer. An Nginx configuration guide can remain unchanged because Nginx should see one stable mounted device, not alternating raw paths. Update application documentation only when the multipath mount name or UUID changes.

Review multipath logs during patching, and avoid rebooting every initiator simultaneously. A redundancy design should survive routine component maintenance without creating an avoidable storage outage.

Preserve recovery knowledge

Store /etc/multipath.conf, relevant iSCSI node records, SAN diagrams, WWID inventories and /etc/fstab entries in controlled configuration management. Record how paths were validated and who authorised each failover test, so an engineer in a Perth office can reconstruct the setup without touching production storage.

After a migration, disaster or hardware replacement, repeat path discovery, verify the map and test restoration rather than assuming the old paths returned. The point to remember is that multipath redundancy protects services only when the paths, mappings, monitoring and recovery procedures all remain correct.