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

5.6. Resizing an Online Multipathed Device (RHEL 4.8 and later)


In systems running RHEL 4.8 and later, is is possible to resize a multipath device while it is online. This allows you to resize the device when it is open, as when a file system is currently mounted.
Use the following procedure to resize an online multipath device.
  1. Resize your physical device.
  2. Resize your paths. For SCSI devices, writing a 1 to the rescan file for the device causes the SCSI driver to rescan. You can use the following command:
    # echo 1 > /sys/block/device_name/device/rescan 
    Copy to Clipboard Toggle word wrap
  3. Resize your multipath device by running the multipath command:
    #  multipath
    Copy to Clipboard Toggle word wrap
Your hardware setup may require that you temporarily take the actual storage offline in order to resize your physical device. If you take your storage offline and your multipath device is not set to queue when all paths are down, any I/O activity while your storage is offline will fail. You can work around this by executing the following command before taking your storage offline:
#  dmsetup suspend --noflush device_name
Copy to Clipboard Toggle word wrap
After you resize your storage and take it back online, you must run the following command before resizing your paths:
#  dmsetup resume device_name 
Copy to Clipboard Toggle word wrap
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