Test Description

This test ensures that local drives are excluded from the multipath configuration file (multipath.conf) blacklists.

This test case fails if:

  • There is a local multipath device without a device-specific blacklist rule against it.

This test case passes if:

  • There are no device no local multipath devices, or all local multipath devices are blacklisted in the multipath confugration.

How-to fix this test

Automatic fix

The automatic fix:

  1. Adds local device blacklist rules to the configuration file.
  2. Creates 2 files for user inspection before completing:
    1. /etc/multipath.conf.[timestamp].full - this file contains the current configuration.
      Note that this file will include all multipath configuration, including default built-in values that the multipath service uses. This means that this file may contain more values than those already written in the configuration file (in /etc/multipath.conf)
    2. /etc/multipath.conf.[timestamp].fixed - this is the new file that will be used after the fix is completed.
    3. Use a diff tool to compare these two files before confirming the fix.
  3. Removed the files once the fix completes. The files are not removed if the fix is not applied (e.g. if the user decides not to apply the automatic fix).
  4. Once applied, the fix creates a backup of the old configuration file, in /etc/multipath.conf.[timestamp].bak.
  5. The fix will also creates a grub entry that the user may use to revert to the old configuration on startup, if needed.

This fix requires a reboot for the changes to take effect.

Manual fix

Run multipath -ll and manually add blacklist rules for local devices to the configuration file.

Was this article helpful?
0 out of 0 found this helpful

0 out of 0 found this helpful

Last edited: 2022-08-06 08:26:39 UTC