Can I make a normal installation of Linux (eg. Debian 9) from single drive to raid?











up vote
0
down vote

favorite












Various server rentals are nowadays are selling servers with let's say 4 drives.. eg: 4 x 2 TB drives..



By default they install their os inside the 1st HD..



So I have



sda - with / mountpoint 64 gb ext4 partition, 4 gb swap, empty the rest
sdb - empty
sdc - empty
sdd - empty


Sadly they didn't provide a 5th drive where could install OS separately putting all the 4 drives directly in raid without mess.





I would like to know if it's possible to:



1) Convert my existing debian 9 installation inside sda to a raid 1 spanned across the 4 drives in order to increase read performances



So my installation would turn in something like:



sda - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, empty the rest
sdb - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, empty the rest
sdc - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, empty the rest
sdd - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, empty the rest


2) Then create a raid 10 with all the remaining partitions free space obtaining



sda - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, RAID 10 sda,sdb,sdc,sdd( with /raid_space mountpoint ext4 partition with remaining space )
sdb - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, RAID 10 sda,sdb,sdc,sdd( with /raid_space mountpoint ext4 partition with remaining space )
sdc - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, RAID 10 sda,sdb,sdc,sdd( with /raid_space mountpoint ext4 partition with remaining space )
sdd - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, RAID 10 sda,sdb,sdc,sdd( with /raid_space mountpoint ext4 partition with remaining space )


I wonder how to do this and how to copy perfectly and sync the sdb, sdc, sdd to sda for the first raid1 partition after that the 1) raid 1 is created and make it bootable.










share|improve this question


























    up vote
    0
    down vote

    favorite












    Various server rentals are nowadays are selling servers with let's say 4 drives.. eg: 4 x 2 TB drives..



    By default they install their os inside the 1st HD..



    So I have



    sda - with / mountpoint 64 gb ext4 partition, 4 gb swap, empty the rest
    sdb - empty
    sdc - empty
    sdd - empty


    Sadly they didn't provide a 5th drive where could install OS separately putting all the 4 drives directly in raid without mess.





    I would like to know if it's possible to:



    1) Convert my existing debian 9 installation inside sda to a raid 1 spanned across the 4 drives in order to increase read performances



    So my installation would turn in something like:



    sda - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, empty the rest
    sdb - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, empty the rest
    sdc - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, empty the rest
    sdd - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, empty the rest


    2) Then create a raid 10 with all the remaining partitions free space obtaining



    sda - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, RAID 10 sda,sdb,sdc,sdd( with /raid_space mountpoint ext4 partition with remaining space )
    sdb - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, RAID 10 sda,sdb,sdc,sdd( with /raid_space mountpoint ext4 partition with remaining space )
    sdc - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, RAID 10 sda,sdb,sdc,sdd( with /raid_space mountpoint ext4 partition with remaining space )
    sdd - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, RAID 10 sda,sdb,sdc,sdd( with /raid_space mountpoint ext4 partition with remaining space )


    I wonder how to do this and how to copy perfectly and sync the sdb, sdc, sdd to sda for the first raid1 partition after that the 1) raid 1 is created and make it bootable.










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Various server rentals are nowadays are selling servers with let's say 4 drives.. eg: 4 x 2 TB drives..



      By default they install their os inside the 1st HD..



      So I have



      sda - with / mountpoint 64 gb ext4 partition, 4 gb swap, empty the rest
      sdb - empty
      sdc - empty
      sdd - empty


      Sadly they didn't provide a 5th drive where could install OS separately putting all the 4 drives directly in raid without mess.





      I would like to know if it's possible to:



      1) Convert my existing debian 9 installation inside sda to a raid 1 spanned across the 4 drives in order to increase read performances



      So my installation would turn in something like:



      sda - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, empty the rest
      sdb - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, empty the rest
      sdc - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, empty the rest
      sdd - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, empty the rest


      2) Then create a raid 10 with all the remaining partitions free space obtaining



      sda - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, RAID 10 sda,sdb,sdc,sdd( with /raid_space mountpoint ext4 partition with remaining space )
      sdb - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, RAID 10 sda,sdb,sdc,sdd( with /raid_space mountpoint ext4 partition with remaining space )
      sdc - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, RAID 10 sda,sdb,sdc,sdd( with /raid_space mountpoint ext4 partition with remaining space )
      sdd - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, RAID 10 sda,sdb,sdc,sdd( with /raid_space mountpoint ext4 partition with remaining space )


      I wonder how to do this and how to copy perfectly and sync the sdb, sdc, sdd to sda for the first raid1 partition after that the 1) raid 1 is created and make it bootable.










      share|improve this question













      Various server rentals are nowadays are selling servers with let's say 4 drives.. eg: 4 x 2 TB drives..



      By default they install their os inside the 1st HD..



      So I have



      sda - with / mountpoint 64 gb ext4 partition, 4 gb swap, empty the rest
      sdb - empty
      sdc - empty
      sdd - empty


      Sadly they didn't provide a 5th drive where could install OS separately putting all the 4 drives directly in raid without mess.





      I would like to know if it's possible to:



      1) Convert my existing debian 9 installation inside sda to a raid 1 spanned across the 4 drives in order to increase read performances



      So my installation would turn in something like:



      sda - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, empty the rest
      sdb - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, empty the rest
      sdc - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, empty the rest
      sdd - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, empty the rest


      2) Then create a raid 10 with all the remaining partitions free space obtaining



      sda - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, RAID 10 sda,sdb,sdc,sdd( with /raid_space mountpoint ext4 partition with remaining space )
      sdb - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, RAID 10 sda,sdb,sdc,sdd( with /raid_space mountpoint ext4 partition with remaining space )
      sdc - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, RAID 10 sda,sdb,sdc,sdd( with /raid_space mountpoint ext4 partition with remaining space )
      sdd - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, RAID 10 sda,sdb,sdc,sdd( with /raid_space mountpoint ext4 partition with remaining space )


      I wonder how to do this and how to copy perfectly and sync the sdb, sdc, sdd to sda for the first raid1 partition after that the 1) raid 1 is created and make it bootable.







      linux hard-drive partitioning debian raid






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 14 at 12:05









      user3450548

      1245




      1245



























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1375293%2fcan-i-make-a-normal-installation-of-linux-eg-debian-9-from-single-drive-to-ra%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          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%2fsuperuser.com%2fquestions%2f1375293%2fcan-i-make-a-normal-installation-of-linux-eg-debian-9-from-single-drive-to-ra%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Probability when a professor distributes a quiz and homework assignment to a class of n students.

          Aardman Animations

          Are they similar matrix