Re: Inactive raid1 partition failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alex writes:

Hi,
I have a fedora21 system with three md RAID1 arrays. I had used this
system to temporarily access an external array connected to an LSI
controller in the system. So I inserted the LSI controller, accessed
the data on the disks connected to it, and removed the controller from
the system.

Now, all three md RAID arrays are in some type of degraded state:

# cat /proc/mdstat
Personalities : [raid1]
md2 : inactive sdb1[1](S) sdc1[4](S)
      1953519616 blocks super 1.2

md0 : active raid1 sda1[0]
      511988 blocks super 1.0 [2/1] [U_]

md1 : active raid1 sda2[0]
      237566840 blocks super 1.2 [2/1] [U_]
      bitmap: 2/2 pages [8KB], 65536KB chunk

Thankfully the system boots. The inactive array, md2, is connected to
/var/backup, so I just commented it out of /etc/fstab to get the
system to boot.

It appears the devices were somehow impacted by the LSI controller,
and now the partitions/devices have been reordered.

How do I realign these slices to rebuild the array?

The first step is to see what

mdadm --detail /dev/md0

says. Repeat for md1, et al…

Each one of your arrays is either missing a drive, or the other drive is marked as faulty.

If it's missing, use --add to add each drive to it's array. If mdadm says the drive has failed, try to --remove, then --add it back in.

Attachment: pgpYbSalOjvco.pgp
Description: PGP signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux