LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to SCAN LUNs in MULTIPATHING? (https://www.linuxquestions.org/questions/linux-general-1/how-to-scan-luns-in-multipathing-926165/)

aparna8877 01-28-2012 09:06 AM

How to SCAN LUNs in MULTIPATHING?
 
Hi Friends,

Can anybody give me the command to SCAN the LUNs in LINUX MULTIPATHING ?

How to scan the LUNs in MULTIPATHING ?

Please help me with your command.

Regards,
Aparna.

mesiol 01-29-2012 06:58 AM

This dependa on your distro, hardware and kernel version.

For eg. qlogic HBA you can find a solution here.

jstephens84 01-29-2012 10:26 AM

Quote:

Originally Posted by aparna8877 (Post 4586747)
Hi Friends,

Can anybody give me the command to SCAN the LUNs in LINUX MULTIPATHING ?

How to scan the LUNs in MULTIPATHING ?

Please help me with your command.

Regards,
Aparna.

Code:

multipath -l
Also if you have trouble with the command above make sure you have multipathd added to your list of services and turned on.

On a side note we dropped using the vendor multipathing software and started using the native linux one in a production environment and I am very suprised so far. It is working really well with our CX4-240

pantdk 01-31-2012 07:08 PM

Hi

I think u want to scan a disk & that is used for the multipathing so used this command

Quote:

echo "- - -" > /sys/class/scsi_host/host0/scan


All times are GMT -5. The time now is 11:15 PM.