This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:cmd:fclun [2016/02/23 15:54] – js | linux:cmd:fclun [2022/07/29 13:05] (current) – [multipath] js | ||
---|---|---|---|
Line 3: | Line 3: | ||
=== multipathd === | === multipathd === | ||
- first install multipathd <code bash>yum install device-mapper-multipath</ | - first install multipathd <code bash>yum install device-mapper-multipath</ | ||
- | - copy multipath.conf in /etc | + | - copy multipath.conf in /etc or use multipath -t >/ |
- restart multipathd <code bash> | - restart multipathd <code bash> | ||
- alias in multipath.conf < | - alias in multipath.conf < | ||
Line 28: | Line 28: | ||
|- 1:0:0:1 sdc 8:32 active ready running | |- 1:0:0:1 sdc 8:32 active ready running | ||
`- 2:0:0:1 sde 8:64 active ready running</ | `- 2:0:0:1 sde 8:64 active ready running</ | ||
+ | | ||
+ | <WRAP center round box 90%> | ||
+ | Example: | ||
+ | | ||
+ | A server node with 2 * fibre channel HBAs attached to a storage controller with 2 ports sees 4 devices: | ||
+ | /dev/sda, /dev/sdb, dev/sdc, and /dev/sdd. | ||
+ | |||
+ | Device Mapper (DM) Multipath creates a single device with a unique World Wide Identifier (WWID) that reroutes I/O to those four underlying devices according to the multipath configuration. | ||
+ | |||
+ | </ | ||
+ | |||
=== device mapper === | === device mapper === |