Reloading multipathd?
Hi...
I just added another LUN on our storage (MD3000). But now that I run multipath -ll I don't see the new LUN.
Do I need to reload something (like /etc/init.d/multipath-tools reload maybe)? And if so, can I do this without it interrupting the connectivity of the other (production) LUN's?
Sander
Did you do a rescan so that the O/S "sees" the new LUN? If so; simply do a multipath -v2 to build the new path list.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of S. J. van Harmelen
Sent: Wednesday, November 07, 2007 8:08 AM
To: device-mapper development
Subject: [dm-devel] Reloading multipathd?
Hi...
I just added another LUN on our storage (MD3000). But now that I run multipath -ll I don't see the new LUN.
Do I need to reload something (like /etc/init.d/multipath-tools reload maybe)? And if so, can I do this without it interrupting the connectivity of the other (production) LUN's?
Sander
--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
Quoted 1 line · Paul Cote
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?
Quoted 30 lines
If so; simply do
a multipath -v2 to build the new path list.-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of S. J. van Harmelen
Sent: Wednesday, November 07, 2007 8:08 AM
To: device-mapper development
Subject: [dm-devel] Reloading multipathd?Hi...
I just added another LUN on our storage (MD3000). But now that I run multipath -ll I don't see the new LUN.
Do I need to reload something (like
/etc/init.d/multipath-toolsreload maybe)? And if so, can I do this without it interrupting the connectivity of the other (production) LUN's?Sander
--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
Quoted 10 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of S. J. van Harmelen
Sent: Wednesday, November 07, 2007 4:19 PMQuoted 1 line · Paul Cote
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
Quoted 5 lines · Domenico Viggiani
Quoted 5 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of S. J. van Harmelen
Sent: Wednesday, November 07, 2007 4:19 PM
Quoted 8 lines
Quoted 5 lines · Paul Cote
Quoted 1 line
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
Thanks for you help. But the MD3000 has SAS HBA's, so I don't have the issue_lip file on my system.
Any other way to get the same results for a SAS HBA?
And once again... Does this interrupt the LUN's that are already attached and in use?
Thanks!!
Quoted 22 lines
# 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/messagesand/proc/scsi/scsi# Create multipath
multipath -v2
multipath -ll--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
Quoted 8 lines · S. J. van Harmelen [[email protected]] wrote:
Thanks for you help. But the MD3000 has SAS HBA's, so I don't have the
issue_lipfile on my system.Any other way to get the same results for a SAS HBA?
And once again... Does this interrupt the LUN's that are already attached and in use?
LIP does interrupt the communication for a while, but ideally everything would be retried on block devices at least. I don't think you need to generate LIP in some instances (depends on how you added your LUN, E.g. if you added new FC disk to FC Fabric switch, the Fabic would generate an event, RSCN, without interrupting anything).
I don't know SAS world equivalents...
Quoted 2 lines
could you tell me how to do that?
You can use the 'rescan SCSI Bus" script found at:
http://www.garloff.de/kurt/linux/
Optionally; if you have FC HBA's ... Emulex and Qlogic both have their home grown rescan scripts as well.
Quoted 1 line
and does a rescan have any effect on already active LUN's?
No.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of S. J. van Harmelen
Sent: Wednesday, November 07, 2007 10:19 AM
To: device-mapper development
Subject: RE: [dm-devel] Reloading multipathd?
Quoted 1 line · Paul Cote
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?
Quoted 22 lines
If so; simply do
a multipath -v2 to build the new path list.-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of S. J. van Harmelen
Sent: Wednesday, November 07, 2007 8:08 AM
To: device-mapper development
Subject: [dm-devel] Reloading multipathd?Hi...
I just added another LUN on our storage (MD3000). But now that I run multipath -ll I don't see the new LUN.
Do I need to reload something (like
/etc/init.d/multipath-toolsreloadmaybe)? And if so, can I do this without it interrupting the connectivity of the other (production) LUN's?
Sander
Quoted 7 lines
--
dm-devel mailing list
[email protected] https://www.redhat.com/mailman/listinfo/dm-devel--
dm-devel mailing list
[email protected] https://www.redhat.com/mailman/listinfo/dm-devel
--
dm-devel mailing list
[email protected] https://www.redhat.com/mailman/listinfo/dm-devel