Operating System - Linux
1835304 Members
2488 Online
110078 Solutions
New Discussion

Rescanning LUN's after adding/removing presented disks

 
Tom Callahan_1
Advisor

Rescanning LUN's after adding/removing presented disks

We are currently using HP FCA2214 FC HBA's to connect to an EVA 5000 for SAN based storage. The systems are running RHEL ES 4, and using the qlogic drivers with failover support.

Our problem lies in the removal of presentation and addition of presentation to the Linux systems.

Any time we add/remove presentation of a vdisk to the host, we have to reboot the machine to get it to recognize the disks. hp_rescan (part of the fibreutils package) does not do what I thought it would...(clear all reference to the LUNS and rebuild it's memory of LUNS)

Any help on how to recognize disks without having to reboot?

Thanks,
Tom Callahan
1 REPLY 1
Ivan Ferreira
Honored Contributor

Re: Rescanning LUN's after adding/removing presented disks

Use the rescan-scsi-bus.sh script:

www.garloff.de/kurt/linux/rescan-scsi-bus.sh
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?