ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    How does MDADM deal with a sudden power loss

    IT Discussion
    4
    5
    932
    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.
    • DustinB3403D
      DustinB3403
      last edited by

      So the question was raised here and without the obvious retort of "have the server on a damned UPS" I'm curious what the actual answer is.

      How does MDADM deal with a sudden power loss?

      1 Reply Last reply Reply Quote 1
      • J
        Jason Banned
        last edited by

        There is no correct answer here. It will depend on a lot of things. Size of files been written, speed of drives etc. You could have slight data loss. More data being written and the slower the drives the greater the chance of more data loss or corruption.

        1 Reply Last reply Reply Quote 3
        • StrongBadS
          StrongBad
          last edited by

          UPS is indeed the answer. Software RAID trusts that you will take the effort to protect the power supply externally rather than internally. It's always been the nature of enterprise software RAID to push that responsibility to the physical server admins to make sure that that power is reliable or the power down happens gracefully before things fail.

          1 Reply Last reply Reply Quote 4
          • StrongBadS
            StrongBad
            last edited by

            Hardware RAID traditionally handles this by having a tiny UPS on the hardware card itself or having stateful storage caches to buffer against the outage.

            1 Reply Last reply Reply Quote 0
            • RomoR
              Romo
              last edited by

              @scottalanmiller could enabling write-intent-bitmaps help with the sudden power loss in a mdadm array? If enabled they would probably cause a big impact in performance but could they help?

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post