3.4. Configuring additional storage with DM Multipath
By default, DM Multipath includes built-in configurations for the most common storage arrays, which support DM Multipath. If your storage array does not already have a configuration, you can add one by editing the /etc/multipath.conf file.
Add additional storage devices during the initial configuration to align the setup with your anticipated needs. DM Multipath enables adding devices later for scalability or upgrades, but this approach may require adjusting configurations to ensure compatibility.
Procedure
View the default configuration value and supported devices:
# multipathd show configEdit the
/etc/multipath.conffile to set up your multipath configuration. Below is an example for the DM Multipath configuration for HP OPEN-V Storage Device:# Set default configurations for all devices managed by DM Multipath defaults { # Enable user-friendly names for devices user_friendly_names yes } devices { # Define configuration for HP OPEN-V storage device { vendor "HP" pproduct "OPEN-V" no_path_retry 18 } }- Save your changes and close the editor.
Update the multipath device list by scanning for new devices:
# multipath -r
Verification
Confirm that the multipath devices are recognized correctly:
# multipath -ll