<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.14.3">
</HEAD>
<BODY>
I erase that cache before invoking EMC PowerPath, because I have had issues with changes not making it to that multipathing I/O solution.  I have experienced no issues doing it adhoc, either.<BR>
<BR>
rescan-scsi bus doesn't necessarily work with the fiber channel cards... I have to send an equivalent scsi request command directly to the fc driver (in our case, we are using Emulex lpfc).  An example script we use:<BR>
<BR>
<TT>#!/bin/bash</TT><BR>
<TT>#</TT><BR>
<TT># rescan Emulex Fiber Channel card for new SCSI devices</TT><BR>
<TT>#</TT><BR>
<BR>
<TT>ACTION=`basename $0`</TT><BR>
<BR>
<TT>powermt display dev=all | grep emcpower > /tmp/$ACTION.old</TT><BR>
<BR>
<TT>echo 0 > /sys/class/fc_host/host0/issue_lip</TT><BR>
<TT>echo "- - -" > /sys/class/scsi_host/host0/scan</TT><BR>
<BR>
<TT>echo 1 > /sys/class/fc_host/host1/issue_lip</TT><BR>
<TT>echo "- - -" > /sys/class/scsi_host/host1/scan</TT><BR>
<BR>
<TT>powermt config</TT><BR>
<BR>
<TT>powermt display dev=all | grep emcpower > /tmp/$ACTION.new</TT><BR>
<BR>
<TT>echo "Differences before & after"</TT><BR>
<TT>echo "=========================="</TT><BR>
<TT>diff /tmp/$ACTION.old /tmp/$ACTION.new</TT><BR>
<BR>
<BR>
On Tue, 2007-10-02 at 09:26 -0700, Ray Charles wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Well, in my original attempt i did a rescan-scsi_bus,</FONT>
<FONT COLOR="#000000">vgscan and lvscan but the new partition didn't show</FONT>
<FONT COLOR="#000000">up.</FONT>

<FONT COLOR="#000000">I think you're on to something that i also want to try</FONT>
<FONT COLOR="#000000">and that's the /etc/lvm/.cache.</FONT>

<FONT COLOR="#000000">Any precautions? </FONT>

<FONT COLOR="#000000">-tia</FONT>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>