[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] partition tables not sync'd



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="" $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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]