搜索

5.4. Multipath Command Output

download PDF
当​​​​​​​您​​​​​​​生​​​​​​​成​​​​​​​、​​​​​​​修​​​​​​​改​​​​​​​或​​​​​​​者​​​​​​​列​​​​​​​出​​​​​​​多​​​​​​​路​​​​​​​径​​​​​​​设​​​​​​​备​​​​​​​时​​​​​​​,您​​​​​​​会​​​​​​​获​​​​​​​得​​​​​​​一​​​​​​​个​​​​​​​当​​​​​​​前​​​​​​​设​​​​​​​备​​​​​​​组​​​​​​​成​​​​​​​的​​​​​​​打​​​​​​​印​​​​​​​输​​​​​​​出​​​​​​​,格​​​​​​​式​​​​​​​如​​​​​​​下​​​​​​​。​​​​​​​
对​​​​​​​于​​​​​​​每​​​​​​​个​​​​​​​多​​​​​​​路​​​​​​​径​​​​​​​设​​​​​​​备​​​​​​​:
 action_if_any: alias (wwid_if_different_from_alias) [size][features][hardware_handler]
对​​​​​​​与​​​​​​​每​​​​​​​个​​​​​​​路​​​​​​​径​​​​​​​组​​​​​​​群​​​​​​​:
\_ scheduling_policy [path_group_priority_if_known] [path_group_status_if_known]
对​​​​​​​于​​​​​​​每​​​​​​​个​​​​​​​路​​​​​​​径​​​​​​​:
\_ host:channel:id:lun devnode major:minor [path_status] [dm_status_if_known]
例​​​​​​​如​​​​​​​,多​​​​​​​路​​​​​​​径​​​​​​​命​​​​​​​令​​​​​​​的​​​​​​​输​​​​​​​出​​​​​​​可​​​​​​​能​​​​​​​是​​​​​​​如​​​​​​​下​​​​​​​形​​​​​​​式​​​​​​​:
mpath1 (3600d0230003228bc000339414edb8101) [size=10 GB][features="0"][hwhandler="0"]
\_ round-robin 0 [prio=1][active]
 \_ 2:0:0:6 sdb 8:16 [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ 3:0:0:6 sdc 8:64 [active][ready]
如​​​​​​​果​​​​​​​该​​​​​​​路​​​​​​​径​​​​​​​已​​​​​​​经​​​​​​​启​​​​​​​用​​​​​​​并​​​​​​​准​​​​​​​备​​​​​​​好​​​​​​​进​​​​​​​行​​​​​​​ I/O,那​​​​​​​么​​​​​​​路​​​​​​​径​​​​​​​的​​​​​​​状​​​​​​​态​​​​​​​就​​​​​​​是​​​​​​​ ready 或​​​​​​​者​​​​​​​ active。​​​​​​​路​​​​​​​径​​​​​​​的​​​​​​​状​​​​​​​态​​​​​​​由​​​​​​​ multipathd 守​​​​​​​护​​​​​​​进​​​​​​​程​​​​​​​根​​​​​​​据​​​​​​​在​​​​​​​ /etc/multipath.conf 文​​​​​​​件​​​​​​​中​​​​​​​定​​​​​​​义​​​​​​​的​​​​​​​通​​​​​​​信​​​​​​​间​​​​​​​隔​​​​​​​进​​​​​​​行​​​​​​​周​​​​​​​期​​​​​​​性​​​​​​​更​​​​​​​新​​​​​​​。​​​​​​​
The dm status is similar to the path status, but from the kernel's point of view. The dm status has two states: failed, which is analogous to faulty, and active which covers all other path states. Occasionally, the path state and the dm state of a device will temporarily not agree.

注意

当​​​​​​​生​​​​​​​成​​​​​​​或​​​​​​​者​​​​​​​修​​​​​​​改​​​​​​​一​​​​​​​个​​​​​​​多​​​​​​​路​​​​​​​径​​​​​​​设​​​​​​​备​​​​​​​时​​​​​​​,路​​​​​​​径​​​​​​​组​​​​​​​群​​​​​​​状​​​​​​​态​​​​​​​和​​​​​​​ dm 状​​​​​​​态​​​​​​​是​​​​​​​未​​​​​​​知​​​​​​​的​​​​​​​。​​​​​​​同​​​​​​​时​​​​​​​,特​​​​​​​性​​​​​​​也​​​​​​​不​​​​​​​一​​​​​​​定​​​​​​​正​​​​​​​确​​​​​​​。​​​​​​​当​​​​​​​列​​​​​​​出​​​​​​​多​​​​​​​路​​​​​​​径​​​​​​​设​​​​​​​备​​​​​​​时​​​​​​​,路​​​​​​​径​​​​​​​组​​​​​​​群​​​​​​​优​​​​​​​先​​​​​​​权​​​​​​​是​​​​​​​未​​​​​​​知​​​​​​​的​​​​​​​。​​​​​​​
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

© 2024 Red Hat, Inc.