Ce contenu n'est pas disponible dans la langue sélectionnée.

Chapter 5. DM-Multipath Administration and Troubleshooting


This chapter will provide information on administering DM-Multipath on a running system. It includes sections on the following topics:
  • Resizing an Online Multipath Device
  • The Multipath Daemon
  • Issues with Large Number of LUNs
  • Issues with queue_if_no_path feature
  • Multipath Command Output
  • Multipath Queries with multipath Command
  • Multipath Command Options
  • Multipath Queries with dmsetup Command
  • Troubleshooting with the multipathd Interactive Console

5.1. Resizing an Online Multipath Device

If you need to resize an online multipath device, use the following procedure.
  1. Resize your physical device.
  2. Use the following command to find the paths to the LUN:
    # multipath -l
    Copy to Clipboard Toggle word wrap
  3. Resize your paths. For SCSI devices, writing a 1 to the rescan file for the device causes the SCSI driver to rescan, as in the following command:
    # echo 1 > /sys/block/device_name/device/rescan 
    Copy to Clipboard Toggle word wrap
  4. Resize your multipath device by running the multipathd resize command:
    # multipathd -k'resize map mpath0'
    Copy to Clipboard Toggle word wrap
  5. Resize the filesystem (assuming no LVM or DOS partitions are used):
    # resize2fs /dev/mapper/mpath0
    Copy to Clipboard Toggle word wrap
For further information on resizing an online LUN, see the Online Storage Reconfiguration Guide.
Retour au début
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2025 Red Hat