How to convert one-disk zfs pool into two-disk RAID1 pool?How to replace a disk in a non-redundant ZFS...

Did the CIA blow up a Siberian pipeline in 1982?

Do I have any obligations to my PhD supervisor's requests after I have graduated?

How can I politely work my way around not liking coffee or beer when it comes to professional networking?

Why don't countries like Japan just print more money?

Understanding the reasoning of the woman who agreed with King Solomon to "cut the baby in half"

Why is it recommended to mix yogurt starter with a small amount of milk before adding to the entire batch?

How would modern naval warfare have to have developed differently for battleships to still be relevant in the 21st century?

Loss of power when I remove item from the outlet

What is the meaning of "понаехать"?

Is it damaging to turn off a small fridge for two days every week?

Impossible darts scores

Should developer taking test phones home or put in office?

How large would a mega structure have to be to host 1 billion people indefinitely?

Output of "${OSTYPE:6}" on old releases of Mac OS X

Count All Possible Unique Combinations of Letters in a Word

Is it illegal to withhold someone's passport and green card in California?

Inaccessible base class despite friendship

Do I have to explain the mechanical superiority of the player-character within the fiction of the game?

Can you find x?

How does DC work with natural 20?

Would it be a copyright violation if I made a character’s full name refer to a song?

What's currently blocking the construction of the wall between Mexico and the US?

Can someone suggest a path to study Mordell-Weil theorem for someone studying on their own?

How to remove this component from PCB



How to convert one-disk zfs pool into two-disk RAID1 pool?


How to replace a disk in a non-redundant ZFS pool?What's an effective offsite backup strategy for a ZFS mirrored pool?How to import ZFS pool with different configurationChecking for a failed drive in a ZFS poolReplacing a failed disk in a ZFS poolStruggling to remove a faulted ZFS pool on Centos 7 using zpoolRecreate zfs pool for a reinstalled osZFS on Linux after update falsely claims that pool is damagedReplacing disk when using FreeBSD ZFS zroot (ZFS on partition)?ZFS Mirror over one large disk and a RAID0 of two small disks






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I have a one-drive zfs pool named data on my desktop computer, created with something like zpool create data /dev/mapper/data (zfs on luks). I would like to convert it into a raid1 pool, but only have 1 more drive to play with, and one more slot in my machine.



Can I somehow tell zfs to convert my data pool into a mirror, using the new drive as the 2nd drive in the set?



If that is not possible, is there a way to create a new degraded mirror pool using just the new drive (since I don't have a 2nd drive yet)? That would give me a chance to copy my data from the old pool into the new mirror pool, then add the original drive to the new pool.










share|improve this question







New contributor



user1522091 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    0















    I have a one-drive zfs pool named data on my desktop computer, created with something like zpool create data /dev/mapper/data (zfs on luks). I would like to convert it into a raid1 pool, but only have 1 more drive to play with, and one more slot in my machine.



    Can I somehow tell zfs to convert my data pool into a mirror, using the new drive as the 2nd drive in the set?



    If that is not possible, is there a way to create a new degraded mirror pool using just the new drive (since I don't have a 2nd drive yet)? That would give me a chance to copy my data from the old pool into the new mirror pool, then add the original drive to the new pool.










    share|improve this question







    New contributor



    user1522091 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      0












      0








      0








      I have a one-drive zfs pool named data on my desktop computer, created with something like zpool create data /dev/mapper/data (zfs on luks). I would like to convert it into a raid1 pool, but only have 1 more drive to play with, and one more slot in my machine.



      Can I somehow tell zfs to convert my data pool into a mirror, using the new drive as the 2nd drive in the set?



      If that is not possible, is there a way to create a new degraded mirror pool using just the new drive (since I don't have a 2nd drive yet)? That would give me a chance to copy my data from the old pool into the new mirror pool, then add the original drive to the new pool.










      share|improve this question







      New contributor



      user1522091 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I have a one-drive zfs pool named data on my desktop computer, created with something like zpool create data /dev/mapper/data (zfs on luks). I would like to convert it into a raid1 pool, but only have 1 more drive to play with, and one more slot in my machine.



      Can I somehow tell zfs to convert my data pool into a mirror, using the new drive as the 2nd drive in the set?



      If that is not possible, is there a way to create a new degraded mirror pool using just the new drive (since I don't have a 2nd drive yet)? That would give me a chance to copy my data from the old pool into the new mirror pool, then add the original drive to the new pool.







      linux zfs






      share|improve this question







      New contributor



      user1522091 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question







      New contributor



      user1522091 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question






      New contributor



      user1522091 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 1 hour ago









      user1522091user1522091

      1




      1




      New contributor



      user1522091 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      user1522091 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.
























          0






          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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
          });


          }
          });






          user1522091 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f525950%2fhow-to-convert-one-disk-zfs-pool-into-two-disk-raid1-pool%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          user1522091 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          user1522091 is a new contributor. Be nice, and check out our Code of Conduct.













          user1522091 is a new contributor. Be nice, and check out our Code of Conduct.












          user1522091 is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f525950%2fhow-to-convert-one-disk-zfs-pool-into-two-disk-raid1-pool%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

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...