Find Out Controller Path of Disk In Linux
Think of a situation that you extended the LUN from Storage. Then you need to rescan the device and found that there many controller available. You need to find out the exact controller on which you need a rescan otherwise you'll be end up re scanning all of your Controller. In such a situation this blog may help you.
1. Check the Output of Multipath Command.
multipath -ll
ORI11_DF1 (36000XXXXXXXXXXXXXXx) dm-11 COMPELNT,Compellent Vol
size=1.8T features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 6:0:5:4 sdi 8:128 active ready running
`- 7:0:5:4 sdt 65:48 active ready running
1. Check the Output of Multipath Command.
multipath -ll
ORI11_DF1 (36000XXXXXXXXXXXXXXx) dm-11 COMPELNT,Compellent Vol
size=1.8T features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 6:0:5:4 sdi 8:128 active ready running
`- 7:0:5:4 sdt 65:48 active ready running
The highlighted portion is the path you are looking for on which you'll be running rescan command.
No comments