md: kicking non-fresh sda1 from array! - fix/solution


md: Autodetecting RAID arrays.
md: autorun ...
md: considering sdb1 ...
md: adding sdb1 ...
md: adding sda1 ...
md: created md0
md: bind
md: bind
md: running:
md: kicking non-fresh sda1 from array!
md: unbind
md: export_rdev(sda1)
raid1: raid set md0 active with 1 out of 2 mirrors

The md0 raid kicked sda1 out because either I never synced it before rebooting or it was "halted" because md1 was rebuilding.

The solution is just to add it to the array so it will sync

mdadm --manage /dev/md0 --add /dev/sda1

After it syncs you'll see it shows both disks as active and up:

md0 : active raid1 sdb1[0] sda1[1]
307202816 blocks [2/2] [UU]

As you can see below, md1 was just fine:


md: autorun ...
md: considering sda1 ...
md: adding sda1 ...
md: md0 already running, cannot run sda1
md: export_rdev(sda1)
md: ... autorun DONE.
md: md1 stopped.
md: bind
md: bind
raid1: raid set md1 active with 2 out of 2 mirrors


Tags:

md, sda, array, autodetecting, raid, arrays, autorun, sdb, adding, bind, unbind, export_rdev, active, mirrors, synced, rebooting, quot, halted, rebuilding, sync, mdadm, dev, syncs, ll, disks, uu,

Latest Articles

  • CentOS 6 impossible to compile a newer libguestfs
  • chroot
  • How To Get Started on Ubuntu with gpt-2 OpenAI Text Prediction
  • Remove cloud-init in your VM
  • QEMU-KVM KVM Command Line Practical Guide
  • Linux How To Change NIC Name to eth0 instead of enps33 or enp0s25
  • virt-resize: error: libguestfs error: could not create appliance through libvirt.
  • Asterisk Does Not Retry When Authentication Fails
  • Linux Debian Ubuntu How To Install PEPPER Faster and Latest Adobe Flash Player in Firefox
  • How To Speed Up Linux Ubuntu and Debian Based Computers By Improving CPU Performance and Changing the CPU Governor
  • Convert data or file to base64 on a single line
  • Linux Mint Ubuntu Debian radeon slow 2D performance issues radeon_dp_aux_transfer_native: 158 callbacks suppressed
  • mdadm: super0.90 cannot open /dev/sdb1: Device or resource busy mdadm: /dev/sdb1 is not suitable for this array.
  • How To Install NextCloud on Centos 7 and Centos 8
  • AH01630: client denied by server configuration:
  • ERROR: Could not find a version that satisfies the requirement PIL (from versions: none) ERROR: No matching distribution found for PIL
  • ZTE Camera Cannot Work unable to connect to camera. Camera has been disabled becaue of security policies or is being used by other apps
  • QEMU KVM how to boot off a physical CD/DVD/BDROM Drive
  • How To Install OpenProject on Centos 7 Step-by-Step Guide
  • Ubuntu Debian Linux Cannot Install Wine Solution - wine1.6 : Depends: wine1.6-i386 (= 1:1.6.2-0ubuntu14.2) but it is not installable wine1.4 : Depends: wine1.6 but it is not going to be installed