Dealing with Device-Mapper (Multipath) Failing paths

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












When a disk starts to die slowly multipath starts to Failing & Reinstating paths and this keeps forever.. (I'm using LSI-3008HBA card with SAS-JBOD not FC-Network)



Dmesg;



Sep 13 11:20:17 DEV2 kernel: sd 0:0:190:0: attempting task abort! scmd(ffff88110e632948)
Sep 13 11:20:17 DEV2 kernel: sd 0:0:190:0: [sdft] tag#3 CDB: opcode=0x0 00 00 00 00 00 00
Sep 13 11:20:17 DEV2 kernel: scsi target0:0:190: handle(0x0037), sas_address(0x5000c50093d4e7c6), phy(38)
Sep 13 11:20:17 DEV2 kernel: scsi target0:0:190: enclosure_logical_id(0x500304800929ec7f), slot(37)
Sep 13 11:20:17 DEV2 kernel: scsi target0:0:190: enclosure level(0x0001),connector name(1 )
Sep 13 11:20:17 DEV2 kernel: sd 0:0:190:0: task abort: SUCCESS scmd(ffff88110e632948)
Sep 13 11:20:18 DEV2 kernel: device-mapper: multipath: Failing path 130:240.
Sep 13 11:25:34 DEV2 kernel: device-mapper: multipath: Reinstating path 130:240.


As you can see kernel aborted the mission and after that multipath failed.
So I want to get rid of this problem via telling Multipath "do not Reinstate the path".

This method will keep dead the zombie disk.



How can I do that?










share|improve this question

























    up vote
    0
    down vote

    favorite












    When a disk starts to die slowly multipath starts to Failing & Reinstating paths and this keeps forever.. (I'm using LSI-3008HBA card with SAS-JBOD not FC-Network)



    Dmesg;



    Sep 13 11:20:17 DEV2 kernel: sd 0:0:190:0: attempting task abort! scmd(ffff88110e632948)
    Sep 13 11:20:17 DEV2 kernel: sd 0:0:190:0: [sdft] tag#3 CDB: opcode=0x0 00 00 00 00 00 00
    Sep 13 11:20:17 DEV2 kernel: scsi target0:0:190: handle(0x0037), sas_address(0x5000c50093d4e7c6), phy(38)
    Sep 13 11:20:17 DEV2 kernel: scsi target0:0:190: enclosure_logical_id(0x500304800929ec7f), slot(37)
    Sep 13 11:20:17 DEV2 kernel: scsi target0:0:190: enclosure level(0x0001),connector name(1 )
    Sep 13 11:20:17 DEV2 kernel: sd 0:0:190:0: task abort: SUCCESS scmd(ffff88110e632948)
    Sep 13 11:20:18 DEV2 kernel: device-mapper: multipath: Failing path 130:240.
    Sep 13 11:25:34 DEV2 kernel: device-mapper: multipath: Reinstating path 130:240.


    As you can see kernel aborted the mission and after that multipath failed.
    So I want to get rid of this problem via telling Multipath "do not Reinstate the path".

    This method will keep dead the zombie disk.



    How can I do that?










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      When a disk starts to die slowly multipath starts to Failing & Reinstating paths and this keeps forever.. (I'm using LSI-3008HBA card with SAS-JBOD not FC-Network)



      Dmesg;



      Sep 13 11:20:17 DEV2 kernel: sd 0:0:190:0: attempting task abort! scmd(ffff88110e632948)
      Sep 13 11:20:17 DEV2 kernel: sd 0:0:190:0: [sdft] tag#3 CDB: opcode=0x0 00 00 00 00 00 00
      Sep 13 11:20:17 DEV2 kernel: scsi target0:0:190: handle(0x0037), sas_address(0x5000c50093d4e7c6), phy(38)
      Sep 13 11:20:17 DEV2 kernel: scsi target0:0:190: enclosure_logical_id(0x500304800929ec7f), slot(37)
      Sep 13 11:20:17 DEV2 kernel: scsi target0:0:190: enclosure level(0x0001),connector name(1 )
      Sep 13 11:20:17 DEV2 kernel: sd 0:0:190:0: task abort: SUCCESS scmd(ffff88110e632948)
      Sep 13 11:20:18 DEV2 kernel: device-mapper: multipath: Failing path 130:240.
      Sep 13 11:25:34 DEV2 kernel: device-mapper: multipath: Reinstating path 130:240.


      As you can see kernel aborted the mission and after that multipath failed.
      So I want to get rid of this problem via telling Multipath "do not Reinstate the path".

      This method will keep dead the zombie disk.



      How can I do that?










      share|improve this question













      When a disk starts to die slowly multipath starts to Failing & Reinstating paths and this keeps forever.. (I'm using LSI-3008HBA card with SAS-JBOD not FC-Network)



      Dmesg;



      Sep 13 11:20:17 DEV2 kernel: sd 0:0:190:0: attempting task abort! scmd(ffff88110e632948)
      Sep 13 11:20:17 DEV2 kernel: sd 0:0:190:0: [sdft] tag#3 CDB: opcode=0x0 00 00 00 00 00 00
      Sep 13 11:20:17 DEV2 kernel: scsi target0:0:190: handle(0x0037), sas_address(0x5000c50093d4e7c6), phy(38)
      Sep 13 11:20:17 DEV2 kernel: scsi target0:0:190: enclosure_logical_id(0x500304800929ec7f), slot(37)
      Sep 13 11:20:17 DEV2 kernel: scsi target0:0:190: enclosure level(0x0001),connector name(1 )
      Sep 13 11:20:17 DEV2 kernel: sd 0:0:190:0: task abort: SUCCESS scmd(ffff88110e632948)
      Sep 13 11:20:18 DEV2 kernel: device-mapper: multipath: Failing path 130:240.
      Sep 13 11:25:34 DEV2 kernel: device-mapper: multipath: Reinstating path 130:240.


      As you can see kernel aborted the mission and after that multipath failed.
      So I want to get rid of this problem via telling Multipath "do not Reinstate the path".

      This method will keep dead the zombie disk.



      How can I do that?







      linux scsi multipath-storage






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Sep 13 at 9:14









      Morphinz

      13011




      13011




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          We would need to know how multipath is determining a path is alive. If you look at multipath.conf you will see there's an optional path_checker option you can see a list of them (with the default being readsector0). Another thing to do is have a path priority ordering such that your path grouping such that disabling failback will prevent it being used unless there's an emergency. According to https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/storage_administration_guide/removing-path-to-storage-device after removing manual references to the sdft you could use the following (but substitute sdft for sda to match the case you gave):




          Take the path offline using echo offline > /sys/block/sda/device/state.



          This will cause any subsequent I/O sent to the device on this path to be failed immediately. Device-mapper-multipath will continue to use the remaining paths to the device.







          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f468751%2fdealing-with-device-mapper-multipath-failing-paths%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            We would need to know how multipath is determining a path is alive. If you look at multipath.conf you will see there's an optional path_checker option you can see a list of them (with the default being readsector0). Another thing to do is have a path priority ordering such that your path grouping such that disabling failback will prevent it being used unless there's an emergency. According to https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/storage_administration_guide/removing-path-to-storage-device after removing manual references to the sdft you could use the following (but substitute sdft for sda to match the case you gave):




            Take the path offline using echo offline > /sys/block/sda/device/state.



            This will cause any subsequent I/O sent to the device on this path to be failed immediately. Device-mapper-multipath will continue to use the remaining paths to the device.







            share|improve this answer
























              up vote
              0
              down vote













              We would need to know how multipath is determining a path is alive. If you look at multipath.conf you will see there's an optional path_checker option you can see a list of them (with the default being readsector0). Another thing to do is have a path priority ordering such that your path grouping such that disabling failback will prevent it being used unless there's an emergency. According to https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/storage_administration_guide/removing-path-to-storage-device after removing manual references to the sdft you could use the following (but substitute sdft for sda to match the case you gave):




              Take the path offline using echo offline > /sys/block/sda/device/state.



              This will cause any subsequent I/O sent to the device on this path to be failed immediately. Device-mapper-multipath will continue to use the remaining paths to the device.







              share|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                We would need to know how multipath is determining a path is alive. If you look at multipath.conf you will see there's an optional path_checker option you can see a list of them (with the default being readsector0). Another thing to do is have a path priority ordering such that your path grouping such that disabling failback will prevent it being used unless there's an emergency. According to https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/storage_administration_guide/removing-path-to-storage-device after removing manual references to the sdft you could use the following (but substitute sdft for sda to match the case you gave):




                Take the path offline using echo offline > /sys/block/sda/device/state.



                This will cause any subsequent I/O sent to the device on this path to be failed immediately. Device-mapper-multipath will continue to use the remaining paths to the device.







                share|improve this answer












                We would need to know how multipath is determining a path is alive. If you look at multipath.conf you will see there's an optional path_checker option you can see a list of them (with the default being readsector0). Another thing to do is have a path priority ordering such that your path grouping such that disabling failback will prevent it being used unless there's an emergency. According to https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/storage_administration_guide/removing-path-to-storage-device after removing manual references to the sdft you could use the following (but substitute sdft for sda to match the case you gave):




                Take the path offline using echo offline > /sys/block/sda/device/state.



                This will cause any subsequent I/O sent to the device on this path to be failed immediately. Device-mapper-multipath will continue to use the remaining paths to the device.








                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Sep 22 at 16:32









                Anon

                1,3201018




                1,3201018



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f468751%2fdealing-with-device-mapper-multipath-failing-paths%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Displaying single band from multi-band raster using QGIS

                    How many registers does an x86_64 CPU actually have?