Skip to content

Preventing degraded array on every boot

I had a server that booted with a degraded array every time, because there was a USB drive attached to it, that messed up the auto detection. I solved it by putting this in mdadm.conf:

# This is to try to solve the problem that the array always boots as degraded when I boot the server with a USB disk attached.
# http://serverfault.com/questions/722360/debian-server-has-degraded-mdam-array-on-every-boot/
DEVICE /dev/disk/by-id/ata-*

Then run:

update-initramfs -u

I still don’t know what went wrong, though. It can plainly see what drivse should be in the array.


    1 Comment ( Add comment / trackback )

    1. (permalink) Trackback from n-silk.Jp
      On May 19, 2016 at 15:49

      n-silk.Jp

      BigSmoke » Preventing degraded array on every boot