<div dir="ltr">i just enlarged the sda and sdb partitions underneath /boot, which broke their raid1 association, and then learned at grub rescue that the centos7/grub2 mbr indeed looks for the raid device, not just an underlying partition, so i wonder if sda were dead if perhaps it might still just work, if all i do is tell the bios to boot sdb.<br><br><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 11, 2018 at 8:10 PM, Nathan O'Brennan <span dir="ltr"><<a href="mailto:plugaz@codezilla.xyz" target="_blank">plugaz@codezilla.xyz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>I did try this in Centos 7. My sda failed and I had to do some messing to get it to boot as degraded, however it was possible. If I remember correctly I had to switch sata cables so sdb looked like sda and I had just happened to manually install the boot onto both mbrs. In the end I put a third drive in just for the OS and boot so I could keep my raid volumes completely separated.</p>
<p>In a pinch you can also boot using Kali or something similar and manually mount the degraded array if you need to pull data off.</p><div><div class="h5">
<p><br></p>
<p>On 2018-01-11 16:07, gregrwm wrote:</p>
</div></div><blockquote type="cite" style="padding:0 0.4em;border-left:#1010ff 2px solid;margin:0"><div><div class="h5">
<div dir="ltr">
<div>
<div>
<div>my setup is sda and sdb are partitioned identically, boot is raid1/ext3, swap is raid1, root is raid1/lvm/ext4, each raid1 has a partition on sda and a partition on sdb.<br><br></div>
if sda goes south, will centos7 still boot? it won't work unless the sdb mbr points to the sdb member of /boot, which means the sdb mbr would not be an exact copy of the sda mbr.<br><br></div>
i kind of expect it to be more simpleminded and less friendly such that it will only work if sda is removed and sdb becomes addressable as sda.<br><br></div>
or perhaps the mbr is smarter than i expect and looks for a UUID, in which case it would work either way.<br>
<div>
<div><br>has anyone actually tried this in centos7?</div>
</div></div></div></div></blockquote></div></blockquote></div><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">this concludes test 42 of big bang inflation dynamics. in the advent of
an actual universe, further instructions will be provided. 000000000000000000000042<br></div></div>
</div></div></div>