Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


multipathd

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
multipathd [2013/05/14 07:11] adminmultipathd [2013/05/14 07:15] admin
Line 1: Line 1:
 Find wwid Find wwid
-<code> +  /lib/udev/scsi_id --whitelisted --device=/dev/sda
-/lib/udev/scsi_id --whitelisted --device=/dev/sda +
-</code>+
  
 Edit /etc/multipath.conf Edit /etc/multipath.conf
Line 41: Line 39:
  
 } }
- 
 </code> </code>
  
Line 51: Line 48:
     multipath -d   # dry run     multipath -d   # dry run
     multipath -v2  # print all info     multipath -v2  # print all info
 +</code>
 +
 +Show status
 +  multipath -ll
 +
 +Example output
 +<code>
 +vmmonitor (36001405e4b5224eda4c9d33ebd87dad4) dm-6 SYNOLOGY,iSCSI Storage
 +size=32G features='0' hwhandler='0' wp=rw
 +`-+- policy='round-robin 0' prio=1 status=active
 +  |- 6:0:0:1 sde 8:64  active ready running
 +  `- 7:0:0:1 sdf 8:80  active ready running
 +vmshell (3600140518cc905dd946fd3912d9c1dd2) dm-3 SYNOLOGY,iSCSI Storage
 +size=32G features='0' hwhandler='0' wp=rw
 +`-+- policy='round-robin 0' prio=1 status=active
 +  |- 6:0:0:0 sdc 8:32  active ready running
 +  `- 7:0:0:0 sdd 8:48  active ready running
 +vmweb1 (36001405f41a583adfafdd3fd3d8160d9) dm-4 SYNOLOGY,iSCSI Storage
 +size=64G features='0' hwhandler='0' wp=rw
 +`-+- policy='round-robin 0' prio=1 status=active
 +  |- 6:0:0:2 sdg 8:96  active ready running
 +  `- 7:0:0:2 sdh 8:112 active ready running
 +</code>
 </code> </code>
multipathd.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1