Account Links: Cart | Register | Log In

Skip to content

Red Hat Knowledgebase
Red Hat Knowledgebase Search
Article translations:
Currently Being Moderated

我如何知道在/dev目录下的什么设备和系统的一个多路径设备是对应的?

Article ID: 12055 - Created on: Jul 22, 2008 6:00 PM - Last Modified:  Oct 10, 2008 12:28 PM

这个问题适合Red Hat Enterprise Linux 4 Update 2 (U2)

 

为了找到哪个设备映射实体对应系统的多路径设备,执行下面的命令:

 

1.在命令行中执行multipath -ll ,选项是2个小写的字母L.

 

2.决定哪个长的数字是设备映射实体所需要的.

 

3.执行dmsetup ls --target multipath,这个命令将会返回一个长的数字。 你会看到一个>类似(255, #)的输出,其中的#就是设备映射号。 这个数字可以用来对照哪个dm设备对应系统的多路径设备,例如/dev/dm3.

Feedback from users like yourself is a critical factor in helping us make the Red Hat Knowledgebase as useful as possible.

More Like This

  • Retrieving data ...