mdadm RAID comes up inactive each reboot

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











up vote
0
down vote

favorite












I have a mdadm software RAID6 that comes up inactive upon each reboot. All its disk are present but shown as spares. How do I make it start operational (active)?



This is it's state after reboot:



cat /proc/mdstat 
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : inactive sdg[2](S) sdf[1](S) sde[3](S) sdc[5](S) sdb[0](S) sda[4](S)
xxxxxx blocks
unused devices: <none>


again here



sudo mdadm --detail --scan 
INACTIVE-ARRAY /dev/md0 metadata=0.90 UUID=xxx


It can be manually assembled after I stop it:



sudo mdadm --manage --stop /dev/md0
mdadm: stopped /dev/md0
sudo mdadm --assemble --scan
mdadm: /dev/md0 has been started with 6 drives.
sudo mdadm --detail --scan
ARRAY /dev/md0 metadata=0.90 bitmap=/media/intent.bin UUID=xxx


I'm on Ubuntu 18.04.1 LTS



4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 GNU/Linux



mdadm - v4.1-rc1 - 2018-03-22









share

























    up vote
    0
    down vote

    favorite












    I have a mdadm software RAID6 that comes up inactive upon each reboot. All its disk are present but shown as spares. How do I make it start operational (active)?



    This is it's state after reboot:



    cat /proc/mdstat 
    Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
    md0 : inactive sdg[2](S) sdf[1](S) sde[3](S) sdc[5](S) sdb[0](S) sda[4](S)
    xxxxxx blocks
    unused devices: <none>


    again here



    sudo mdadm --detail --scan 
    INACTIVE-ARRAY /dev/md0 metadata=0.90 UUID=xxx


    It can be manually assembled after I stop it:



    sudo mdadm --manage --stop /dev/md0
    mdadm: stopped /dev/md0
    sudo mdadm --assemble --scan
    mdadm: /dev/md0 has been started with 6 drives.
    sudo mdadm --detail --scan
    ARRAY /dev/md0 metadata=0.90 bitmap=/media/intent.bin UUID=xxx


    I'm on Ubuntu 18.04.1 LTS



    4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 GNU/Linux



    mdadm - v4.1-rc1 - 2018-03-22









    share























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have a mdadm software RAID6 that comes up inactive upon each reboot. All its disk are present but shown as spares. How do I make it start operational (active)?



      This is it's state after reboot:



      cat /proc/mdstat 
      Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
      md0 : inactive sdg[2](S) sdf[1](S) sde[3](S) sdc[5](S) sdb[0](S) sda[4](S)
      xxxxxx blocks
      unused devices: <none>


      again here



      sudo mdadm --detail --scan 
      INACTIVE-ARRAY /dev/md0 metadata=0.90 UUID=xxx


      It can be manually assembled after I stop it:



      sudo mdadm --manage --stop /dev/md0
      mdadm: stopped /dev/md0
      sudo mdadm --assemble --scan
      mdadm: /dev/md0 has been started with 6 drives.
      sudo mdadm --detail --scan
      ARRAY /dev/md0 metadata=0.90 bitmap=/media/intent.bin UUID=xxx


      I'm on Ubuntu 18.04.1 LTS



      4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 GNU/Linux



      mdadm - v4.1-rc1 - 2018-03-22









      share













      I have a mdadm software RAID6 that comes up inactive upon each reboot. All its disk are present but shown as spares. How do I make it start operational (active)?



      This is it's state after reboot:



      cat /proc/mdstat 
      Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
      md0 : inactive sdg[2](S) sdf[1](S) sde[3](S) sdc[5](S) sdb[0](S) sda[4](S)
      xxxxxx blocks
      unused devices: <none>


      again here



      sudo mdadm --detail --scan 
      INACTIVE-ARRAY /dev/md0 metadata=0.90 UUID=xxx


      It can be manually assembled after I stop it:



      sudo mdadm --manage --stop /dev/md0
      mdadm: stopped /dev/md0
      sudo mdadm --assemble --scan
      mdadm: /dev/md0 has been started with 6 drives.
      sudo mdadm --detail --scan
      ARRAY /dev/md0 metadata=0.90 bitmap=/media/intent.bin UUID=xxx


      I'm on Ubuntu 18.04.1 LTS



      4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 GNU/Linux



      mdadm - v4.1-rc1 - 2018-03-22







      mdadm





      share












      share










      share



      share










      asked 6 mins ago









      Diego

      1033




      1033

























          active

          oldest

          votes











          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%2f475356%2fmdadm-raid-comes-up-inactive-each-reboot%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f475356%2fmdadm-raid-comes-up-inactive-each-reboot%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?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay