Zfs send snapshot to different server with different layout

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











up vote
0
down vote

favorite












So i am eother missing this use case, or its never come up, or it works fine and i havent treid it yet.



But i have two servers, and i want one to be the backup server of main server.



I moved disks arounds and it looking like main will be raidz1 and backup will be raidz2.



I was wondering if anyone knows if i can send a snapshot from main to backup even though they use different raidz levels.



Thank you in advance for any feedback, or opinion that you may have



has anyone tried this?










share|improve this question

























    up vote
    0
    down vote

    favorite












    So i am eother missing this use case, or its never come up, or it works fine and i havent treid it yet.



    But i have two servers, and i want one to be the backup server of main server.



    I moved disks arounds and it looking like main will be raidz1 and backup will be raidz2.



    I was wondering if anyone knows if i can send a snapshot from main to backup even though they use different raidz levels.



    Thank you in advance for any feedback, or opinion that you may have



    has anyone tried this?










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      So i am eother missing this use case, or its never come up, or it works fine and i havent treid it yet.



      But i have two servers, and i want one to be the backup server of main server.



      I moved disks arounds and it looking like main will be raidz1 and backup will be raidz2.



      I was wondering if anyone knows if i can send a snapshot from main to backup even though they use different raidz levels.



      Thank you in advance for any feedback, or opinion that you may have



      has anyone tried this?










      share|improve this question













      So i am eother missing this use case, or its never come up, or it works fine and i havent treid it yet.



      But i have two servers, and i want one to be the backup server of main server.



      I moved disks arounds and it looking like main will be raidz1 and backup will be raidz2.



      I was wondering if anyone knows if i can send a snapshot from main to backup even though they use different raidz levels.



      Thank you in advance for any feedback, or opinion that you may have



      has anyone tried this?







      linux ubuntu zfs snapshot






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 8 at 16:21









      Tom

      132




      132




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          Yes. This is well within the send/receive parameters. You can send from any layout (stripe, mirror, raidzN) to any other layout.






          share|improve this answer




















          • Awesome! Thank you so much for clearifying :) is there something i have to tell it, or will it do it automatically?
            – Tom
            Aug 9 at 1:28











          • It's all automatic. The "zfs recv" code will write the sent blocks to the new pool with the correct layout. (I could go into great technical detail if you like, but it might get boring)
            – mmusante
            Aug 9 at 1:34










          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%2f461317%2fzfs-send-snapshot-to-different-server-with-different-layout%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



          accepted










          Yes. This is well within the send/receive parameters. You can send from any layout (stripe, mirror, raidzN) to any other layout.






          share|improve this answer




















          • Awesome! Thank you so much for clearifying :) is there something i have to tell it, or will it do it automatically?
            – Tom
            Aug 9 at 1:28











          • It's all automatic. The "zfs recv" code will write the sent blocks to the new pool with the correct layout. (I could go into great technical detail if you like, but it might get boring)
            – mmusante
            Aug 9 at 1:34














          up vote
          0
          down vote



          accepted










          Yes. This is well within the send/receive parameters. You can send from any layout (stripe, mirror, raidzN) to any other layout.






          share|improve this answer




















          • Awesome! Thank you so much for clearifying :) is there something i have to tell it, or will it do it automatically?
            – Tom
            Aug 9 at 1:28











          • It's all automatic. The "zfs recv" code will write the sent blocks to the new pool with the correct layout. (I could go into great technical detail if you like, but it might get boring)
            – mmusante
            Aug 9 at 1:34












          up vote
          0
          down vote



          accepted







          up vote
          0
          down vote



          accepted






          Yes. This is well within the send/receive parameters. You can send from any layout (stripe, mirror, raidzN) to any other layout.






          share|improve this answer












          Yes. This is well within the send/receive parameters. You can send from any layout (stripe, mirror, raidzN) to any other layout.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Aug 9 at 1:18









          mmusante

          53225




          53225











          • Awesome! Thank you so much for clearifying :) is there something i have to tell it, or will it do it automatically?
            – Tom
            Aug 9 at 1:28











          • It's all automatic. The "zfs recv" code will write the sent blocks to the new pool with the correct layout. (I could go into great technical detail if you like, but it might get boring)
            – mmusante
            Aug 9 at 1:34
















          • Awesome! Thank you so much for clearifying :) is there something i have to tell it, or will it do it automatically?
            – Tom
            Aug 9 at 1:28











          • It's all automatic. The "zfs recv" code will write the sent blocks to the new pool with the correct layout. (I could go into great technical detail if you like, but it might get boring)
            – mmusante
            Aug 9 at 1:34















          Awesome! Thank you so much for clearifying :) is there something i have to tell it, or will it do it automatically?
          – Tom
          Aug 9 at 1:28





          Awesome! Thank you so much for clearifying :) is there something i have to tell it, or will it do it automatically?
          – Tom
          Aug 9 at 1:28













          It's all automatic. The "zfs recv" code will write the sent blocks to the new pool with the correct layout. (I could go into great technical detail if you like, but it might get boring)
          – mmusante
          Aug 9 at 1:34




          It's all automatic. The "zfs recv" code will write the sent blocks to the new pool with the correct layout. (I could go into great technical detail if you like, but it might get boring)
          – mmusante
          Aug 9 at 1:34

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f461317%2fzfs-send-snapshot-to-different-server-with-different-layout%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