Raid 1 breaks every time I reboot. Having trouble rebuilding it.
I'm kind of tired of having to wipe this machine and reload it every single time I need to reboot it.
I'm running Mint 18.1 64bit with a RAID 1 of two 1.5TB hard drives. They are set up in a mirror with an Intel RAID controller that is built onto the motherboard. Every time I reboot it goes into a "Rebuild" state saying it has to be rebuilt in the OS. dmraid -s says. Code:
ERROR: isw: Could not find disk /dev/sdb in the metadata Code:
sudo dmsetup status I've tried looking up online how to rebuild this RAID but keep running into a dead end with that metadata issue. Just trying to avoid another reload that will take an entire day to do. |
I think I need a bit more information.
Can I assume you have a hardware based raid controller and that you created the array within the raid bios? Then you created some sort of lvm or mdadm on that? I hope you are not using dmsetup to create the raid. https://wiki.gentoo.org/wiki/Device-mapper#Mirror |
It is set up in the bios with lvm.
|
Quote:
Unless you are dual booting with Windows you should simply use mdadm software RAID as it is far easier to set up and manage. I setup a RAID1 with two drives and put lvm on top two years ago and it wasn't that difficult. There is no metadata issue with mdadm. The problem you are having is apparently normal. Unless you build such a setup with metadata it needs to be rebuilt at every reboot. The following pages from the Arch and Gentoo Wikis explain the issues. Mdadm is much simpler and suffers no performance hit. https://wiki.archlinux.org/index.php...with_Fake_RAID https://wiki.gentoo.org/wiki/Device-mapper#RAID1 |
All times are GMT -5. The time now is 05:41 AM. |