<html>
  <head>
    <style type="text/css">
      <!--
        body { line-height: normal; margin-top: 4px; font-variant: normal; margin-left: 4px; margin-bottom: 1px; margin-right: 4px }
        p { margin-top: 0; margin-bottom: 0 }
      -->
    </style>
    
  </head>
  <body>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">Hi, </font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">I'm in the process of testing and documenting a procedure for a device failure on our SAN.</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">We a running with two RHEL 5 nodes talking to a HP MSA2012fc  </font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">When I remove a device from the SAN, I'm having a issue with dmsetup refusing to remove the old map.</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">Notice mpath8 is in error below.</font>    </p>
<br>      <br>
    <p style="margin-top: 0; margin-bottom: 0">
      <i><a href="mailto:[root@scrac2"><u><font face="Dialog" size="2" color="#0000ff">[root@scrac2</font></u></a></i><font size="2" face="Dialog"> dev]# dmsetup table</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">mpath2: 0 286715904 multipath 1 queue_if_no_path 0 1 1 round-robin 0 2 1 8:16 100 8:176 100</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">mpath1: 0 286713856 multipath 1 queue_if_no_path 0 1 1 round-robin 0 2 1 8:112 100 65:16 100</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">mpath0p10: 0 276671367 linear 253:0 10040688</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">mpath0: 0 286715904 multipath 1 queue_if_no_path 0 1 1 round-robin 0 2 1 8:0 100 8:160 100</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">mpath0p9: 0 2008062 linear 253:0 8032563</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">mpath0p8: 0 2008062 linear 253:0 6024438</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">mpath0p7: 0 2008062 linear 253:0 4016313</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">mpath0p6: 0 2008062 linear 253:0 2008188</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">mpath9: 0 286713856 multipath 1 queue_if_no_path 0 1 1 round-robin 0 2 1 8:144 100 65:48 100</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">mpath0p5: 0 2007999 linear 253:0 126</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">mpath8: 0 286713856 error</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">mpath7: 0 286715904 multipath 1 queue_if_no_path 0 1 1 round-robin 0 2 1 65:64 100 65:80 100</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">mpath6: 0 286713856 multipath 1 queue_if_no_path 0 1 1 round-robin 0 2 1 8:64 100 8:224 100</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">mpath5: 0 286715904 multipath 1 queue_if_no_path 0 1 1 round-robin 0 2 1 8:96 100 65:0 100</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">mpath4: 0 286713856 multipath 1 queue_if_no_path 0 1 1 round-robin 0 2 1 8:48 100 8:208 100</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">mpath10: 0 286715904 multipath 1 queue_if_no_path 0 1 1 round-robin 0 2 1 8:32 100 8:192 100</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">mpath3: 0 286713856 multipath 1 queue_if_no_path 0 1 1 round-robin 0 2 1 8:128 100 65:32 100</font>    </p>
<br>      <br>
    <p style="margin-top: 0; margin-bottom: 0">
      <i><a href="mailto:[root@scrac2"><u><font face="Dialog" size="2" color="#0000ff">[root@scrac2</font></u></a></i><font size="2" face="Dialog"> dev]# dmsetup -v remove -f mpath8</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">device-mapper: remove ioctl failed: Device or resource busy</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">Command failed</font>    </p>
<br>      <br>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">Can anyone offer any help???</font>    </p>
<br>      <br>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">Regards,</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="2" face="Dialog">Paul.</font>    </p>
<br>      
  <BR>

    <p>
      
    </p>
    <p>
      
    </p>
    <p>
      
    </p>
    <p>
      
    </p>
    <p>
      
    </p>
    <p>
      <font size="2" face="Verdana">Please consider the environment before you 
      print this email</font>
    </p>
    <p>
      <font size="2" face="Verdana">For email conditions, please see our 
      website </font><a href="http://www.cps.com.au/email_conditions.htm"><u><font color="#0000ff" face="Verdana" size="2">
http://www.cps.com.au/email_conditions.htm</font></u></a>
    </p>
  </BODY></HTML>