Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Gmirror. RAID 1

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    3 Posts 2 Posters 1.9k Views
    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.
    • V
      vovanchik
      last edited by

      There is a question about soft-raid. I'm standing on a server raid and one of the drives stopped working. We removed it from the raid and now the server writes the raid in operation with one disk and synchronization is complete. On the second drive, we installed a new version of pfsense but he was a non-working in terms of BGP and we decided to revert to the old version pfsense using raid. so we need to restore the raid back. Now the question. To restore a soft-raid whether a second disc with a new system installed just add to the raid, its all data automatically overwritten raid? or need to completely format the second drive, and only then add it to the raid? Or need to make a similar file system partitions of identical and only then add to the raid? Do not overwritten working configuration on the old one broken out of the new synchronization or gmirror automatically knows that the new drive should be cleaned and the data is transferred from the old to the new addition?
      Thanks!

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Normally it is enough to tell gmirror to forget and reinsert the NEW drive (the one you want to wipe/overwrite)

        gmirror forget gm0 /dev/ad1
        gmirror insert gm0 /dev/ad1
        

        In some cases you may want to use DD to wipe the drive manually and then do the above (or at least wipe the very start and very end of the disk)

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • V
          vovanchik
          last edited by

          Thank you.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.