Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:cmd:fclun [2016/02/23 15:54] jslinux: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</code>      - first install multipathd <code bash>yum install device-mapper-multipath</code>
-     - copy multipath.conf in /etc+     - copy multipath.conf in /etc or use multipath -t >/etc/multipath.conf
      - restart multipathd <code bash>service multipathd restart</code>      - restart multipathd <code bash>service multipathd restart</code>
      - alias in multipath.conf <code>multipaths {      - alias in multipath.conf <code>multipaths {
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</code>   `- 2:0:0:1 sde 8:64 active ready running</code>
 +  
 +<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.
 +
 +</WRAP>
 +
  
 === device mapper === === device mapper ===