mdadm "auto-read-only" Linux Software RAID solution

If you have the "(auto-read-only)" beside an arrayI have no idea why that happens but it is easy to fix.

Just run "mdadm --readwrite /dev/md1" (rename md0 to the device with the problem and it will begin to resync.

md1 : active (auto-read-only) raid1 sdb2[0] sda2[1]
19534976 blocks [2/2] [UU]
resync=PENDING

md0 : active raid1 sda1[2] sdb1[0]
488287488 blocks [2/1] [U_]
[>....................] recovery = 1.9% (9341504/488287488) finish=302.1min speed=26421K/sec

unused devices:
# cat /proc/mdstat
# mdadm --readwrite /dev/md1
# cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sdb2[0] sda2[1]
19534976 blocks [2/2] [UU]
resync=DELAYED
md0 : active raid1 sda1[2] sdb1[0]
488287488 blocks [2/1] [U_]
[>....................] recovery = 1.9% (9677184/488287488) finish=302.5min speed=26368K/sec

unused devices:


Tags:

mdadm, auto, linux, software, raid, solutionif, quot, array, readwrite, dev, md, rename, resync, active, sdb, sda, uu, pending, u_, min, unused, devices, proc, mdstat, personalities, delayed,

Latest Articles

  • Wordpress overwrites and wipes out custom htaccess rules and changes soluton
  • Apache htaccess and mod_rewrite how to redirect and force all URLs and visitors to the SSL / HTTPS version
  • python 3 pip cannot install mysql module
  • QEMU-KVM won't boot Windows 2016 or 2019 server on an Intel Core i3
  • Virtualbox vbox not starting "No suitable module for running kernel found"
  • Bind / named not responding to queries solution
  • Linux Mint How To Set Desktop Background Image From Bash Prompt CLI
  • ImageMagick Convert PDF Not Authorized
  • ImageMagick Converted PDF to JPEG some files have a black background solution
  • Linux Mint Mate Customize the Lock screen messages and hide username and real name
  • Ubuntu/Gnome/Mint/Centos How To Take a partial screenshot
  • ssh how to verify your host key / avoid MIM attacks
  • Cisco IP Phone CP-8845 8800/8900 Series How To Reset To Factory Settings Instructions
  • ls how to list ONLY directories
  • How to encrypt your SSH private key file id_rsa
  • Linux Mint 18 Disable User Name List from showing on Login Screen
  • Firefox Cannot Hit Enter Key In Address Bar and Location History Not Working
  • Cisco Unified Communications Manager / CUCM IP 8.6,10,12 Install Error Solution
  • Ubuntu Debian Mint Linux SSHD OpenSSH Server Not Starting After Reboot Solution
  • nmap how to scan for all ports and not just the 1000 most common ports