Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    ZFS Mirror replacing failed Drive

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 257 Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • VioletDragonV Offline
      VioletDragon
      last edited by

      Good evening,

      Need some assistance on this situation, so I have two drives in a mirror on fw01 however one drive out of the two ada0 and ada1, ada0 has failed. Now am i right in thinking that if i use zfs replace zroot command to replace ada0 with a new SSD I have to manually install the bootloader? Or is there a better way to replace ada0. issue I have is i can't really reinstall as I can have downtime for a longer period of time.

      Regards

      Jack

      T 1 Reply Last reply Reply Quote 0
      • T Offline
        tedquade @VioletDragon
        last edited by

        @VioletDragon Take a look at the following:

        https://farrokhi.net/posts/2020/05/replacing-a-faulty-disk-in-zfs/

        I employed this method with success some time ago at the suggestion of Steve Wheeler.

        Ted

        VioletDragonV 1 Reply Last reply Reply Quote 1
        • VioletDragonV Offline
          VioletDragon @tedquade
          last edited by

          @tedquade Yep that is what I came up with, tested it in a Virtual machine. seems to work fine, looks like i am correct about the bootloader. Safer to backup.xml file too.

          stephenw10S 1 Reply Last reply Reply Quote 0
          • stephenw10S Offline
            stephenw10 Netgate Administrator @VioletDragon
            last edited by

            @VioletDragon said in ZFS Mirror replacing failed Drive:

            Safer to backup.xml file too.

            Always backup the config file! 😉

            VioletDragonV 1 Reply Last reply Reply Quote 1
            • VioletDragonV Offline
              VioletDragon @stephenw10
              last edited by

              @stephenw10 Absolutely that was the first thing I did and I'm very glad I did to that or I would be in a right mess.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
              Privacy Policy · Cookie Policy