device-mapper: error adding target to table
4519 단어 target
When multipath/multipathd starts you might see a message(s) like
device-mapper: table: 253:0: multipath: error getting device
device-mapper: ioctl: error adding target to table
in console or/var/log/messages. This is due to dm-multipath trying to create multipath devices for your root device and/or other devices that are already mounted or opened.
You can avoid this by adding a blacklist stanza in your /etc/multipath.conf file for those devices that generate these errors.
첨부:
2.3. Configuration File (/etc/multipath.conf)
DM-Multipath allows many of the feature to be user configurable using the configuration file/etc/multipath.conf. multipath command and multipathd uses the configuration information from this file. This file is consulted only during the configuration of multipath devices. In other words, if the user makes any changes to this file, then the multipath command need to be rerun to configure the multipath devices (i.e the user has to do multipath -F followed by multipath).
Support for many of the devices (as listed below ) is inbuilt in the user space component of DM-Multipath. If the support for a specific storage device is not inbuilt or the user wants to override some of the values only then the user need to modify this file.
This file has 5 sections:
User can specify the values for the attributes in this file using regular expression syntax.
For detailed explanation of the different attributes and allowed values for the attributes please refer to multipath.conf.annotated file.
In Mainline, this file is located in the root directory of multipath-tools.
In RedHat , this file is located in the directory/usr/share/doc/device-mapper-multipath-X.Y.Z/.
In SuSE, this file is located in the directory/usr/share/doc/packages/multipath-tools/
2.3.1. Attribute value overrides
Attribute values are set at multiple levels (internally in multipath tools and through multipath.conf file). Following is the order in which the attribute values will be overwritten.
Note that this will completely overwrite configuration information defined in (2) above. So, if even if you want to change/add only one attribute one have to provide the whole list for a device.
from:
http://sources.redhat.com/lvm2/wiki/MultipathUsageGuide
http://sources.redhat.com/lvm2/wiki/MultipathUsageGuide#blacklist
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
device-mapper: error adding target to tableConfiguration File (/etc/multipath.conf) DM-Multipath allows many of the feature to be user configurable using the confi...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.