diff options
| author | Hongxu Jia <hongxu.jia@windriver.com> | 2017-07-05 05:13:17 -0400 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-14 23:44:30 +0200 |
| commit | 1acfde8120eaa290df64f709e5a322bd6a44d19c (patch) | |
| tree | 13d387707da99934f98ba276efe497f0d8c40388 /meta-oe/recipes-support/multipath-tools/files/multipath.conf.example | |
| parent | 5688c8e24cf106f8248ea44e98ba15931844ed9b (diff) | |
| download | meta-openembedded-1acfde8120eaa290df64f709e5a322bd6a44d19c.tar.gz | |
multipath-tools: 0.6.4 -> 0.7.1
1. In fedora/redhat, it is renamed to device-mapper-multipath,
use PROVIDE and RPROVIDE to support.
2. Split ${PN}-libs
3. Add multipath.conf.example
4. Backport patches from fedora:
git://pkgs.fedoraproject.org/rpms/device-mapper-multipath
- 0001 ~ 0011
5. Rebase local patches:
- makefile_inc.patch -> 0012-multipath-tools-modify-Makefile.inc-for-cross-compil.patch
- always-use-libdevmapper.patch -> 0013-Always-use-devmapper.patch
- always-use-libdevmapper-kpartx.patch -> 0014-Always-use-devmapper-for-kpartx.patch
6. Drop obsolete patches:
- 0001-multipathd.service-Error-fix.patch
- shared-libs-avoid-linking-.so-as-executable.patch
- checkers-disable-libcheckrbd.so.patch
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/multipath-tools/files/multipath.conf.example')
| -rw-r--r-- | meta-oe/recipes-support/multipath-tools/files/multipath.conf.example | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/multipath-tools/files/multipath.conf.example b/meta-oe/recipes-support/multipath-tools/files/multipath.conf.example new file mode 100644 index 0000000000..6bbeadba27 --- /dev/null +++ b/meta-oe/recipes-support/multipath-tools/files/multipath.conf.example | |||
| @@ -0,0 +1,90 @@ | |||
| 1 | # This is a basic configuration file with some examples, for device mapper | ||
| 2 | # multipath. | ||
| 3 | # For a complete list of the default configuration values, see | ||
| 4 | # /usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf.defaults | ||
| 5 | # For a list of configuration options with descriptions, see | ||
| 6 | # /usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf.annotated | ||
| 7 | |||
| 8 | ## By default, devices with vendor = "IBM" and product = "S/390.*" are | ||
| 9 | ## blacklisted. To enable mulitpathing on these devies, uncomment the | ||
| 10 | ## following lines. | ||
| 11 | #blacklist_exceptions { | ||
| 12 | # device { | ||
| 13 | # vendor "IBM" | ||
| 14 | # product "S/390.*" | ||
| 15 | # } | ||
| 16 | #} | ||
| 17 | |||
| 18 | ## Use user friendly names, instead of using WWIDs as names. | ||
| 19 | defaults { | ||
| 20 | user_friendly_names yes | ||
| 21 | } | ||
| 22 | ## | ||
| 23 | ## Here is an example of how to configure some standard options. | ||
| 24 | ## | ||
| 25 | # | ||
| 26 | #defaults { | ||
| 27 | # udev_dir /dev | ||
| 28 | # polling_interval 10 | ||
| 29 | # selector "round-robin 0" | ||
| 30 | # path_grouping_policy multibus | ||
| 31 | # getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n" | ||
| 32 | # prio alua | ||
| 33 | # path_checker readsector0 | ||
| 34 | # rr_min_io 100 | ||
| 35 | # max_fds 8192 | ||
| 36 | # rr_weight priorities | ||
| 37 | # failback immediate | ||
| 38 | # no_path_retry fail | ||
| 39 | # user_friendly_names yes | ||
| 40 | #} | ||
| 41 | ## | ||
| 42 | ## The wwid line in the following blacklist section is shown as an example | ||
| 43 | ## of how to blacklist devices by wwid. The 2 devnode lines are the | ||
| 44 | ## compiled in default blacklist. If you want to blacklist entire types | ||
| 45 | ## of devices, such as all scsi devices, you should use a devnode line. | ||
| 46 | ## However, if you want to blacklist specific devices, you should use | ||
| 47 | ## a wwid line. Since there is no guarantee that a specific device will | ||
| 48 | ## not change names on reboot (from /dev/sda to /dev/sdb for example) | ||
| 49 | ## devnode lines are not recommended for blacklisting specific devices. | ||
| 50 | ## | ||
| 51 | #blacklist { | ||
| 52 | # wwid 26353900f02796769 | ||
| 53 | # devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*" | ||
| 54 | # devnode "^hd[a-z]" | ||
| 55 | #} | ||
| 56 | #multipaths { | ||
| 57 | # multipath { | ||
| 58 | # wwid 3600508b4000156d700012000000b0000 | ||
| 59 | # alias yellow | ||
| 60 | # path_grouping_policy multibus | ||
| 61 | # path_checker readsector0 | ||
| 62 | # path_selector "round-robin 0" | ||
| 63 | # failback manual | ||
| 64 | # rr_weight priorities | ||
| 65 | # no_path_retry 5 | ||
| 66 | # } | ||
| 67 | # multipath { | ||
| 68 | # wwid 1DEC_____321816758474 | ||
| 69 | # alias red | ||
| 70 | # } | ||
| 71 | #} | ||
| 72 | #devices { | ||
| 73 | # device { | ||
| 74 | # vendor "COMPAQ " | ||
| 75 | # product "HSV110 (C)COMPAQ" | ||
| 76 | # path_grouping_policy multibus | ||
| 77 | # getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n" | ||
| 78 | # path_checker readsector0 | ||
| 79 | # path_selector "round-robin 0" | ||
| 80 | # hardware_handler "0" | ||
| 81 | # failback 15 | ||
| 82 | # rr_weight priorities | ||
| 83 | # no_path_retry queue | ||
| 84 | # } | ||
| 85 | # device { | ||
| 86 | # vendor "COMPAQ " | ||
| 87 | # product "MSA1000 " | ||
| 88 | # path_grouping_policy multibus | ||
| 89 | # } | ||
| 90 | #} | ||
