All of lore.kernel.org
 help / color / mirror / Atom feed
* Should multipath detect changed path UIDs?
@ 2005-01-26 21:49 goggin, edward
  2005-01-30  6:14 ` Tim Pepper
  0 siblings, 1 reply; 4+ messages in thread
From: goggin, edward @ 2005-01-26 21:49 UTC (permalink / raw)
  To: 'dm-devel, 'linux-scsi@vger.kernel.org'
  Cc: 'christophe varoqui'

Simply pulling two FC cables from a host and re-cabling incorrectly
(think a switch of two HBA cables) or a surprise reconfiguration of a
storage system target could lead to a situation where the potential for
data corruption is ripe.  While it may not be reasonably possible to
prevent data corruption in this scenario (think I/O already queued to
target devices underneath the multipath target driver), the prudent
course of action may be to try to prevent data corruption whenever
the potential is discovered using reasonable means.

Besides such pilot error as described above, the pre-requisites for
the cable switch scenario include at least (1) having the cable disconnect
and subsequent re-connect events occur while no user or path checker
initiated I/O occurs to paths using the switched cables and (2) the
target-side connectivity for the two cables is asymmetrical.

Possible solutions could involve (1) detecting fiber channel disconnect
hotplug events and acting upon them or (2) modifying multipath checker
functions to verify a path's UID remains consistent in addition to verifying
path connectivity.

EMC's multipathing product PowerPath uses the latter approach for
testing paths to SCSI logical units on both Symmetrix and CLARiion
storage systems.  Although using a single I/O for path testing may not
be possible for many storage systems, the PowerPath checker function
for both Symmetrix and CLARiion storage determines the UID for the
SCSI logical unit from reply (or sense) information returned by a single
test I/O and fails a path if the UID is not consistent.

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Should multipath detect changed path UIDs?
@ 2005-01-26 21:50 goggin, edward
  2005-01-26 22:13 ` Lars Marowsky-Bree
  0 siblings, 1 reply; 4+ messages in thread
From: goggin, edward @ 2005-01-26 21:50 UTC (permalink / raw)
  To: 'dm-devel@redhat.com'

Simply pulling two FC cables from a host and re-cabling incorrectly
(think a switch of two HBA cables) or a surprise reconfiguration of a
storage system target could lead to a situation where the potential for
data corruption is ripe.  While it may not be reasonably possible to
prevent data corruption in this scenario (think I/O already queued to
target devices underneath the multipath target driver), the prudent
course of action may be to try to prevent data corruption whenever
the potential is discovered using reasonable means.

Besides such pilot error as described above, the pre-requisites for
the cable switch scenario include at least (1) having the cable disconnect
and subsequent re-connect events occur while no user or path checker
initiated I/O occurs to paths using the switched cables and (2) the
target-side connectivity for the two cables is asymmetrical.

Possible solutions could involve (1) detecting fiber channel disconnect
hotplug events and acting upon them or (2) modifying multipath checker
functions to verify a path's UID remains consistent in addition to verifying
path connectivity.

EMC's multipathing product PowerPath uses the latter approach for
testing paths to SCSI logical units on both Symmetrix and CLARiion
storage systems.  Although using a single I/O for path testing may not
be possible for many storage systems, the PowerPath checker function
for both Symmetrix and CLARiion storage determines the UID for the
SCSI logical unit from reply (or sense) information returned by a single
test I/O and fails a path if the UID is not consistent.

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-01-30  6:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-26 21:49 Should multipath detect changed path UIDs? goggin, edward
2005-01-30  6:14 ` Tim Pepper
  -- strict thread matches above, loose matches on Subject: below --
2005-01-26 21:50 goggin, edward
2005-01-26 22:13 ` Lars Marowsky-Bree

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.