<br><tt><font size=2>centos-bounces@centos.org wrote on 31.08.2010 11:43:50:<br>
<br>
> Gabriel Tabares <gabriel.tabares@roboreus.com> </font></tt>
<br><tt><font size=2>> Gesendet von: centos-bounces@centos.org<br>
> </font></tt>
<br><tt><font size=2>> 31.08.2010 11:44</font></tt>
<br><tt><font size=2>> <br>
> Bitte antworten an<br>
> CentOS mailing list <centos@centos.org></font></tt>
<br><tt><font size=2>> <br>
> An</font></tt>
<br><tt><font size=2>> <br>
> CentOS mailing list <centos@centos.org></font></tt>
<br><tt><font size=2>> <br>
> Kopie</font></tt>
<br><tt><font size=2>> <br>
> Thema</font></tt>
<br><tt><font size=2>> <br>
> [CentOS] Automatically detecting LUNs without a reboot</font></tt>
<br><tt><font size=2>> <br>
> Hi everybody.<br>
</font></tt>
<br><tt><font size=2>> I have an HP StorageWorks array connected to
one of my servers,<br>
> connected via an LSI controller (lspci reports: SCSI storage controller:<br>
> LSI Logic / Symbios Logic SAS1068E PCI-Express Fusion-MPT SAS (rev
08))<br>
> on an HP DL385 running CentOS 5.5 x86_64.<br>
</font></tt>
<br><tt><font size=2>> I have set up multipath and all is working but,
when I create a snaphost<br>
> and export it as a new LUN from the HP web interface, it does not
appear<br>
> as  a new disk. If I reboot, I get the LUN to appear as a new
SCSI<br>
> device (sd[a-z]).<br>
</font></tt>
<br><tt><font size=2>> Is there any way I can force automatic detection?
One of the reasons to<br>
> use snapshots is to be able to back up the system without downtime,
so<br>
> not being able to detect the LUNs makes the whole set up a bit pointless.<br>
</font></tt>
<br><tt><font size=2>> I have tried kudzu, the rescan-scsi-bus.sh script
and everything else I<br>
> have found online, with no luck. The LSI tools only seem to be available<br>
> for i386, and I would like to avoid adding the 32bit environment,
if I can.<br>
</font></tt>
<br><tt><font size=2>> Any help would be greatly appreciated.<br>
</font></tt>
<br><tt><font size=2>> Thanks,<br>
</font></tt>
<br><tt><font size=2>> Gabriel Tabares<br>
</font></tt>
<br><tt><font size=2>> _______________________________________________<br>
> CentOS mailing list<br>
> CentOS@centos.org<br>
> </font></tt><a href=http://lists.centos.org/mailman/listinfo/centos><tt><font size=2>http://lists.centos.org/mailman/listinfo/centos</font></tt></a>
<br>
<br><tt><font size=2>Hi,</font></tt>
<br><tt><font size=2>I do a rescan (online) on multipath with </font></tt>
<br><tt><font size=3>echo "- - -" > /sys/class/scsi_host/host0/scan<br>
echo "- - -" > /sys/class/scsi_host/host1/scan<br>
echo "- - -" > /sys/class/scsi_host/host2/scan<br>
echo "- - -" > /sys/class/scsi_host/host3/scan<br>
echo "- - -" > /sys/class/scsi_host/host4/scan<br>
echo "- - -" > /sys/class/scsi_host/host5/scan<br>
echo "- - -" > /sys/class/scsi_host/host6/scan</font></tt><br>
<br><tt><font size=2>depends on the amount of controllers.</font></tt>
<br><font size=2 face="sans-serif"> <br>
Gruß <br>
Andreas Reschke<br>
________________________________________________________________<br>
<br>
Unix/Linux-Administration<br>
Andreas.Reschke@behrgroup.com</font>