搜索

此内容没有您所选择的语言版本。

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

download PDF
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 
  3. Resize your multipath device by running the multipath command:
    #  multipath
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
After you resize your storage and take it back online, you must run the following command before resizing your paths:
#  dmsetup resume device_name 
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.