[dm-devel] Reloading multipathd?

Domenico Viggiani dviggiani at tiscali.it
Wed Nov 7 15:44:16 UTC 2007


> -----Original Message-----
> From: dm-devel-bounces at redhat.com 
> [mailto:dm-devel-bounces at redhat.com] On Behalf Of S. J. van Harmelen
> Sent: Wednesday, November 07, 2007 4:19 PM
> 
> On Wed, 2007-11-07 at 08:33 -0500, Paul Cote wrote:
> > Did you do a rescan so that the O/S "sees" the new LUN? 
> 
> Nope... Could you tell me how to do that? And does a rescan 
> have any effect on already active LUN's?

# Send a LIP (loop initialization primitive) to the fabric 0
echo "1" > /sys/class/fc_host/host0/issue_lip 

# Scan SCSI bus 0:
echo "- - -" > /sys/class/scsi_host/host0/scan

# Send a LIP (loop initialization primitive) to the fabric 1
echo "1" > /sys/class/fc_host/host1/issue_lip 

# Scan SCSI bus 1:
echo "- - -" > /sys/class/scsi_host/host1/scan

# sometime is needed to repeat above steps two times?

# Check /var/log/messages and /proc/scsi/scsi

# Create multipath
multipath -v2
multipath -ll




More information about the dm-devel mailing list