[Linux-cluster] partition tables not sync'd
Robert Hurst
rhurst at bidmc.harvard.edu
Tue Oct 2 17:02:40 UTC 2007
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.
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:
#!/bin/bash
#
# rescan Emulex Fiber Channel card for new SCSI devices
#
ACTION=`basename $0`
powermt display dev=all | grep emcpower > /tmp/$ACTION.old
echo 0 > /sys/class/fc_host/host0/issue_lip
echo "- - -" > /sys/class/scsi_host/host0/scan
echo 1 > /sys/class/fc_host/host1/issue_lip
echo "- - -" > /sys/class/scsi_host/host1/scan
powermt config
powermt display dev=all | grep emcpower > /tmp/$ACTION.new
echo "Differences before & after"
echo "=========================="
diff /tmp/$ACTION.old /tmp/$ACTION.new
On Tue, 2007-10-02 at 09:26 -0700, Ray Charles wrote:
> Well, in my original attempt i did a rescan-scsi_bus,
> vgscan and lvscan but the new partition didn't show
> up.
>
> I think you're on to something that i also want to try
> and that's the /etc/lvm/.cache.
>
> Any precautions?
>
> -tia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20071002/05875cd1/attachment.htm>
More information about the Linux-cluster
mailing list